/* ===========================
   ریست و فونت پایه
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    direction: rtl;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

/* ===========================
   فوتر - بخش اصلی
   =========================== */
.site-footer {
    width: 100%;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 30px;
}

/* ===========================
   بخش بالای فوتر
   =========================== */
.footer-top {
    background-color: #2c3e50;
    padding: 45px 0 40px;
}

.footer-top .footer-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
}

/* ستون اصلی (توضیحات) */
.footer-col-about {
    flex: 2.5;
    min-width: 320px;
}

/* ستون‌های دیگر */
.footer-col-categories,
.footer-col-products,
.footer-col-pages {
    flex: 1;
    min-width: 150px;
}

/* ===========================
   عنوان‌های فوتر
   =========================== */
.footer-title {
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 25px;
    padding-bottom: 15px;
    position: relative;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    width: 50px;
    height: 2px;
    background-color: #e67e22;
    border-radius: 2px;
}

.footer-title-main {
    font-size: 20px;
    color: #e67e22;
    font-weight: 800;
}

.footer-title-main::after {
    display: none;
}

/* ===========================
   توضیحات فوتر
   =========================== */
.footer-description {
    color: #bdc3c7;
    font-size: 13.5px;
    line-height: 2;
    text-align: justify;
    margin-bottom: 25px;
}

/* ===========================
   شماره تماس‌ها
   =========================== */
.footer-phones {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
}

.phone-box {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 2px solid #e67e22;
    border-radius: 8px;
    padding: 10px 25px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    direction: ltr;
}

.phone-box:hover {
    background-color: #e67e22;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

.phone-box span:first-child {
    direction: rtl;
}

.phone-number {
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* ===========================
   لینک‌های فوتر
   =========================== */
.footer-links li {
    margin-bottom: 14px;
}

.footer-links li a {
    color: #bdc3c7;
    font-size: 14px;
    font-weight: 400;
    transition: all 0.3s ease;
    position: relative;
    padding-right: 0;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    right: -15px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 2px;
    background-color: #e67e22;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.footer-links li a:hover {
    color: #e67e22;
    padding-right: 20px;
}

.footer-links li a:hover::before {
    width: 12px;
    right: 0;
}

/* ===========================
   دکمه ارسال درخواست
   =========================== */
.footer-submit-btn {
    margin-top: 25px;
}

.btn-submit {
    display: inline-block;
    border: 2px solid #bdc3c7;
    border-radius: 8px;
    padding: 10px 30px;
    color: #ffffff;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Vazirmatn', 'Tahoma', sans-serif;
    transition: all 0.3s ease;
    cursor: pointer;
    background: transparent;
}

.btn-submit:hover {
    background-color: #e67e22;
    border-color: #e67e22;
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(230, 126, 34, 0.3);
}

/* ===========================
   بخش پایین فوتر (کپی رایت)
   =========================== */
.footer-bottom {
    background-color: #1a252f;
    padding: 18px 0;
}

.footer-bottom-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 15px;
}

/* آیکون‌های شبکه اجتماعی */
.footer-social {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 1;
}

.social-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    border: 2px solid #7f8c8d;
    border-radius: 6px;
    color: #bdc3c7;
    font-size: 16px;
    transition: all 0.3s ease;
}

.social-icon:hover {
    border-color: #e67e22;
    color: #e67e22;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(230, 126, 34, 0.25);
}

/* ایمیل‌ها */
.footer-emails {
    display: flex;
    align-items: center;
    gap: 10px;
    order: 2;
}

.footer-emails a {
    color: #bdc3c7;
    font-size: 13px;
    direction: ltr;
    transition: color 0.3s ease;
}

.footer-emails a:hover {
    color: #e67e22;
}

.footer-emails .separator {
    color: #7f8c8d;
    font-size: 14px;
}

/* کپی رایت */
.footer-copyright {
    order: 3;
}

.footer-copyright p {
    color: #95a5a6;
    font-size: 13px;
}

.copyright-brand {
    color: #e67e22;
    font-weight: 700;
}

/* ===========================
   ریسپانسیو
   =========================== */

/* تبلت */
@media (max-width: 1024px) {
    .footer-col-about {
        flex: 100%;
    }

    .footer-col-categories,
    .footer-col-products,
    .footer-col-pages {
        flex: 1;
        min-width: 140px;
    }
}

/* موبایل بزرگ */
@media (max-width: 768px) {
    .footer-top .footer-container {
        flex-direction: column;
        gap: 35px;
    }

    .footer-col-about,
    .footer-col-categories,
    .footer-col-products,
    .footer-col-pages {
        flex: 100%;
        min-width: 100%;
    }

    .footer-title {
        font-size: 15px;
        margin-bottom: 18px;
        padding-bottom: 12px;
    }

    .footer-title-main {
        font-size: 17px;
        text-align: center;
    }

    .footer-description {
        font-size: 13px;
        text-align: center;
    }

    .footer-phones {
        justify-content: center;
    }

    .phone-box {
        padding: 8px 18px;
        font-size: 13px;
    }

    /* بخش پایین فوتر */
    .footer-bottom-inner {
        flex-direction: column;
        text-align: center;
    }

    .footer-social {
        order: 1;
        justify-content: center;
    }

    .footer-emails {
        order: 2;
        flex-direction: column;
        gap: 5px;
    }

    .footer-emails .separator {
        display: none;
    }

    .footer-copyright {
        order: 3;
    }
}

/* موبایل کوچک */
@media (max-width: 480px) {
    .footer-container {
        padding: 0 15px;
    }

    .footer-top {
        padding: 30px 0;
    }

    .footer-title-main {
        font-size: 15px;
    }

    .phone-box {
        width: 100%;
        justify-content: center;
        padding: 10px 15px;
    }

    .footer-phones {
        flex-direction: column;
    }

    .btn-submit {
        width: 100%;
        text-align: center;
    }

    .social-icon {
        width: 34px;
        height: 34px;
        font-size: 14px;
    }
}
/* در فایل CSS اصلی */
.cart-btn {
    position: relative;
    background: transparent;
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 8px 12px;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-left: 10px;
}

.cart-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-2px);
}

.cart-btn i {
    font-size: 18px;
}

.cart-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    background: #ff4757;
    color: white;
    font-size: 11px;
    font-weight: bold;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}
.footer-social {
    display: flex;
    gap: 15px;
}
.social-icon svg {
    width: 24px;
    height: 24px;
}
