.elementor-29979 .elementor-element.elementor-element-d1e7692{--display:flex;--flex-direction:column;--container-widget-width:100%;--container-widget-height:initial;--container-widget-flex-grow:0;--container-widget-align-self:initial;--flex-wrap-mobile:wrap;--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:0px;--padding-left:0px;--padding-right:0px;}.elementor-29979 .elementor-element.elementor-element-d1e7692:not(.elementor-motion-effects-element-type-background), .elementor-29979 .elementor-element.elementor-element-d1e7692 > .elementor-motion-effects-container > .elementor-motion-effects-layer{background-color:#FFFFFF;}.elementor-theme-builder-content-area{height:400px;}.elementor-location-header:before, .elementor-location-footer:before{content:"";display:table;clear:both;}@media(max-width:767px){.elementor-29979 .elementor-element.elementor-element-d1e7692{--margin-top:0px;--margin-bottom:0px;--margin-left:0px;--margin-right:0px;--padding-top:0px;--padding-bottom:24px;--padding-left:0px;--padding-right:0px;}.elementor-29979 .elementor-element.elementor-element-3fbe7be > .elementor-widget-container{margin:-11px 0px 0px 0px;}.elementor-29979 .elementor-element.elementor-element-65b51a8 > .elementor-widget-container{padding:0px 0px 47px 0px;}}/* Start custom CSS for html, class: .elementor-element-65b51a8 */:root {
            --grad-start: #7B1F24;
            --grad-end: #4A0F30;
            --txt-light: #ddd;
            --txt-muted: #ccc;
            --accent: #ffb999;
            --border: rgba(255,255,255,.25);
            /* فونت‌ها را بر اساس فونت قالب خود تنظیم کنید */
            --font-main: 'iranyekan', 'IRANSansX', 'Vazirmatn', system-ui, -apple-system, sans-serif;
        }

        body {
            margin: 0;
            font-family: var(--font-main);
        }

        .footer {
            direction: rtl;
            position: relative;
            min-height: 350px;
            background: linear-gradient(145deg, var(--grad-start), var(--grad-end));
            color: var(--txt-light);
            font-family: var(--font-main);
            padding: 3rem 1rem 2rem 1rem;
            overflow: hidden;
            box-sizing: border-box;
        }

        /* اصلاح پترن پس‌زمینه طبق درخواست شماره 6 */
        .footer::before {
            content: "";
            position: absolute;
            inset: 0;
            z-index: 0;
            pointer-events: none;
            opacity: 0.5; /* شفافیت بسیار کم */
            background-image: url('https://atabakhshdairy.com/wp-content/uploads/2025/12/Frame-1000001545-12-copy.webp');
            background-repeat: repeat;
            background-size: 300px; /* سایز پترن برای نمایش بهتر */
            mix-blend-mode: overlay;
        }

        /* لایه سایه برای عمق دهی */
        .footer::after {
            content: "";
            position: absolute;
            inset: 0;
            pointer-events: none;
            opacity: .12;
            mix-blend-mode: soft-light;
            background:
                radial-gradient(1200px 600px at 20% -10%, rgba(255,255,255,.18), transparent 60%),
                radial-gradient(900px 500px at 85% 110%, rgba(255,255,255,.12), transparent 62%);
            z-index: 0;
        }

        .footer * {
            box-sizing: border-box;
        }

        .footer :where(p, a, li, button, span, summary, h4) {
            font-family: var(--font-main);
            letter-spacing: 0;
        }

        .footer h4 {
            font-weight: 700;
        }

        .footer p, .footer a, .footer li, .footer button {
            font-weight: 300 !important;
            line-height: 1.8;
        }

        .footer-container {
            position: relative;
            z-index: 1;
            max-width: 1240px;
            margin: auto;
            display: flex;
            flex-wrap: wrap;
            gap: 2rem 2.5rem;
            justify-content: space-between;
            align-items: flex-start;
        }

        .footer-col {
            flex: 1 1 260px;
            max-width: 320px;
            min-width: 210px;
            background: rgba(255, 255, 255, .02);
            border: 1px solid rgba(255, 255, 255, .07);
            border-radius: 1rem;
            padding: 1.6rem 1.2rem;
            box-shadow: 0 0 10px rgba(0, 0, 0, .08);
            transition: transform .35s, box-shadow .35s;
            display: flex;
            flex-direction: column;
            gap: 1rem;
            /* انیمیشن ورود */
            opacity: 0;
            transform: translateY(30px);
        }

        .footer-col.in-view {
            opacity: 1;
            transform: translateY(0);
        }

        .footer-col:hover {
            transform: translateY(-6px);
            box-shadow: 0 12px 26px rgba(0, 0, 0, .25);
            background: rgba(255, 255, 255, .04);
        }

        .footer-col h4 {
            font-size: 1.1rem;
            color: #fff;
            margin: 0 0 .6rem;
            position: relative;
            padding-bottom: 8px;
        }

        .footer-col h4::after {
            content: "";
            position: absolute;
            right: 0;
            bottom: 0;
            width: 40px;
            height: 3px;
            background: var(--accent);
            border-radius: 6px;
        }

        /* برند و لوگو */
        .footer-brand {
            text-align: center;
        }

        .footer-brand img {
            max-width: 155px;
            border-radius: 8px;
            transition: transform .4s, opacity .4s;
            margin-inline: auto;
            margin-bottom: .8rem;
        }

        .footer-brand a:hover img {
            transform: scale(1.05);
            opacity: .9;
        }

        .tagline {
            color: var(--txt-muted);
            font-size: .95rem;
            text-align: justify;
            font-weight: 300;
            margin-bottom: 0;
        }

        /* اطلاعات تماس */
        .footer-contact p {
            margin: .3rem 0;
            display: flex;
            align-items: flex-start; /* تغییر به flex-start برای متن‌های چند خطی مثل آدرس */
            gap: .55rem;
            font-size: 1rem;
            font-weight: 300 !important;
        }

        .footer-contact .contact-icon {
            display: inline-block;
            font-size: 1.1em;
            color: var(--accent);
            min-width: 1.2em;
            text-align: center;
            margin-top: 5px; /* تنظیم تراز آیکون با متن */
            flex-shrink: 0;
        }

        .footer-contact a[href^="tel"],
        .footer-contact a[href^="mailto"] {
            color: #ffd373;
            font-weight: 400 !important;
            text-decoration: none;
            transition: color .25s;
            direction: ltr;
            unicode-bidi: plaintext;
            word-break: break-all;
            display: inline-block;
        }

        /* اصلاح شماره 5: کوچک کردن سایز ایمیل */
        .footer-contact a[href^="mailto"] {
            font-size: 0.9em; 
            letter-spacing: 0.5px;
        }

        .footer-contact a[href^="tel"]:hover,
        .footer-contact a[href^="mailto"]:hover {
            color: #fff;
            text-decoration: underline;
        }
        
        /* استایل خاص برای آدرس */
        .address-text {
            line-height: 1.6;
        }

        .hours-support {
            color: var(--txt-muted);
            font-size: .93rem;
            margin-top: .5rem;
            font-weight: 300 !important;
            border-top: 1px solid rgba(255,255,255,0.1);
            padding-top: 0.5rem;
        }

        /* لینک‌های مهم */
        .footer-links ul {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            gap: .5rem;
        }

        .footer-links li {
            position: relative;
            padding-right: 1.2em;
            font-weight: 300 !important;
        }

        .footer-links li::before {
            content: "●";
            position: absolute;
            right: 0;
            top: 2px;
            font-size: 0.8em;
            color: var(--txt-muted);
        }

        .footer-links a {
            color: var(--txt-muted);
            text-decoration: none;
            transition: color .25s, padding-right .25s;
            font-weight: 300 !important;
        }

        .footer-links a:hover {
            color: #fff;
            padding-right: 4px;
            text-shadow: 0 0 5px rgba(255,255,255,0.3);
        }

        /* دکمه‌ها و شبکه اجتماعی */
        .footer-extra {
            align-items: center; /* تراز وسط برای ستون آخر */
            text-align: center;
        }

        .catalog-btn {
            display: inline-block;
            margin-bottom: 1.5rem;
            padding: .75rem 1.6rem;
            border-radius: 50px;
            background: var(--accent);
            color: var(--grad-end);
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 4px 10px rgba(0, 0, 0, .25);
            transition: all .3s ease;
            width: 100%;
            text-align: center;
        }

        .catalog-btn:hover {
            background: #fff;
            color: var(--grad-end);
            transform: translateY(-3px);
            box-shadow: 0 6px 15px rgba(0, 0, 0, .3);
        }

        .social-icons {
            text-align: center;
            display: flex;
            justify-content: center;
            gap: 1.2rem;
            flex-wrap: wrap;
            margin-bottom: 1rem;
        }

        .social-icons a {
            color: var(--accent);
            font-size: 1.6rem;
            transition: transform .3s, color .3s;
            display: flex;
            align-items: center;
            justify-content: center;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            background: rgba(255,255,255,0.05);
        }

        .social-icons a:hover {
            color: #fff;
            background: rgba(255,255,255,0.15);
            transform: scale(1.1) rotate(5deg);
        }
        
        
        /* برای تضمین نمایش ابعاد آیکون‌های SVG */
.social-icons a svg {
    width: 1.6rem; /* متناسب با font-size قبلی */
    height: 1.6rem;
    display: block; /* برای مدیریت بهتر ابعاد */
}

        /* اصلاح شماره 4: رنگ دکمه مسیریابی */
        .map-cta {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            gap: .6rem;
            margin-top: .6rem;
            padding: .7rem 1.1rem;
            border-radius: 14px;
            /* شفافیت کمتر پس زمینه برای کنتراست بیشتر */
            background: rgba(255, 255, 255, .15); 
            backdrop-filter: blur(5px);
            -webkit-backdrop-filter: blur(5px);
            border: 1px solid rgba(255, 255, 255, .4);
            /* رنگ سفید با اولویت بالا */
            color: #ffffff !important; 
            font-weight: 700;
            text-decoration: none;
            box-shadow: 0 4px 15px rgba(0, 0, 0, .2);
            transition: all .2s;
            width: 100%;
        }

        .map-cta:visited {
            color: #ffffff !important;
        }

        .map-cta:hover {
            background: rgba(255, 255, 255, .25);
            transform: translateY(-2px);
            border-color: #fff;
        }

        .map-cta i {
            font-size: 1.1rem;
        }

        .footer-bottom {
            margin-top: 2rem;
            border-top: 1px solid var(--border);
            padding-top: 1.5rem;
            text-align: center;
            position: relative;
            z-index: 1;
        }

        .footer-bottom p {
            color: #bbb;
            font-size: .85rem;
            margin: 0;
        }

        /* Responsive */
        @media(max-width: 992px) {
            .footer-container {
                flex-direction: column;
                gap: 2rem 0;
            }

            .footer-col {
                max-width: 100%;
                width: 100%;
                /* در موبایل انیمیشن ساده‌تر */
                transform: none !important; 
                opacity: 1 !important;
            }

            .social-icons {
                font-size: 1.35rem;
            }
        }
/* تنظیمات اجباری برای نمایش صحیح آیکون‌ها و جلوگیری از تداخل با فونت فارسی */
.fa, .fa-brands, .fa-solid, .fa-regular {
    font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 900;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
}

.fa-brands {
    font-family: "Font Awesome 6 Brands", sans-serif !important;
    font-weight: 400;
}

.fa-regular {
    font-weight: 400;
}/* End custom CSS */