.flex.items-stretch.justify-between.relative {
    justify-content: center !important;
}

/******اخفاء عدد المنتجات في كل صفحة اكثر من***/

.rtl\:pl-3:where([dir=rtl],[dir=rtl] *) {
    display: none;
}
/****/
.s-block__display-all{
display:none;
}


.store-footer {
    background: #1d1f1f !important;
}
.copyright-text p {
        color: rgb(255 255 255);
    }
.store-footer .text-center {
    background: #1d1f1f;
}
/*******/
@media (min-width: 768px) and (max-width: 1024px) {
  #mainnav ul.main-menu {
    display: flex !important;
    justify-content: center;
    gap: 20px;
  }
}

/************/
@media (min-width: 1024px) {
.main-nav-container{
        text-align: center;
}
}
/* استبدال أيقونة الانستجرام */
a[aria-label="Go to instagram"] svg {
  display: none !important; /* يخفي الـ SVG */
}

a[aria-label="Go to instagram"] {
  background: url("https://upload.wikimedia.org/wikipedia/commons/a/a5/Instagram_icon.png") no-repeat center center !important;
  background-size: contain !important;
  width: 50px !important;
  height: 50px !important;
  display: inline-block !important;
}

a.text-gray-500:hover {
  color: #333333 !important; /* هنا تحط اللون اللي إنت عايزه */
}
.s-product-card-image-cover{
    object-fit: cover;
}
.navbar-brand img{
    max-width: 160px;
}
 

/*****uvqعرض الهيدر*/
.main-menu li.root-level>a{
        font-size: x-large;
        font-weight: 300;
}

.text-center {
 color: black !important;
 }
.top-navbar .s-search-input {
    background-color: #ffffff !important;
}
.s-advertisement{
  background-color: #000000 !important;
  }
.load-more-btn {
  display: block;
  width: fit-content;
  margin: 20px auto 0;
  padding: 12px 30px;
  background-color: #000000;   /* لون الخلفية */
  color: #fff;                 /* لون النص */
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  text-align: center;
  text-decoration: none;
  transition: 0.3s;
}
.load-more-btn:hover {
  background-color: #333333;   /* لون عند التمرير */
}

/******Email***/

#subscribe-section input[type="email"] {
    color: black;
}
.s-comments-product{
display:none;
}
.app-inner.flex.flex-col.min-h-full .s-block {
    margin-top: 1rem !important;
}
@media (max-width: 1024px) {
  .s-slider-container {
    display: grid;
  
  }

.s-slider-v-centered .s-slider-block__title-nav {
    display: none;
    }
.s-block--full-bg+.s-block--full-bg, .s-block--full-bg+footer, .s-block--full-bg:first-of-type {
    height: 110px;
}
.store-footer a > h3 {
        margin: 0 auto;
}
.store-footer {
    text-align: center;
}

.leading-6 {
    display: inline-block;
}
.s-contacts-list-vertical {
   /* flex-direction: row;*/
}

.s-contacts-list {
    display: inline-flex;
}
.items-end {
    display: math !important;
    text-align: -webkit-center;
}

.store-footer .hydrated {

    display: inline-flex;
}
/***header**/
.s-block.s-block--hero-slider.s-block--full-bg.wide-placeholder .swiper-wrapper {
    height:110px !important ;
}

  }

  
/**********/
.store-footer {
        margin-top: 0rem !important;
    }
/* السكشن */
.pets-section {
  padding: 60px 20px;
  text-align: center;
}

.pets-container {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 60px;
  flex-wrap: wrap;
}

.pet-frame {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.pet-frame a {
  display: block;
  width: 400px;   /* أكبر */
  height: 400px;  /* أكبر */
  border-radius: 50%;
  overflow: hidden;
  transition: transform 0.4s ease;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
}

.pet-frame img {
  width: 100%;
  height: 100%;
  /*object-fit: cover;*/
  transition: transform 0.4s ease;
}

.pet-frame:hover a {
  transform: scale(0.9);
}

.pet-frame:hover img {
  transform: scale(1.2);
}

.pet-title {
  margin-top: 18px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #333;
}

/* responsive */
@media (max-width: 768px) {
  .pets-container {
    flex-direction: column;
    gap: 40px;
  }

  .pet-frame a {
    width: 250px;
    height: 250px;
  }
}


/****تعديل عدد الواحدات في الصف الواحد **/



/* سكشن الاشتراك */
#subscribe-section {
  width: 100%;
  background: linear-gradient(135deg, #f8d09a 0%, #1d1f1f 100%);
  padding: 50px 20px;
  color: #fff;
  text-align: center;
  font-family: "Segoe UI", Roboto, Arial, sans-serif;
}

#subscribe-section .subscribe-inner {
  max-width: 800px;
  margin: 0 auto;
}

#subscribe-section h3 {
  margin: 0 0 10px 0;
  font-size: 1.8rem;
  font-weight: 700;
}

#subscribe-section p {
  margin: 0 0 25px 0;
  font-size: 1rem;
  opacity: 0.9;
}

/* الفورم */
#subscribe-section form {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}

#subscribe-section input[type="email"] {
  padding: 14px 16px;
  border: none;
  border-radius: 30px;
  font-size: 1rem;
  width: 280px;
  max-width: 100%;
  outline: none;
  box-shadow: 0 2px 6px rgba(0,0,0,0.15);
}

#subscribe-section input[type="email"]::placeholder {
  color: #999;
}

#subscribe-section .btn-submit {
  padding: 14px 28px;
  border: none;
  border-radius: 30px;
  background: #000000;
  color: #fff;
  font-size: 1rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 2px 6px rgba(0,0,0,0.2);
}

#subscribe-section .btn-submit:hover {
  background: #0f4aa3;
  transform: translateY(-2px);
}

#subscribe-msg {
  margin-top: 15px;
  font-size: 0.95rem;
  font-weight: 500;
}



/**********/
.flex.items-center a:hover {
    color: #333333; /* يخلي النص بني فاتح */
}
.salla-comments {
  display: none !important;
}

.bg-inherit {
display: inline-block;
}

.s-block--fixed-banner {
  width: auto;      /* عرض كامل الشاشة */
  margin: 0;         /* إلغاء أي مسافات خارجية */
  padding: 0;        /* إلغاء أي حواف داخلية */
}

.s-block--fixed-banner .container {
  max-width: 100%;   /* منع تحديد عرض ثابت */
  padding: 0;        /* إلغاء الحواف الجانبية */
}

.s-block--fixed-banner img {
  width: 100%;       /* يخلي الصورة تتمدد بعرض الشاشة */
  height: auto;      /* يحافظ على التناسب */
  display: block;    /* يمنع الفراغات تحت الصورة */
}


/*********************************************************
 * PHANTOMBLOODLINES — Custom Styles
 * Sections:
 *  1) Top Navbar
 *  2) Hero Slider
 *  3) Banners (شبكة البنرات)
 *  4) Logos Slider (سكشن اللوجوهات)
 *  5) Popular Categories
 *  6) Global Tweaks (خلفية الموقع + ريديس موحّد)
 *  7) Footer (خلفية بيضاء + لوجو بدل النص)
 *********************************************************/


/* =========================
   1) Top Navbar
   ========================= */

/* خلفية التوب ناف وارتفاع الكونتينر */
.header-btn__icon{
    border-width: 2px
}
.sicon-user-circle:before {
    color: white;
}
.sicon-shopping-bag:before {
    color: white;
}
.top-navbar {
  background-color: #000000 !important;
  padding: 8px 0 !important;
}
.container.flex.justify-between,
.store-header .top-navbar > .container.flex.justify-between {
  height: 140px !important;
  align-items: center !important;
}

/* 3) لو فيه ستايلات تانية بتشد الصورة (احتياطي) */
.store-header .top-navbar img.navbar-brand__img,
#mainnav .navbar-brand img{
  max-height: none !important;
}

.store-header .top-navbar .top-logo img {
  height: 120px !important;
  width: 138px !important;

  display: block !important;
  object-fit: cover;
}
.navbar-brand img {
  max-height: 15rem ;
}

/* خانة البحث (Auto height + Radius) */
.store-header .top-navbar .s-search-input,
.s-search-input {
  height: auto !important;
  min-height: 36px;
  line-height: normal !important;
  padding-top: .5rem;
  padding-bottom: .5rem;
}
.store-header .top-navbar .s-search-input {
  border-radius: 18px !important;
}

/* إخفاء اللوجو السفلي في شريط القوائم (اختياري) */
#mainnav .navbar-brand { display: none !important; }

/* اخفاء رابط الإيميل داخل salla-contacts فقط */
.top-navbar salla-contacts a[href^="mailto:"],
.s-contacts-topnav-link[href^="mailto:"] {
  display: none !important;
}

/* Gaps حسب المقاس */
.top-navbar .container { gap: 8px; }
@media (min-width: 768px) { .top-navbar .container { gap: 16px; } }
@media (min-width: 1200px){ .top-navbar .container { gap: 24px; } }

/* موبايل: البحث ينتقل داخل المين ناف */
@media (max-width: 768px) {
  #mainnav .header-search.search-in-mainnav { width: 100%; margin-top: 8px; }
  #mainnav .header-search.search-in-mainnav .s-search-container,
  #mainnav .header-search.search-in-mainnav .s-search-input-wrapper { width: 100%; }
  #mainnav .header-search.search-in-mainnav .s-search-input {
    height: 36px !important;
    border-radius: 18px !important;
    padding-inline-start: 8px !important;
  }
}


/* =========================
   2) Hero Slider
   ========================= */

.s-block--hero-slider .salla-slider#main-slider-0 {
  display: block;
  width: 100vw;
  height: 590px;
  margin: 0px auto 0 auto;
}
.s-block--hero-slider #main-slider-0 .s-slider-container,
.s-block--hero-slider #main-slider-0 .swiper {
  width: 100%;
  height: 100%;
}

.s-block--hero-slider #main-slider-0 .swiper-slide {
  width: 100%;
  height: 95% !important;
  min-height: unset!important;
  overflow: hidden !important;
  border-radius: 23px !important;
  position: relative;
  background: transparent !important;  
}
.s-block--hero-slider #main-slider-0 .swiper-slide.bg-dark {
  background: transparent !important;
}

/* صورة الخلفية داخل الشريحة */
.s-block--hero-slider #main-slider-0 .overlay-bg {
  border-radius: inherit !important;
  background-size: contain !important;
  background-position: center !important;
  background-color: transparent !important;
  opacity: 1 !important;
  filter: none !important;
  mix-blend-mode: normal !important;
  background-blend-mode: normal !important;
      background: no-repeat;
}
.s-block--hero-slider #main-slider-0 .overlay-bg::before,
.s-block--hero-slider #main-slider-0 .overlay-bg::after {
  content: none !important;
  background: none !important;
  opacity: 0 !important;
}

/* محتوى النص داخل الهيرو */
.s-block--hero-slider #main-slider-0 .home-slider__content {
  height: 100%;
  display: flex; align-items: center; justify-content: center;
}

/* موبايل */
@media (max-width: 640px) {
  .s-block--hero-slider salla-slider#main-slider-0 {
    width: 95vw;
    height: 320px;
}
}
.swiper-wrapper {
    position: relative;
    width: 104%;
    height: 100%;
    }
@media (max-width: 1024px) {
    .s-block.s-block--hero-slider.s-block--full-bg.wide-placeholder .swiper-wrapper {
        height: 158px !important;
    }
    .s-block--full-bg+.s-block--full-bg, .s-block--full-bg+footer, .s-block--full-bg:first-of-type {
        height: 158px !important;
    }
}
@media (min-width: 769px) and (max-width: 1024px) {
    .s-block--full-bg+.s-block--full-bg, .s-block--full-bg+footer, .s-block--full-bg:first-of-type {
        height: 400px!important;
  }
  .s-block--hero-slider #main-slider-0 .swiper-slide {
    width: 100%;
    height: 400px !important;
    }
}



/* =========================
   3) Banners — شبكة البنرات
   ========================= */
/* صف أفقي قابل للسحب على الشاشات الضيقة */
.s-block--banners .grid {
  display: flex !important;
  flex-wrap: nowrap;
  gap: 8px;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

/* حجم كل بانر افتراضيًا */
.s-block--banners .grid .banner-entry {
  flex: 0 0 calc(20% - 8px); /* 5 في الصف على الديسكتوب */
  height: 300px;
   margin:10px 10px;
  border-radius: 10px;
  background-size: cover;
  background-position: center;
}

/* تابلت */
@media (max-width: 768px) {

 .s-block--banners .grid .banner-entry {
    flex: 0 0 calc(33.333% - 8px);
    height: 128px;
    margin:0px ;

}

}
@media (min-width: 768px) and (max-width: 1024px) {
  .s-block--banners .grid .banner-entry {
    flex: 0 0 calc(33.333% - 8px);
    height: 330px;
    margin:0px ;

}
.gap-3 {
   gap: 0.50rem;
   height: 100%;
 
}
  }
  .grid-flow-row {
    grid-auto-flow: column;
}
}

/* موبايل */
@media (max-width: 640px) {
  .s-block--banners .grid .banner-entry {
    flex: 0 0 70%;
    height: 180px;
  }
}

/* ديسكتوب: شبكة 4 أعمدة ثابتة + هوفر بسيط */
@media (min-width: 1025px) {
  .s-block--banners .grid {
    display: grid !important;
    grid-template-columns: repeat(3, 1fr) !important;
    gap: 100px;
  }
  .s-block--banners .banner-entry {
    display: block;
    height: 160px;
    border-radius: 12px;
    overflow: hidden;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
  }
  .s-block--banners .banner-entry:hover {
    transform: scale(1.02);
    box-shadow: 0 4px 4px rgba(0,0,0,0.0);
  }
}



/* =========================
   4) Logos Slider — سكشن اللوجوهات
   ========================= */

/* إعدادات عامة + لون خلفية السكشن */
.s-block--logos-slider {
  --brands-gap: 20px;
  --brands-visible: 8;
  --brands-speed: 80;
  --background-color: #f5f7fa;
}
.s-block.s-block--logos-slider {
  background-color: #ffffff !important;
}

/* إطار الرؤية */
.s-block--logos-slider .brands-viewport {
  overflow: hidden;
  position: relative;
  width: 100%;
}

/* مسار التحريك */
.s-block--logos-slider .brands-track {
  display: flex !important;
  gap: var(--brands-gap);
  align-items: center;
  will-change: transform;
 /* width:500px;*/
}

/* عنصر اللوجو (كارت) */
.s-block--logos-slider .brand-item {
  flex: 0 0 calc(
    (100% - (var(--brands-visible) - 1) * var(--brands-gap))
    / var(--brands-visible)
  );
  height: 120px;
  display: flex; justify-content: center; align-items: center;
  border-radius: 23px;
  background: #fff;
  box-sizing: border-box;
}

/* صورة اللوجو داخل الكارت */
.s-block--logos-slider .brand-item img {
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  /*border-radius: 23px;*/
}


/* =========================
   5) Popular Categories
   ========================= */

/* متغيرات التحكم */
.s-block--categories {
  --pc-section-bg: transparent;
  --pc-card-bg: #ffffff;
  --pc-card-radius: 23px;
  --pc-card-shadow: 0 2px 2px rgba(0,0,0,0.06);
  --pc-card-padding: 14px;
  --pc-gap: 2px;
  --pc-title-size: 16px;
  --pc-title-weight: 700;
  --pc-img-size: 80px;
}

/* حجم الكارد ثابت */
.s-block--categories .slide--cat-entry,
.s-block--categories a.card-1.category-card {
  width: 220px;
  height: 200px;
}

/* خلفية وحواف السكشن */
.s-block--categories .container {
  background: var(--pc-section-bg);
  border-radius: 18px;
}

/* جاب السلايدر */
.s-block--categories .s-slider-container .swiper-wrapper {
  gap: var(--pc-gap) !important;
}

/* محاذاة السلايد */
.s-block--categories .swiper-slide {
  display: flex; justify-content: center;
}

/* شكل الكارد */
.s-block--categories .slide--cat-entry,
.s-block--categories a.card-1.category-card {
  display: flex; flex-direction: column; align-items: center;
  text-decoration: none;
  background: var(--pc-card-bg);
  border-radius: var(--pc-card-radius);
  box-shadow: var(--pc-card-shadow);
  padding: var(--pc-card-padding);
  transition: transform .2s ease, box-shadow .2s ease;
}
.s-block--categories .slide--cat-entry:hover,
.s-block--categories a.card-1.category-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.10);
}

/* صورة/أيقونة */
.s-block--categories .slide--cat-entry img,
.s-block--categories a.card-1.category-card img,
.s-block--categories .slide--cat-entry i.sicon-store {
  width: var(--pc-img-size);
  height: var(--pc-img-size);
  border-radius: 9999px;
  object-fit: cover;
  margin-bottom: 10px;
}
.s-block--categories .slide--cat-entry i.sicon-store {
  display: inline-flex; align-items: center; justify-content: center;
  font-size: calc(var(--pc-img-size) * 0.6);
  background: #f5f5f5; color: #666;
}

/* العنوان */
.s-block--categories .slide--cat-entry h2,
.s-block--categories a.card-1.category-card h6,
.s-block--categories a.card-1.category-card h2 {
  font-size: var(--pc-title-size);
  font-weight: var(--pc-title-weight);
  line-height: 1.4;
  margin: 0;
  text-align: center;
  color: #111;
  max-width: 12ch;
}

/* هوامش السكشن */
.s-block.s-block--categories { margin-top: 60px; margin-bottom: 20px; }

/* أسهم السلايدر */
.s-block--categories .s-slider-nav-arrow {
  width: 38px; height: 38px;
  border-radius: 9999px;
  background: #fff;
  box-shadow: 0 4px 14px rgba(0,0,0,.12);
}

/* موبايل */
@media (max-width: 640px) {
  .s-block--categories {
    --pc-gap: 10px;
    --pc-img-size: 72px;
    --pc-title-size: 13px;
  }
}


/* =========================
   6) Global Tweaks
   ========================= */

/* خلفية الموقع */
body {
  background-color: #FAF8F5; /* شبه أبيض بلمسة دافئة */
}

/* ريديس موحّد للبنرات والكروت والسكاشن */
.banner-entry,
.s-product-card-entry,
.s-block {
  border-radius: 23px !important;
  overflow: hidden;
 /* padding-bottom: 50px;*/
}

/* تكبير عناوين السكاشن للديسكتوب */
@media (min-width: 1024px) {
  section.s-block h2,
  section.s-block h3,
  .s-block__title h2,
  .s-block__title h3 {
    font-size: 28px;
    font-weight: bold;
    line-height: 1.3;
  }
}

/* سكشن آراء العملاء – ديسكتوب */
@media (min-width: 1024px) {
  .s-block--testimonials .s-reviews-header {
    font-size: 28px !important;
    line-height: 1.2;
    font-weight: 700;
  }
  .s-block--testimonials .s-reviews-testimonial__info h2 {
    font-size: 16px !important;
    line-height: 1.4;
    font-weight: 600;
  }
}


/* =========================
   7) Footer — أبيض + لوجو
   ========================= */

/* خلفية الفوتر أبيض + خط فاصل */

.store-footer__inner { border-top: 1px solid #E9E4DD; }

/* استبدال اسم الموقع باللوجو */
.store-footer a > h3{
  font-size: 0;
  line-height: 0;
  position: relative;
  display: inline-block;
  min-height: 0px;  /* كما في كودك */
}
.store-footer a > h3::before{
  content: "";
  display: inline-block;
  width: 160px;   /* كما في كودك */
  height: 160px;  /* كما في كودك */
  background: url("https://cdn.salla.sa/vOoGA/N3MrHkHimAo0BruwC14GBOWc8Anj0PaQyHY9wkaz.png") no-repeat center center;
  background-size: contain;
}


/*******************************
 * Fixed Banner Section
 * تنسيق البانرات الثابتة
 *******************************/

/* يطبّق على كل fixed banners بدون فرض نسبة */
.s-block--fixed-banner .banner--fixed{
  display: block;
  border-radius: 23px;
  overflow: hidden;
  /* شِلنا aspect-ratio */
}

.s-block--fixed-banner .banner--fixed img{
  display: block;
  width: 100%;     /* يعرضها بعرض الكونتينر */
  height: auto;    /* ارتفاع تلقائي حسب نسبة الصورة */
  object-fit: contain;  /* أو cover لو عايز تملى الإطار */
  border-radius: inherit;
}

/* ===== User Menu Dropdown (Profile) ===== */
.salla-user-menu .s-user-menu-wrapper {
  position: relative; /* مرجع للتموضع */
}

salla-user-menu .s-user-menu-dropdown {
  position: absolute;
  inset-inline-end: 0;      /* يمين في RTL */
  top: calc(100% + 8px);    /* أسفل الأفاتار */
  min-width: 260px;
  background: #fff;
  border: 1px solid rgba(0,0,0,.08);
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  z-index: 1000;
}

/* إخفاء/إظهار حسب الكلاس */
salla-user-menu .s-user-menu-toggler {
  display: none;
}
salla-user-menu .s-user-menu-toggler.opened {
  display: block;
}



/* ===== موبايل: 2 برند بس ===== */
@media (max-width: 640px) {
  .s-block--logos-slider {
    --brands-visible: 2;
  }
}











/* ===== Site Preloader (Salla) ===== */
body.no-scroll { overflow: hidden; }

#site-preloader{
  position: fixed;
  inset: 0;
  z-index: 999999;            /* أعلى من أي عنصر في الثيم */
  background: #FFFFFF;        /* شاشة بيضاء */
  display: grid;
  place-items: center;
  opacity: 1;
  transition: opacity .4s ease;
}

#site-preloader .preloader-logo{
  width: 320px;
  height: 320px;
  background: url("https://cdn.salla.sa/vOoGA/N3MrHkHimAo0BruwC14GBOWc8Anj0PaQyHY9wkaz.png") center/contain no-repeat;
  opacity: .95;
}

/* إخفاء سلس */
#site-preloader.is-hidden{
  opacity: 0;
  pointer-events: none;
}

/* (اختياري) حركة خفيفة */
@keyframes pbl-pulse {
  0%,100% { transform: scale(1); opacity: .95; }
  50%     { transform: scale(1.04); opacity: 1; }
}
#site-preloader .preloader-logo { animation: pbl-pulse 1.4s ease-in-out infinite; }