/* Add custom CSS styles below */ 
/**    silder 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;
}
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;
}
/** End silder block ***/
/**    silder 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;
}
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;
}
/** End silder block ***/
/** 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: unset !important;
}
.banner--fixed img {
    border-radius: 0 !important;
}
/** End banners ***/
section.s-block.s-block--fixed-banner[data-testid="store-home-fixed-banner"] {
    margin-top:0px !important;
}

/*مجموعات  */


/* ===== عنوان القسم (بتاع الثيم) ===== */
 .s-block__title{
  display:flex !important;
  justify-content:center !important;
  width:100%;
  margin-bottom:40px !important;
}

.s-block__title .right-side{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:24px;
  width:100%;
  max-width:700px;          /* أقصى عرض على الديسكتوب */
}

.s-block__title h2{
  font-size:26px;
  font-weight:700;
  margin:0;
  white-space:nowrap;       /* العنوان ما ينزلش سطرين */
}

/* الخطين يتمددوا ويتقلصوا حسب المساحة */
.s-block__title .right-side::before,
.s-block__title .right-side::after{
  content:"";
  flex:1;                   /* بدل width:160px */
  min-width:20px;
  height:1px;
  background:#d9cfc4;
}

/* تابلت */
@media (max-width:1024px){
  .s-block__title .right-side{max-width:560px}
  .s-block__title h2{font-size:24px}
}

/* موبايل */
@media (max-width:768px){
  .s-block__title{margin-bottom:24px !important}
  .s-block__title .right-side{gap:12px;max-width:100%}
  .s-block__title h2{font-size:18px}
}

/* موبايل صغير */
@media (max-width:380px){
  .s-block__title .right-side{gap:8px}
  .s-block__title h2{font-size:16px}
  .s-block__title .right-side::before,
  .s-block__title .right-side::after{min-width:12px}
}

/* ===== المسافات ===== */
.s-block--banners{
  padding-top:70px !important;
  padding-bottom:70px !important;
}

/* ===== 4 جنب بعض ===== */
.square-photos-grid{
  display:grid !important;
  grid-template-columns:repeat(4,1fr) !important;
  gap:24px !important;
}

/* ===== الكارد (الارتفاع هنا) ===== */
.square-photos-grid .banner-entry{
  display:block !important;
  position:relative !important;
  width:100% !important;
  aspect-ratio:310/470 !important;
  height:auto !important;
  background:none !important;
  padding:0 !important;
  border-radius:16px;
  overflow:hidden;
  transition:.3s;
}
.square-photos-grid .banner-entry:hover{
  transform:translateY(-6px);
  box-shadow:0 14px 30px rgba(0,0,0,.1);
}

/* ===== الصورة تملا الكارد ===== */
.square-photos-grid .banner-entry .lazy__bg{
  position:absolute !important;
  inset:0 !important;
  width:100% !important;
  height:100% !important;
  background-size:100% 100% !important;
  background-repeat:no-repeat !important;
  background-position:center !important;
}

/* ===== الموبايل ===== */
@media (max-width:768px){
  .s-block--banners{padding-top:40px !important;padding-bottom:40px !important;}
  .s-block--banners .s-block__title h2{font-size:20px;}
  .s-block--banners .s-block__title .right-side::before,
  .s-block--banners .s-block__title .right-side::after{width:40px;}
  .square-photos-grid{grid-template-columns:repeat(2,1fr) !important;gap:12px !important;}
}
/*  footer*/
/* ================= الشريط الرمادي ================= */
#pre-footer{
  background:#E1DFDF;
  padding:32px 0;
  margin:0 !important;
}
#pre-footer .pf-inner{
  display:flex;justify-content:space-between;align-items:center;
  gap:30px;flex-wrap:wrap}
#pre-footer .pf-features{display:flex;gap:46px;flex-wrap:wrap}
#pre-footer .pf-item{display:flex;align-items:center;gap:12px}
#pre-footer .pf-ic{
  width:40px;height:40px;border-radius:50%;background:#fff;
  display:flex;align-items:center;justify-content:center;flex-shrink:0}
#pre-footer .pf-ic svg{
  width:18px;height:18px;stroke:#444;fill:none;stroke-width:1.8;
  stroke-linecap:round;stroke-linejoin:round}
#pre-footer .pf-item b{display:block;font-size:14px;font-weight:700;color:#333}
#pre-footer .pf-item small{display:block;font-size:11px;color:#888;margin-top:3px}

#pre-footer .pf-news b{
  display:block;font-size:14px;font-weight:700;color:#333;margin-bottom:10px}
#pre-footer .pf-form{
  display:flex;flex-direction:row;direction:ltr;
  border:1px solid #cfcfcf;border-radius:30px;background:#fff;
  overflow:hidden;min-width:340px}
#pre-footer .pf-form button{
  background:#b09d88;color:#fff;border:0;padding:0 24px;
  font-size:13px;font-weight:600;cursor:pointer;transition:.2s;border-radius:30px}
#pre-footer .pf-form button:hover{background:#9a8873}
#pre-footer .pf-form input{
  flex:1;border:0;padding:0 16px;height:40px;font-size:12px;
  background:none;outline:none;color:#333;direction:rtl;text-align:right}
#pre-footer .pf-msg{font-size:12px;margin-top:6px;min-height:16px;color:#2e7d32}

/* ================= شيل المسافة بين الرمادي والبني ================= */
main#main-content{margin-bottom:0 !important;padding-bottom:0 !important}
.store-footer{margin-top:0 !important}
.s-block:last-of-type{margin-bottom:0 !important}

/* ================= الفوتر البني ================= */
.store-footer{background:#4A3930 !important;color:#fff !important}
.store-footer__inner{
  padding-top:50px !important;padding-bottom:40px !important;
  background:none !important;border:0 !important}
.store-footer h3,.store-footer a,.store-footer p,
.store-footer .s-menu-footer-item,.store-footer .s-contacts-item,
.store-footer .s-trust-badges-label,.store-footer .s-trust-badges-number{
  color:#fff !important}

/* 3 أعمدة تملا العرض */
@media (min-width:1024px){
  .store-footer__inner .container{
    display:grid !important;
    grid-template-columns:1.5fr 1fr 1fr !important;
    gap:60px !important;
    width:100%}
}
.store-footer__inner .container > *{
  grid-column:auto !important;padding-left:0 !important;padding-right:0 !important}
.store-footer salla-apps-icons{display:none !important}

/* العمود الأول: لوجو + اسم + وصف + وثيقة */
.store-footer__inner .container > div:nth-child(1){
  display:grid;grid-template-columns:90px 1fr;column-gap:20px;align-content:start}
.store-footer__inner .container > div:nth-child(1) > a{display:contents}
.store-footer__inner .container > div:nth-child(1) > a::before{
  content:"";grid-row:1 / span 2;width:90px;height:90px;border-radius:14px;
  background:#f5e9e0 url("https://cdn.files.salla.network/homepage/800364250/adedb5f7-e544-486c-8d3e-fa33da0d0401-original.webp") center/cover no-repeat}
.store-footer__inner .container > div:nth-child(1) > a h3{
  font-size:22px !important;font-weight:700;margin:0 0 8px !important;align-self:end}
.store-footer__inner .container > div:nth-child(1) > .max-w-sm{
  font-size:16px !important;line-height:2 !important;
  margin:0 !important;max-width:380px !important;align-self:start}
.store-footer__inner .container > div:nth-child(1) > .hidden{display:none !important}
.store-footer__inner .container > div:nth-child(1) > .flex{
  grid-column:1 / -1 !important;margin-top:24px}
.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number{font-size:15px !important}

/* عناوين الأعمدة */
.store-footer h3,.store-footer .s-contacts-title{
  font-size:19px !important;font-weight:700 !important;margin-bottom:20px !important}
.store-footer__inner .container > div:nth-child(1) > a h3{font-size:22px !important}

/* روابط مهمة */
.store-footer .s-menu-footer-item{
  font-size:16px !important;margin-bottom:16px !important;transition:.2s}
.store-footer .s-menu-footer-item:hover{opacity:.7}

/* تواصل معنا */
.store-footer .s-contacts-list{gap:16px !important}
.store-footer .s-contacts-item{font-size:16px !important}
.store-footer .s-contacts-icon{
  width:38px !important;height:38px !important;
  border:1px solid rgba(255,255,255,.7) !important;background:none !important}
.store-footer .s-contacts-icon svg{fill:#fff !important;width:16px;height:16px}

/* ================= الشريط السفلي ================= */
.store-footer > .container{
  max-width:1280px;
  border-top:1px solid #8a7550 !important;   /* الخط الذهبي زي الـ Figma */
  padding-top:24px !important;padding-bottom:24px !important;
  margin-top:0 !important;
  display:flex !important;flex-direction:row;
  justify-content:space-between;align-items:center}
.store-footer .copyright-text p{color:#fff !important;margin:0;font-size:15px !important}
.store-footer .s-payments-list-item{
  background:none !important;width:auto !important;height:auto !important;padding:0 6px !important}
.store-footer .s-payments-list-item img{height:22px !important;width:auto !important}

/* ================= موبايل ================= */
@media (max-width:1023px){
  .store-footer__inner .container{
    display:flex !important;flex-direction:column;gap:36px !important}
  .store-footer__inner .container > div:nth-child(1){grid-template-columns:70px 1fr}
  .store-footer__inner .container > div:nth-child(1) > a::before{width:70px;height:70px}
}
@media (max-width:768px){
  #pre-footer .pf-inner{flex-direction:column;align-items:flex-start}
  #pre-footer .pf-features{gap:22px}
  #pre-footer .pf-form{min-width:100%}
  .store-footer > .container{flex-direction:column;gap:14px}
}
/*navbar  */
.topnav-is-dark .top-navbar{
  background-color: #4A3930 !important ;
  color: #F7F8FA;
}