/* توسيط كل محتوى الفوتر */
.footer,
.footer .tp-footer-widget,
.footer .tp-footer-widget-content,
.footer .tp-footer-desc,
.footer .tp-footer-widget-title,
.footer p,
.footer ul,
.footer li,
.footer a {
    text-align: center !important;
}

/* توسيط أعمدة الفوتر */
.footer .row > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: flex-start !important;
}

/* توسيط لوجو الفوتر */
.footer img,
.footer .footer-logo img,
.footer .tp-footer-logo img {
    display: block !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* توسيط الوصف */
.footer .tp-footer-desc {
    margin-left: auto !important;
    margin-right: auto !important;
    max-width: 420px !important;
}

/* توسيط القوائم */
.footer ul {
    padding-left: 0 !important;
    padding-right: 0 !important;
    list-style: none !important;
}

/* توسيط النشرة الإخبارية */
.footer form,
.footer .newsletter,
.footer .tp-footer-newsletter {
    margin-left: auto !important;
    margin-right: auto !important;
    text-align: center !important;
}

/* توسيط حقل البريد */
.footer input {
    text-align: center !important;
    margin-left: auto !important;
    margin-right: auto !important;
}

/* الموبايل */
@media (max-width: 768px) {
    .footer .row > div {
        width: 100% !important;
        align-items: center !important;
        text-align: center !important;
    }

    .footer .tp-footer-desc {
        max-width: 90% !important;
    }
}
.footer h4,
.footer h3,
.footer .tp-footer-widget-title,
.footer .footer-widget-title {
    text-align: center !important;
    width: 100% !important;
}
/* ضبط عنوان "سياستنا" فقط */
.footer .row > div:nth-child(2) .tp-footer-widget-title {
    width: 100% !important;
    text-align: center !important;
    justify-content: center !important;
    position: relative !important;
}

/* نخلي السهم بعيد عن العنوان من غير ما يزقه */
.footer .row > div:nth-child(2) .tp-footer-widget-title i,
.footer .row > div:nth-child(2) .tp-footer-widget-title svg {
    position: absolute !important;
    left: 15px !important;
}
html,
body,
#app,
main,
main > *,
section,
.section,
.page,
.page-wrapper,
.content,
.content-wrapper,
.container-fluid,
.products-section,
.categories-section,
.product-page,
.category-page,
.cart-page,
.checkout-page,
.search-header,
.search-header-bar,
.header-theme-bg-primary,
footer,
.footer {
  background-color: #000000 !important;
}
.aigc-about .aigc-about__btn {
  display: none !important;
}
@media (max-width: 767px) {
  .products-section,
  .home-section,
  section {
    margin-top: 12px !important;
    padding-top: 12px !important;
  }
}
/* توسيط عمود اللوجو والوصف مع بعض */
.footer .tp-footer-widget {
    width: 100% !important;
    text-align: center !important;
}

/* توسيط حاوية اللوجو نفسها */
.footer .footer-logo,
.footer .tp-footer-logo,
.footer .tp-footer-widget-logo,
.footer .logo {
    width: 100% !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

/* توسيط صورة اللوجو */
.footer .footer-logo img,
.footer .tp-footer-logo img,
.footer .tp-footer-widget-logo img,
.footer .logo img,
.footer img {
    display: block !important;
    margin: 0 auto 15px auto !important;
}

/* الموبايل */
@media (max-width: 768px) {
    .footer .footer-logo,
    .footer .tp-footer-logo,
    .footer .tp-footer-widget-logo,
    .footer .logo {
        justify-content: center !important;
        text-align: center !important;
    }

    .footer .footer-logo img,
    .footer .tp-footer-logo img,
    .footer .tp-footer-widget-logo img,
    .footer .logo img {
        margin-left: auto !important;
        margin-right: auto !important;
    }
}
/* توسيط عنوان تواصل معنا والمحتوى تحته بنفس المحور */
.footer .row > div:nth-child(3),
.footer .row > div:nth-child(3) .tp-footer-widget,
.footer .row > div:nth-child(3) .tp-footer-widget-title,
.footer .row > div:nth-child(3) ul,
.footer .row > div:nth-child(3) li,
.footer .row > div:nth-child(3) a {
    text-align: center !important;
    align-items: center !important;
    justify-content: center !important;
}

/* إزالة أي إزاحة من قائمة تواصل معنا */
.footer .row > div:nth-child(3) ul {
    padding: 0 !important;
    margin-left: auto !important;
    margin-right: auto !important;
}
/* تعديل زر إتمام الشراء في صفحة السلة */
.cart-checkout-btn,
a.cart-checkout-btn,
.btn.cart-checkout-btn,
a.btn.btn-primary.cart-checkout-btn {
    background-color: #000000 !important; /* خلفية سوداء بالكامل */
    color: #ffffff !important;             /* خط أبيض ناصع */
    border: 1px solid #000000 !important; /* إطار أسود لضمان التناسق */
    opacity: 1 !important;                 /* إلغاء أي شفافية */
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

/* التأكيد عند تحريك الماوس عليه (Hover) */
.cart-checkout-btn:hover,
a.cart-checkout-btn:hover {
    background-color: #222222 !important; /* أسود فاتح قليلاً عند التمرير */
    color: #ffffff !important;
}
/* تكبير لوجو KAIV على الموبايل بدون تحريك الهيدر */
@media (max-width: 991.98px) {

    .search-header .header-logo > a .image-logo,
    .header-logo > a .image-logo {
        width: auto !important;
        height: 52px !important;
        max-height: 52px !important;
        max-width: 115px !important;
        object-fit: contain !important;
    }
}
@media (max-width: 991.98px) {
    .search-header .header-logo > a .image-logo,
    .header-logo > a .image-logo {
        transform: translateX(-85px) !important;
    }
}
/* الإنجليزي فقط */
@media (max-width: 991.98px) {
    html[lang^="en"] .header-logo > a .image-logo,
    html[lang^="en"] .search-header .header-logo > a .image-logo {
        transform: translateX(-85px) !important;
    }

    /* العربي يفضل في مكانه الطبيعي */
    html[lang^="ar"] .header-logo > a .image-logo,
    html[lang^="ar"] .search-header .header-logo > a .image-logo {
        transform: none !important;
    }
}
/* KAIV - White Category Headings */

body .bread-title,
body h1.bread-title,
body .subTitle-detail .bread-title,
body .subTitle-detail h1 {
    color: #fff !important;
    -webkit-text-fill-color: #fff !important;
    --secondary-color-alt3: #fff;
}


/* KAIV - White Category Filter Labels */

.products-filter-inline-sizes .attribute-label,
.sort-dropdown-wrap .sort-label,
.btn-sort-new .sort-label {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Sort Arrow */
.btn-sort-new svg {
    color: #FFFFFF !important;
    stroke: #FFFFFF !important;
}

/* KAIV - Save Button */

button.save-button,
button.save-button.MuiButton-root {
    background-color: #000000 !important;
    color: #FFFFFF !important;
    border-color: #000000 !important;
}

/* Button Text */
button.save-button .MuiBox-root,
button.save-button span {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* Hover */
button.save-button:hover {
    background-color: #000000 !important;
    color: #FFFFFF !important;
}

/* KAIV - Product Price White */
.products-details-page .product-formatted-price,
.products-details-page .product-formatted-price-current {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}

/* KAIV - Product SKU White */
.products-details-page .div-product-sku .product-title,
.products-details-page .div-product-sku .product-sku {
    color: #FFFFFF !important;
    -webkit-text-fill-color: #FFFFFF !important;
}