/* ===============================
   إعدادات عامة
   =============================== */
body {
    background-color: #f5f5f5 !important;
    font-family: 'Cairo', sans-serif;
}

/* ===============================
   إخفاءات غير ضرورية
   =============================== */
.mm-spn li img,
.unicode,
.s-contacts-header {
    display: none !important;
}

/* ===============================
   شبكة المنتجات
   =============================== */
.md\:grid-cols-3 {
    grid-template-columns: repeat(4, minmax(0, 1fr));
}

@media (max-width: 600px) {
    .md\:grid-cols-3 {
        grid-template-columns: repeat(1, minmax(0, 1fr));
    }
}

/* ===============================
   توحيد مقاسات صور المنتجات (الأهم)
   =============================== */
.s-product-card-image {
    height: 260px !important;
    max-height: 260px !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: #fff;
}

/* الصورة تظهر كاملة بدون قص */
.s-product-card-image img {
    max-width: 100% !important;
    max-height: 100% !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    object-position: center;
    transition: 0.4s ease;
}

/* للجوال */
@media (max-width: 768px) {
    .s-product-card-image {
        height: 200px !important;
        max-height: 200px !important;
    }
}

/* ===============================
   كرت المنتج
   =============================== */
.s-product-card-entry {
    border: 1px solid #4227F5;
    border-radius: 10px 0;
    background-color: transparent;
}

.s-product-card-content {
    padding: 0.5rem;
    text-align: center;
    background-image: url("https://i.imgur.com/DfAsiHA.png");
    background-repeat: no-repeat;
    background-size: 90px auto;
    background-position: top left;
}

.s-product-card-content-title a {
    font-size: 1rem;
    padding: 8px;
    display: block;
}

.s-product-card-content-subtitle {
    font-size: 1rem;
    line-height: 1.2rem;
    color: #D5AA42;
}

/* ===============================
   الأزرار
   =============================== */
.s-button-btn,
.s-price-range-number-input {
    background-color: #4227F5;
    color: #fff;
    border-radius: 10px 0;
}

.s-button-btn:hover {
    background-color: #3300A3;
}

/* ===============================
   الفوتر
   =============================== */
.footer-is-light .store-footer {
    background-color: #fff !important;
}

.footer-is-light .store-footer a {
    color: #3300A3 !important;
    font-weight: bold;
}

.footer-is-light .store-footer a:hover {
    color: #4227F5 !important;
}

.store-footer h3,
.s-menu-footer-item {
    text-align: center;
}

/* شعار أعلى الفوتر */
.store-footer__inner::before {
    content: "";
    display: block;
    width: 220px;
    height: 140px;
    margin: 0 auto 20px;
    background: url("ضع_رابط_الشعار_هنا") no-repeat center;
    background-size: contain;
}

/* حدود الفوتر */
.footer-is-light .store-footer .store-footer__inner {
    margin: 1rem;
    border-radius: 1rem;
    overflow: hidden;
    border-top: 2px solid #ddd;
    border-bottom: 2px solid #ddd;
}

/* ===============================
   قسم المميزات
   =============================== */
.s-block--features__item {
    text-align: center;
    background-color: transparent;
}

.s-block--features__item h3,
.s-block--features__item svg {
    color: #CC5008 !important;
    font-weight: 700;
}

.s-block--features__item p {
    color: #004DAD !important;
    font-size: 1rem;
}

/* ===============================
   العناوين
   =============================== */
.s-slider-block__title h2 {
    font-size: 1.5rem;
    border: 1px solid #fff;
    border-radius: 5px;
    color: #4502C7;
    box-shadow: 5px 10px 1px #4502C7;
    font-weight: 900;
    padding: 1rem;
}/* ===============================
   تقليل المسافة أسفل المنتج
   =============================== */

/* محتوى كرت المنتج */
.s-product-card-content {
    padding-bottom: 0.3rem !important;
    padding-top: 0.4rem !important;
}

/* العنوان */
.s-product-card-content-title {
    margin-bottom: 0.2rem !important;
}

/* السعر */
.s-product-card-starting-price {
    margin-bottom: 0.3rem !important;
}

/* زر إضافة للسلة */
.s-product-card-entry .s-button-btn {
    margin-top: 0.3rem !important;
    padding: 0.45rem 0.6rem !important;
    font-size: 0.9rem !important;
}

/* إزالة أي فراغ إضافي تحت الكرت */
.s-product-card-entry {
    padding-bottom: 0.3rem !important;
}