/* Website designed and developed by Galal Abdelhady - 201066098933 */
/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
/* ==========================================================================
   1. المتغيرات العامة (Global Variables)
   ========================================================================== */
:root {
    --main-color: #0fbcbc;
    --second-color: #0e3a5b;
    --white-color: #ffffff;
}
body{
    background-color:#e8f8fb;
}
/* ==========================================================================
   2. إعدادات السلايدر (Slider Block)
   ========================================================================== */
section.s-block.s-block--photos-slider {
    margin-top: 0;
}

/* إزالة الحواف والمسافات وجعل السلايدر بعرض الشاشة بالكامل */
section.s-block.s-block--photos-slider .swiper-slide {
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}

/* إزالة دائرية الحواف (Border Radius) من صور السلايدر */
section.s-block.s-block--photos-slider .swiper-slide,
section.s-block.s-block--photos-slider .swiper-slide img {
    border-radius: 0 !important;
}

section.s-block.s-block--photos-slider .swiper.s-slider-container {
    padding: 0 !important;
}

/* إخفاء أزرار التنقل في السلايدر الرئيسي */
.home-slider.photos-slider .s-slider-block__title-nav {
    display: none !important;
}

/* Development & UI Implementation: Galal Abdelhady | 201066098933 */

/* ==========================================================================
   3. إعدادات البنرات (Banners Blocks)
   ========================================================================== */
section#IRT__photos-slider-0 {
    margin-bottom: 0 !important;
}

/* ضبط البنر الثابت ليكون بعرض الشاشة بالكامل */
section.s-block.s-block--fixed-banner.wide-placeholder > .container {
    padding: 0 !important;
    margin: 0 !important;
    max-width: none !important;
}

/* إزالة حواف صور البنرات */
.banner--fixed img {
    border-radius: 0 !important;
}

/* إزالة المسافة العلوية من بنر محدد برقم ID */
section[component-id="147241375"].s-block.s-block--fixed-banner.wide-placeholder {
    margin-top: 0;
}

/* ==========================================================================
   4. إعدادات الهيدر في شاشات الديسكتوب (Desktop Header)
   ========================================================================== */

    /* جعل الهيدر شفافاً ويطفو فوق السلايدر في الصفحة الرئيسية */
    body.index header.store-header {
        position: absolute !important;
        z-index: 9 !important;
        top: 0 !important;
        right: 0 !important;
        left: 0 !important;
    }

    body.index .top-navbar {
        display: none;
        /* border-bottom: 1px solid var(--white-color); */
        padding-bottom: 1.5rem;
    }

    /* خلفية شفافة للقائمة الرئيسية قبل النزول لأسفل */
    body.index .main-nav-container.shadow-default.bg-white {
        background-color: transparent !important;
        box-shadow: none;
    }

    /* تغيير الشعار (اللوجو) عند عرض الهيدر الشفاف */
    body.index .main-nav-container.shadow-default.bg-white img[src="https://cdn.files.salla.network/other/1705528132/5f6229e3-8346-43d9-beb2-4195d9935ffb-original.webp"]:not(body.index .main-nav-container.shadow-default.bg-white.fixed-pinned img) {
        content: url('https://img.imgdd.com/f6f62aed-465a-4d66-ab2c-c6ff7cb1bd8d.png');
    } 

    /* خلفية بيضاء للقائمة عند التثبيت (أثناء النزول في الصفحة) */
    body.index .main-nav-container.shadow-default.bg-white.fixed-pinned {
        background-color: var(--white-color) !important;
    }

    /* ألوان الأيقونات والنصوص في الهيدر الشفاف */
    body.index .main-nav-container.shadow-default.bg-white ul li a span,
    body.index .top-navbar,
    body.index div#mainnav i.header-btn__icon.icon.sicon-shopping-bag,
    body.index div#mainnav i.header-btn__icon.sicon-user-circle {
        color: var(--white-color);
    }

    /* ألوان الأيقونات والنصوص في الهيدر الثابت */
    body.index .main-nav-container.shadow-default.bg-white.fixed-pinned i.header-btn__icon.icon.sicon-shopping-bag,
    body.index .main-nav-container.shadow-default.bg-white.fixed-pinned i.header-btn__icon.sicon-user-circle {
        color: var(--white-color) !important;
    }

    body.index .main-nav-container.shadow-default.bg-white.fixed-pinned ul li a span {
        color: var(--main-color);
    }
    
    header .sub-menu.w-56 span {
        color: var(--main-color) !important;
    }


/* Original website customization by Galal Abdelhady - 201066098933 */

/* ==========================================================================
   5. شريط التصفح العلوي والأيقونات (Top Navbar & Icons)
   ========================================================================== */

/* الشريط العلوي */
.top-navbar {
    background-color: var(--main-color) !important;
    color: var(--white-color);
}

/* تنسيق أيقونات المستخدم، السلة، وزر تسجيل الدخول */
.main-nav-container i.header-btn__icon.sicon-user-circle,
.main-nav-container i.header-btn__icon.icon.sicon-shopping-bag,
button.s-user-menu-login-btn {
    background-color: var(--main-color) !important;
    color: var(--white-color);
}

/* أيقونة زر تسجيل الدخول (SVG) */
.s-user-menu-login-btn svg {
    height: 1.25rem;
    width: 1.25rem;
    fill: var(--white-color);
}

/* أيقونة القائمة الجانبية (الهامبرجر مينيو) */
i.sicon-menu.text-primary.text-2xl {
    color: var(--white-color);
    width: 40px !important;
    height: 40px;
    padding: 2px;
    overflow: hidden;
    position: relative;
    border-radius: 50px;
    background-color: var(--main-color);
}

/* توسيط الخطوط بداخل أيقونة القائمة */
.sicon-menu::before {
    left: 50% !important;
    top: 50% !important;
    position: absolute;
    transform: translate(-50%, -50%);
}

/* ==========================================================================
   6. إعدادات سلة المشتريات (Cart Summary)
   ========================================================================== */

/* أيقونة العداد الذي يعرض عدد المنتجات في السلة */
.main-nav-container span.s-cart-summary-count {
    background-color: var(--white-color);
    color: var(--main-color);
    border: 1px solid var(--main-color);
}

/* نص إجمالي السعر في السلة */
.main-nav-container b.s-cart-summary-total {
    color: var(--main-color);
}

/* Frontend Design & Development © Galal Abdelhady | 201066098933 */

/* ==========================================================================
   7. إعدادات بطاقة المنتج (Product Card)
   ========================================================================== */

/* إخفاء الأجزاء الزائدة من البطاقة */
custom-salla-product-card {
    overflow: hidden;
}

/* خلفية محتوى البطاقة */
custom-salla-product-card .s-product-card-content {
    background-color: #0ca4b8; 
}

/* تنسيق زر الإضافة للسلة */
button.s-button-element.s-button-btn.s-button-outline.s-button-wide {
    background-color: var(--second-color);
    color: var(--white-color);
    border-color: var(--second-color);
}

/* توسيط وتلوين عنوان المنتج */
custom-salla-product-card h3.s-product-card-content-title,
custom-salla-product-card h3.s-product-card-content-title a {
    text-align: center;
    color: var(--white-color) !important;
}

/* توسيط السعر والتفاصيل الفرعية */
custom-salla-product-card .s-product-card-content-sub {
    justify-content: center;
}

/* تنسيق السعر المخفض (Sale Price) */
custom-salla-product-card .s-product-card-sale-price span {
    color: #7bffff !important;
    font-size: 1.2rem;
}

/* تنسيق السعر الأساسي داخل البطاقة */
custom-salla-product-card .s-product-card-sale-price h4 {
    color: var(--white-color) !important;
    font-size: 1.2rem;
}

/* Developer Reference: Galal Abdelhady / 201066098933 */

/* ==========================================================================
   8. إعدادات بنر الصور المربعة (Square Photos Banners)
   ========================================================================== */

/* تنسيق روابط البنر الأساسية */
a.banner-entry.square-photos {
    height: 100%;
    padding: 0;
    background-color: transparent;
}

/* إعدادات القسم الرئيسي للبنر ذو المعرف المحدد */
section[component-id="1149403515"].s-block.s-block--banners.container {
   background: linear-gradient(180deg,rgba(2, 71, 96, 1) 0%, rgba(6, 89, 111, 1) 100%);

    max-width: none;
    padding-block: 2rem;
}

/* شبكة الصور: عرض 3 أعمدة في الشاشات الكبيرة */
section[component-id="1149403515"].s-block.s-block--banners.container .square-photos-grid--equal-3 {
    display: grid; /* للتأكد من تفعيل نظام الجريد */
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 1200px;
    margin-inline: auto;
    gap: 8px;
}

/* توسيط عنوان القسم */
section[component-id="1149403515"].s-block.s-block--banners.container .s-block__title {
    justify-content: center;
}

section[component-id="1149403515"].s-block.s-block--banners.container .s-block__title .right-side {
    padding-left: 0;
}

/* تنسيق خط العنوان */
section[component-id="1149403515"].s-block.s-block--banners.container .s-block__title .right-side h2 {
    color: var(--white-color);
    font-size: 3rem;
    text-align:center;
}
section[component-id="1149403515"].s-block.s-block--banners.container,
section[component-id="336682198"].s-block.s-block--fixed-banner.wide-placeholder{
    margin-top:0;
}
footer.store-footer {
    margin-top:0;
}

img.footer-image {
    margin-top:2rem !important;
}

.store-footer__inner {
    background-color:#fff !important;
}

img.footer-image {
    margin-top: 6rem !important;
}

/* UI/UX & Frontend Implementation by Galal Abdelhady - 201066098933 */

/* التجاوب مع الشاشات الأصغر (الموبايل والتابلت) */
@media (max-width: 992px) {
    /* تحويل الشبكة إلى عمودين فقط */
    section[component-id="1149403515"].s-block.s-block--banners.container .square-photos-grid--equal-3 {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        /* تم حذف max-width و gap و margin لأنها تُورث من الكود الأساسي بالأعلى */
    }

    /* تصغير حجم خط العنوان ليتناسب مع الشاشات الصغيرة */
    section[component-id="1149403515"].s-block.s-block--banners.container .s-block__title .right-side h2 {
        font-size: 1.8rem;
    }
    body.index .top-navbar {
    display: none;
    /* border-bottom: 1px solid var(--white-color); */
    padding-bottom: 1.5rem;
}
  footer * {
    justify-content:center;
    align-items:center;
    text-align:center;
}
  img.footer-image {
    margin-top:3rem !important;
}
}



section.s-block.s-block--fixed-banner.wide-placeholder img{
    background-color: transparent !important;
}

/* Custom CSS authored by Galal Abdelhady | 201066098933 */

/* ==========================================================================
   9. إعدادات المميزات (Features Block)
   ========================================================================== */

/* تنسيق لون خلفية أيقونة المميزات */
.s-block--features__item .feature-icon {
    background-color: var(--main-color);
}

/* تنسيق لون النص داخل قسم المميزات */
.s-block--features__item p {
    color: var(--main-color);
}

.s-button-btn:hover {
    opacity: 1;
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide{
    border:1px solid #0e3a5b; 
}

button.s-button-element.s-button-btn.s-button-outline.s-button-wide:hover {
    opacity: 1;
    border:1px solid #fff !important;
}

custom-salla-product-card h4.s-product-card-price {
    color:#fff;
    font-size:1.2rem;
}

custom-salla-product-card  p.s-product-card-content-subtitle.opacity-80 {
    text-align:center;
}

.navbar-brand img {
    max-height: 3.5rem !important;
    max-width: 100px;
    width: auto;
}

footer.store-footer {
    margin-top:0;
}



.store-footer__inner {
    background-color:#fff !important;
}

custom-salla-product-card  p.s-product-card-content-subtitle.opacity-80 {
    text-align: center;
    font-weight: 500 !important;
    color: #ffff;
}

custom-main-menu {
    display: flex;
    justify-content: center;
    align-items: center;
}
.feature-icon i{
    color:#ffff !important;
}
img.footer-logo {
    margin-bottom: 12px !important;
}

footer.store-footer {
    background-color: #0597a8 !important;
}


span.text-sm.copyright-text p {
    color:#ffff !important;
}

/* Site design and code: Galal Abdelhady - 201066098933 */

@media(min-width:992px){
    ul.main-menu.mm-spn--open a  {
    padding-bottom:12px;
}

.main-nav-container.fixed-pinned .main-menu>li>a {
    padding-bottom: 10px;
    padding-top: 10px;
}

ul.main-menu.mm-spn--open {
    padding-top:0;
}
  b.s-cart-summary-total {
    display: flex;
    gap: 9px;
    flex-wrap: nowrap;
}
}