/* Add custom CSS styles below */ 

@import url('https://fonts.googleapis.com/css2?family=Beiruti:wght@200..900&display=swap');

body {
    font-family: "Beiruti" !important;/* خط النص */
}

body#app.index {
    background: white; /* خلفية بيضاء لصفحة الهوم */
}


/* ==============================
   3- إعدادات اللازي لود (Lazy Loading)
============================== */
.lazy__bg.lazy.entered.loaded {
    background-size: contain;      /* ملاءمة الخلفية بدون قص */
    background-repeat: no-repeat;  /* منع التكرار */
}


/* ==============================
   4- إعدادات الصور والبنرات
============================== */
a.banner-entry.square-photos {
    background: transparent; /* خلفية شفافة */
}

.banner-entry {
    transition:
        transform 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94),       /* حركة تكبير/تصغير */
        background-size 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), /* انتقال حجم الخلفية */
        background-position 0.6s ease;                             /* انتقال موضع الخلفية */
}

.banner-entry:hover {
    transform: scale(1.05) translateY(-10px); /* تكبير وتحريك لأعلى عند الهوفر */
}

img {
    background: transparent !important; /* إزالة خلفية الصور */
    border-radius: 0;                   /* إزالة الزوايا الدائرية */
}


.index section.s-block--fixed-banner:nth-of-type(1) > .container,
.index section.s-block--fixed-banner:nth-of-type(4) > .container,
.index section.s-block--fixed-banner:nth-of-type(6) > .container,
.index section.s-block--fixed-banner:nth-of-type(7) > .container {
    max-width: 100%; /* تمديد الكونتينر بعرض الصفحة */
    padding: 0;      /* إزالة الهوامش الداخلية */
}
.two-row .banner-entry:first-child {
    grid-column: span 1 / span 1; /* امتداد عمود واحد */
    grid-row: span 1 / span 2;    /* امتداد صفين */
}

.s-block--banners .grid.two-row {
    display: grid;                         /* تفعيل شبكة العرض */
    grid-template-columns: repeat(3, 1fr); /* 4 أعمدة متساوية */
    gap: 1rem;                             /* مسافة بين العناصر */
}

/* ميديا كويري للشاشات الصغيرة */
@media (max-width: 768px) {
    .s-block--banners .grid.two-row {
        grid-template-columns: repeat(2, 1fr); /* عمودين للشاشات الصغيرة */
        gap: 1rem;
    }
}

.index .s-block--banners.container:nth-of-type(11) .grid.two-row {
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
section.s-block.s-block--fixed-banner.wide-placeholder:first-of-type {
    margin-top: 0;
}
@media (max-width: 768px) {
    .index .s-block--banners.container:nth-of-type(11) .grid.two-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.s-button-btn.s-button-primary-outline {
    background: linear-gradient(90deg, #93423E 0%, #F5DFB7 100%);
    border: none; /* إزالة أي حدود إذا كانت موجودة */
    color: #000;  /* لون الخط حسب التصميم */
    border-radius: 5px; /* نفس الـ Corner Radius في الفيجما */
    padding: 10px 20px;  /* ضبط مساحة داخلية مناسبة */
    font-weight: bold;   /* لو تحب الخط سميك */
    cursor: pointer;
    transition: all 0.3s ease; /* حركة ناعمة عند hover */
}

/* تأثير Hover */
.s-button-btn.s-button-primary-outline:hover {
    opacity: 0.9; /* خفيف التعتيم */
    transform: translateY(-2px); /* رفع بسيط */
}
.s-product-card-entry,
custom-salla-product-card.s-product-card-entry {
    border: 2px solid #93423E;               /* إطار المنتج */
    border-radius: 8px;                      /* زوايا دائرية */
    overflow: hidden;                        /* إخفاء المحتوى الزائد */
    padding: 10px;                           /* حشو داخلي */
    transition: transform 0.3s ease, 
                box-shadow 0.3s ease;        /* تأثير حركة */
}

.s-product-card-entry:hover,
custom-salla-product-card.s-product-card-entry:hover {
    transform: scale(0.97); /* تصغير بسيط عند الهوفر */
    box-shadow: none;       /* إلغاء الظل */
}

/* ==============================
   12- responsive
============================== */

@media(max-width:767px){
#photos-0-slider > div.swiper.s-slider-container.swiper-initialized.swiper-horizontal.swiper-rtl.swiper-ios.swiper-backface-hidden{
   padding:0;
}
.s-products-slider-card {
    max-width: 185px;
}
.main-nav-container {
    min-height: 56px;
}
  .s-button-element:not(:disabled):not([loading]) {
    font-size: 11px;
}
}