/* أزرار outline-primary */
a.btn.btn-outline-primary,
button.btn.btn-outline-primary,
a.btn.btn--outline-primary,
button.btn.btn--outline-primary {
    border-radius: 999px !important;
    padding: 0 24px !important;
    font-weight: 700 !important;
    font-size: 14px !important;
    color: #5e5097 !important;
    border-color: #5e5097 !important;
    background-color: #ffffff !important;
    transition: all 0.2s ease-in-out !important;
}

/* زر عرض الكل */
html body .s-block-best-offers a.btn.btn--outline-primary.h-10 {
    padding: 0 26px !important;
    border-radius: 999px !important;
    height: 42px !important;
    min-width: 140px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    border: 2px solid #5e5097 !important;
    background-color: #ffffff !important;
    color: #5e5097 !important;
    font-size: 14px !important;
    font-weight: 700 !important;
    transition: transform 0.2s ease, box-shadow 0.2s ease !important;
}
html body .s-block-best-offers a.btn.btn--outline-primary.h-10 span {
    font-size: 14px !important;
    font-weight: 700 !important;
    color: #5e5097 !important;
}
html body .s-block-best-offers a.btn.btn--outline-primary.h-10 i {
    display: none !important;
}
html body .s-block-best-offers a.btn.btn--outline-primary.h-10:hover {
    background-color: #5e5097 !important;
    color: #ffffff !important;
    box-shadow: 0 6px 15px rgba(94, 80, 151, 0.25) !important;
    transform: translateY(-2px) scale(1.03) !important;
}
html body .s-block-best-offers a.btn.btn--outline-primary.h-10:hover span {
    color: #ffffff !important;
}

/* كروت المنتجات */
.product-card {
    background: #ffffff !important;
    border-radius: 20px !important;
    border: 1px solid #F1F1F1 !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.04) !important;
    overflow: hidden !important;
}
.product-card__image,
.product-card_image {
    background: #ffffff !important;
    padding: 18px 18px 10px !important;
}
.product-card__image img,
.product-card_image img {
    max-height: 210px !important;
    width: 100% !important;
    object-fit: contain !important;
}
.product-card__content,
.product-card_content {
    background: #ffffff !important;
    padding: 10px 18px 18px !important;
}

/* شارة الخصم */
.product-card__promotion {
    background-color: #b01221 !important;
    color: #ffffff !important;
    border-radius: 999px !important;
    padding: 4px 12px !important;
    font-size: 13px !important;
    font-weight: 700 !important;
}

/* تنظيف السلايدر */
.s-block-best-offers .s-products-slider *,
.s-block-best-offers .store-products-slider *,
.s-block-best-offers .swiper-wrapper *,
.s-block-best-offers .swiper-slide * {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
}
.s-block-best-offers .s-products-slider,
.s-block-best-offers .store-products-slider,
.s-block-best-offers .swiper-wrapper,
.s-block-best-offers .swiper-slide,
.s-block-best-offers .s-products-slider-card {
    padding: 0 !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
}

/* كروت أقسام الصفحة */
.s-block .group,
.s-block .group .overflow-hidden,
.s-block .rounded-lg,
.s-block .rounded-xl,
.s-block .rounded-md,
.s-block a.group {
    border-radius: 28px !important;
    overflow: hidden !important;
}
.s-block .group img {
    border-radius: 28px !important;
}

/* زر داخل السلايدر */
a.btn.btn--outline-primary.h-10.grow-0.gap-1\.5.group.\!px-2.\!rounded-none {
    min-width: 180px !important;
    height: 46px !important;
    border-radius: 999px !important;
    border-color: #5e5097 !important;
    color: #5e5097 !important;
}
a.btn.btn--outline-primary.h-10.grow-0.gap-1\.5.group.\!px-2.\!rounded-none span {
    font-size: 15px !important;
    font-weight: 700 !important;
    color: #5e5097 !important;
}

/* سيكشن المدونة */
.blog-section {
    background: #5e509712 !important;
    border-radius: 22px !important;
    padding: 40px 30px !important;
    margin-bottom: 40px !important;
}
.blog-section .s-block {
    padding: 0 !important;
}
.blog-section .group,
.blog-section .rounded-xl,
.blog-section .rounded-lg {
    border-radius: 18px !important;
}
.blog-section .group:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 25px rgba(94, 80, 151, 0.25) !important;
    transition: 0.25s ease;
}

/* عروض اليوم */
section.familia-offers-section .flex {
    flex-direction: row-reverse !important;
    align-items: center !important;
}
section.familia-offers-section p {
    font-size: 20px !important;
    line-height: 1.9 !important;
}
section.familia-offers-section .flex > div {
    flex: 1 !important;
}
section.familia-offers-section img {
    max-width: 100% !important;
    display: block !important;
}
@media (max-width:768px) {
    .familia-offers-section .flex.flex-col-reverse {
        flex-direction: column !important;
    }
    .familia-offers-section .flex > div:first-child {
        margin-bottom: 20px !important;
    }
    .familia-offers-section img {
        max-width: 80% !important;
        margin: 0 auto !important;
    }
}
.familia-offers-section h2,
.familia-offers-section h3,
.familia-offers-section .section-title {
    color: #665d9e !important;
}
.familia-grid img.lazy.object-cover {
    object-position: 50% 30% !important;
}

/* إصلاح تبويبات الأقسام */
.s-block-tabs .tab-trigger,
.s-block-tabs button.tab-trigger,
.s-block-tabs salla-button.tab-trigger,
.s-block-tabs .tab-trigger.s-button-element {
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
    box-shadow: none !important;
    height: auto !important;
}
.s-block-tabs .tab-trigger span {
    color: #5e5097 !important;
    font-weight: 700 !important;
}
.s-block-tabs .tab-trigger.is-active,
.s-block-tabs .tab-trigger:hover {
    background: transparent !important;
}

/* أزرار عامة راوندد */
button,
.s-button,
.s-button-primary,
.s-button-solid,
.btn,
a.btn,
a.s-button,
input[type="submit"],
input[type="button"],
form button,
form input[type="submit"] {
    border-radius: 50px !important;
}