/* ===== ذكاء النصوص – التوكنز: الأساسي #2691D0 | النجوم #FBBF24 | النص #1E1E1E ===== */

/* ===== Header (الرئيسية فقط – شريط عايم فوق الهيرو) ===== */
body.index header.store-header{position:relative;z-index:30}
body.index header .top-navbar{display:none}
body.index header #mainnav{background:transparent;box-shadow:none;margin-top:12px}
body.index header #mainnav .inner{
  width:92%;max-width:1716px;height:64px;margin-inline:auto;
  background:rgba(38,145,208,.4);border-radius:32px;
  box-shadow:0 4px 19px rgba(0,0,0,.07);display:flex;align-items:center}
body.index header #mainnav .inner .container{width:100%;max-width:100%;padding-inline:16px}
body.index header #mainnav.fixed-header .inner{left:0;right:0;top:8px;background:rgba(38,145,208,.92)} /* عند السكرول */
body.index header #mainnav :is(.s-user-menu-login-btn,.sicon-shopping-bag,.s-cart-summary-total,.sicon-menu){color:#fff}
body.index header #mainnav .s-user-menu-login-btn svg path{fill:#fff}           /* أيقونة المستخدم SVG بدون currentColor */
body.index header .navbar-brand img{
  content:url("https://cdn.files.salla.network/other/2029174687/67d3f5ec-63fd-45c3-8933-690da2689d56-standard.png");
  width:auto;height:40px}
@media (min-width:1024px){
  body.index header #mainnav{margin-top:27px}
  body.index header #mainnav .inner{width:86%;height:95px;border-radius:48px}
  body.index header #mainnav .inner .container{padding-inline:40px}
  body.index header #mainnav.fixed-header .inner{top:12px}
  body.index header #mainnav .root-level > a{color:#fff;font-weight:400}
  body.index header #mainnav .main-menu{position:absolute;inset:50% auto auto 50%;translate:-50% -50%;width:max-content}  /* اللينكات في منتصف الشريط على سطر واحد */
  body.index header .navbar-brand img{height:56px}
}

/* ===== Hero (section[component-id="720211482"]) – بعرض الشاشة ===== */
section[component-id="720211482"]{margin-top:-76px}   /* الهيدر 12+64 يتداخل مع الهيرو */
@media (min-width:1024px){section[component-id="720211482"]{margin-top:-122px}}   /* 27+95 */
section[component-id="720211482"] .swiper{padding:0}
section[component-id="720211482"] .swiper-slide{padding:0;margin:0;width:100%;border-radius:0}
section[component-id="720211482"] img{border-radius:0;width:100%;height:auto}
section[component-id="720211482"] .s-slider-nav-arrow{display:none}
@media (max-width: 767px) {
  #photos-0-slider .swiper-slide img {
    content: url("https://cdn.files.salla.network/other/2029174687/1229e4f9-3c29-48d4-839d-e280cc962158-original.png");
    width: 100%;
    height: auto;
    object-fit: contain;
  }
}
/* ===== بانرات التصنيفات (section[component-id="502508612"]) ===== */
section[component-id="502508612"] .grid{gap:24px}
@media (max-width:767px){section[component-id="502508612"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}}  /* 2×2 على الموبايل */
section[component-id="502508612"] .banner-entry{
  height:auto !important;aspect-ratio:744/494;border-radius:12px;background:transparent}

/* ===== بانرات ثابتة بعرض الشاشة ===== */
:is(section[component-id="1626794003"],section[component-id="1841790283"],section[component-id="1033129562"]) .container{
  padding:0;margin:0;max-width:100%;width:100%}
:is(section[component-id="1626794003"],section[component-id="1841790283"],section[component-id="1033129562"]) .banner img{
  width:100%;height:auto;border-radius:0}

/* ===== كروت المنتجات (الرئيسية best-offers-2/4/6/8 + صفحات التصنيف salla-products-list + سلايدر المنتجات المشابهة) ===== */
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) custom-salla-product-card{
  border:1.2px solid #2691D0;border-radius:12px;overflow:hidden}
/* أزرار على الصورة: المفضلة + عرض المنتج (أيقونة العين تفتح صفحة المنتج) */
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-image > salla-button.s-product-card-wishlist-btn{top:auto;bottom:12px;left:calc(50% + 6px);right:auto;z-index:2}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-image > salla-button.s-product-card-wishlist-btn > button.s-product-card-wishlist-btn.s-button-light-outline{
  position:static;width:48px;height:48px;background:#2691D0 !important;color:#fff;border:0 !important;
  border-radius:50%;box-shadow:0 0 12px 2px rgba(0,0,0,.04);opacity:1}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-image > a::after{content:"";position:absolute;bottom:12px;left:calc(50% - 54px);width:48px;height:48px;
  border-radius:50%;background:#2691D0 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z'/%3E%3Ccircle cx='12' cy='12' r='3'/%3E%3C/svg%3E") center/20px no-repeat;box-shadow:0 0 12px 2px rgba(0,0,0,.04)}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-image{height:auto;aspect-ratio:2/3}   /* نفس الارتفاع لكل الصور */
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-image img{width:100%;height:100%;object-fit:cover}   /* بدون أشرطة فاضية */
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-content{text-align:center}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-content-title a,
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-price{
  color:#2691D0;font-weight:500;text-align:center}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-rating{justify-content:center}
:is(#best-offers-2-slider,#best-offers-4-slider,#best-offers-6-slider,#best-offers-8-slider,salla-products-list,salla-products-slider) .s-product-card-content-footer button{
  border:1.2px solid #2691D0;border-radius:5px;color:#2691D0;background:transparent}

/* ===== آراء العملاء (section[component-id="800681798"]) ===== */
section[component-id="800681798"] .s-reviews-header{color:#2691D0;font-weight:400}
section[component-id="800681798"] .s-reviews-testimonial{background:rgba(38,145,208,.3)}

/* ===== بانرات سفلية 3 في صف (section[component-id="1922045601"]) ===== */
section[component-id="1922045601"] .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:24px}
section[component-id="1922045601"] .grid > *{grid-column:auto;grid-row:auto}
@media (max-width:767px){
  section[component-id="1922045601"] .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}   /* 2 في الصف الأول */
  section[component-id="1922045601"] .grid > :last-child{grid-column:1/-1;justify-self:center;width:calc(50% - 6px)}   /* الثالث في المنتصف بنفس الحجم */
}
section[component-id="1922045601"] .banner-entry{
  height:auto !important;aspect-ratio:2.2;border-radius:16px;background:transparent}

/* ===== Footer ===== */
footer.store-footer{background-color:#2691D0}
footer.store-footer .store-footer__inner{background:transparent;color:#fff}
footer.store-footer a{color:#fff}
footer.store-footer :is(a[href*=instagram],a[href*=twitter],a[href*="x.com"],a[href*=snapchat]){background:#fff;border-color:#fff}
footer.store-footer a[href*=instagram]{color:#E4405F}
footer.store-footer :is(a[href*=twitter],a[href*="x.com"]){color:#000}
footer.store-footer a[href*=snapchat]{color:#FFCE00}
footer.store-footer a:has(> h3){font-size:0}   /* يخفي نص العنوان ويفضل في الـDOM */
footer.store-footer a:has(> h3)::before{
  content:"";width:200px;height:80px;
  background:url("https://cdn.files.salla.network/other/2029174687/67d3f5ec-63fd-45c3-8933-690da2689d56-standard.png") center/contain no-repeat}
@media (max-width:1023px){
  footer.store-footer .store-footer__inner{text-align:center}
  footer.store-footer .store-footer__inner :is(a:has(> h3),.s-social-list,.s-contacts-item,.s-menu-footer-list,.s-contacts-list){justify-content:center}
  footer.store-footer .s-menu-footer-list,footer.store-footer .s-contacts-list{align-items:center}
  footer.store-footer .max-w-sm{margin-inline:auto}
}