@import url('https://fonts.googleapis.com/css2?family=Aref+Ruqaa:wght@700&family=IBM+Plex+Sans+Arabic:wght@400;600&family=Noto+Sans:wght@400;700&display=swap');

/* without_aislop — هوية السبوره والطباشير على ثيم سيليا
   الألوان والخطوط من دليل الهوية. لا تضيف لون أو خط من عندك. */

:root{
  --board:#213A30;
  --smudge:#3A5548;
  --chalk:#F3F1E7;
  --yellow:#F6D96B;
  --green:#A9E5C4;
  --dim:#B7C4BC;
  --wood1:#7A5230;
  --wood2:#4E331C;
  --rough:255px 14px 225px 14px/14px 225px 14px 255px;
  --rough2:14px 225px 14px 255px/255px 14px 225px 14px;
  --icon-rough:50% 46% 52% 48%/48% 52% 46% 50%;
}

/* ========== الأساس ========== */
body{
  background:var(--board)!important;
  color:var(--chalk);
  font-family:"IBM Plex Sans Arabic","Noto Sans",Tahoma,sans-serif!important;
  line-height:1.9;
}
h1,h2,h3,
.s-block__title h2,
.s-block__title,
.section-title,
.product-entry__title,
.s-product-card-content-title,
.s-product-card-content-title a,
.product-card__title,
.product-card__title a,
.product-single__info h1,
.product-details h1{
  font-family:"Aref Ruqaa","IBM Plex Sans Arabic",serif!important;
  font-weight:700!important;
}
*{box-shadow:none!important;text-shadow:none!important}
a:hover{color:var(--yellow)}

/* ========== الأزرار ========== */
/* الزر الرئيسي: أصفر، رقعه، ارتفاعه 56 على الأقل. زر الشرا بس. */
.s-button-primary,
.s-button-solid.s-button-primary,
salla-add-product-button .s-button-element,
.s-product-card-content-footer .s-button-element,
.product-card__enhanced-mini-cart .s-button-element,
.product-card__enhnaced-mini-cart__btn .s-button-element{
  background:var(--yellow)!important;
  color:var(--board)!important;
  border:0!important;
  border-radius:var(--rough)!important;
  font-family:"Aref Ruqaa",serif!important;
  font-weight:700!important;
  min-height:56px!important;
  background-image:none!important;
}
.s-button-primary,
.s-button-solid.s-button-primary,
salla-add-product-button .s-button-element{
  color:var(--board)!important;
}
.product-card__enhanced-mini-cart .s-button-element i,
.product-card__enhnaced-mini-cart__btn .s-button-element i,
salla-add-product-button .s-button-element i{
  color:var(--board)!important;
}

/* الزر الثانوي: شفاف بإطار طباشير */
.s-button-outline,
.s-button-primary-outline{
  background:transparent!important;
  color:var(--chalk)!important;
  border:2px solid var(--chalk)!important;
  border-radius:var(--rough2)!important;
}

/* رجّع زر الإضافة للسلة أصفر حتى لو الثيم حاطه outline */
custom-salla-product-card salla-add-product-button .s-button-element,
.product-card__enhanced-mini-cart button.s-button-element,
.product-card__enhnaced-mini-cart__btn .s-button-element,
.sticky-product-bar__btn .s-button-element,
salla-add-product-button.sticky-product-bar__btn .s-button-element{
  background:var(--yellow)!important;
  color:var(--board)!important;
  border:0!important;
  border-radius:var(--rough)!important;
  font-family:"Aref Ruqaa",serif!important;
  font-weight:700!important;
  min-height:56px!important;
}

/* ========== خانات الكتابه ========== */
input,select,textarea,.s-form-control{
  background:var(--smudge)!important;
  color:var(--chalk)!important;
  border:2px solid rgba(243,241,231,.5)!important;
  border-radius:var(--rough2)!important;
}
:focus-visible{outline:3px solid var(--yellow)!important;outline-offset:2px}

/* ========== الهيدر ========== */
header,
.store-header,
.main-nav-container{
  background:var(--board)!important;
  border-bottom:2px solid rgba(243,241,231,.18);
}
.main-menu li a:hover,
.main-menu li.active>a{
  border-bottom:4px solid var(--yellow);
}

/* أيقونات الهيدر: بحث، حساب، سلة، قائمة الجوال — داخل إطار مرسوم باليد */
.header__main-end{
  gap:8px;
  padding-inline-end:8px;
  overflow:visible;
}
.header__main-row,
.header__main-container{
  overflow:visible;
}
/* الحاويات بدون إطار مزدوج؛ الإطار على الزر/الرابط الظاهر */
.header__main-end salla-user-menu,
.header__main-end salla-cart-summary{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:42px!important;
  height:42px!important;
  border:0!important;
  background:transparent!important;
  overflow:visible!important;
  position:relative;
}
.header__main-end [data-selia="header-search-button"],
.header__main-end button[aria-label="Search"],
.header__main-end salla-user-menu .header-btn,
.header__main-end salla-cart-summary .s-cart-summary-wrapper{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:42px!important;
  height:42px!important;
  min-width:42px;
  padding:0!important;
  margin:0!important;
  color:var(--chalk)!important;
  background:transparent!important;
  border:2px solid rgba(243,241,231,.7)!important;
  border-radius:var(--icon-rough)!important;
  box-sizing:border-box;
  position:relative;
  overflow:visible!important;
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
/* قائمة الجوال: الشكل الدائري من غير ما نكسر lg:hidden على الكمبيوتر */
@media (max-width:1023px){
  .header__main-start a.mburger{
    display:inline-flex!important;
    align-items:center;
    justify-content:center;
    width:42px!important;
    height:42px!important;
    min-width:42px;
    padding:0!important;
    margin:0!important;
    color:var(--chalk)!important;
    background:transparent!important;
    border:2px solid rgba(243,241,231,.7)!important;
    border-radius:var(--icon-rough)!important;
    box-sizing:border-box;
    overflow:visible!important;
    transition:color .2s ease,border-color .2s ease,transform .2s ease;
  }
  .header__main-start a.mburger .menu-label{display:none!important}
}
.header__main-end .header-btn__icon,
.header__main-end .header-btn__icon.icon,
.header__main-start a.mburger .sicon-menu{
  margin:0!important;
  width:auto!important;
  height:auto!important;
  color:inherit!important;
  font-size:1.15rem!important;
  display:flex;
  align-items:center;
  justify-content:center;
}
.header__main-end [data-selia="header-search-button"]:hover,
.header__main-end button[aria-label="Search"]:hover,
.header__main-end salla-user-menu:hover,
.header__main-end salla-user-menu .header-btn:hover,
.header__main-end salla-cart-summary:hover,
.header__main-end salla-cart-summary .s-cart-summary-wrapper:hover,
.header__main-start a.mburger:hover{
  color:var(--yellow)!important;
  border-color:var(--yellow)!important;
  transform:translateY(-2px);
}
.header__main-end salla-user-menu .header-btn:hover{opacity:1}

/* عدّاد السلة: دائرة صفرا مائله شوي */
.s-cart-summary-count,
.cart-count{
  background:var(--yellow)!important;
  color:var(--board)!important;
  font-family:"Noto Sans",sans-serif!important;
  font-weight:700!important;
  border-radius:50% 46% 52% 48%!important;
  min-width:18px;
  height:18px;
  line-height:18px;
  padding:0 4px;
  font-size:11px;
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  position:absolute;
  top:-4px;
  right:-4px;
  left:auto;
  z-index:2;
}

/* ========== بطاقة المنتج ========== */
custom-salla-product-card,
.product-card,
.s-product-card-entry,
.product-entry{
  background:var(--smudge)!important;
  border-radius:var(--rough2)!important;
  overflow:hidden;
  border:2px dashed rgba(243,241,231,.35)!important;
  max-width:360px;
  width:100%;
  transition:transform .25s ease,border-color .25s ease;
}
salla-products-list .s-products-list-wrapper,
.s-products-list-vertical-cards{
  justify-content:flex-start;
  align-items:stretch;
}
custom-salla-product-card:hover,
.product-card:hover{
  transform:translateY(-6px);
  border-color:rgba(243,241,231,.7)!important;
}

/* عطّل قفزة المحتوى في hover_style_2 عشان الزر والعنوان يبقون واضحين */
@media(min-width:991px){
  .product-card.hover_style_2:not(.product-card--horizontal):not(.product-card__full-image) .product-card__content{
    background:transparent!important;
    margin-bottom:0!important;
    transform:none!important;
  }
  /* أظهر زر أضف للسلة على الكمبيوتر بعد، مو بس على الجوال */
  .product-card.product-card--enhanced-btn .product-card__enhanced-mini-cart{
    display:block!important;
  }
  .product-card.product-card--enhanced-btn .product-card__enhanced-mini-cart-divider{
    display:block!important;
  }
}

/* الصورة بحواف خشنه */
.product-card__image{
  border-radius:18px 210px 14px 200px / 200px 14px 210px 16px;
  overflow:hidden;
  margin:12px 12px 0;
}
.product-card__image img.main-image,
.product-card__image img{
  border-radius:inherit;
}
.product-card__content,
.product-card__content-wrapper{
  padding:14px 16px 8px!important;
  text-align:center;
}

/* العنوان بالرقعه، طباشير أبيض */
.product-card__title,
.product-card__title a,
.s-product-card-content-title,
.s-product-card-content-title a{
  color:var(--chalk)!important;
  font-family:"Aref Ruqaa","IBM Plex Sans Arabic",serif!important;
  font-weight:700!important;
  font-size:26px!important;
  line-height:1.45!important;
}
.product-card__title a:hover{
  color:var(--yellow)!important;
}

/* خط منقط فوق السعر، والسعر أصفر بخط الأرقام */
.product-card__price,
.product-card .price-wrapper{
  padding-top:14px;
  margin-top:8px;
  border-top:2px dashed rgba(243,241,231,.3);
  justify-content:center;
}
.s-product-card-price,
.s-product-card-sale-price h4,
.price-wrapper .total-price,
.product-price .total-price,
.product-price,
.product-card__price .total-price,
.product-card__price .before-price,
.price{
  color:var(--yellow)!important;
  font-family:"Noto Sans","IBM Plex Sans Arabic",sans-serif!important;
  font-weight:700!important;
}
.product-card__price .total-price{
  font-size:22px!important;
  color:var(--yellow)!important;
}
.product-card__price .before-price,
.s-product-card-starting-price,
.s-product-card-content-subtitle,
.product-card__subtitle{
  color:var(--dim)!important;
  font-family:"Noto Sans","IBM Plex Sans Arabic",sans-serif!important;
}

/* الوسوم بإطار منقط */
.product-card-badge,
.product-card__promotion,
.product-card .tag,
.quickview-tags-tag{
  border:2px dashed var(--chalk)!important;
  border-radius:var(--rough)!important;
  background:transparent!important;
  color:var(--chalk)!important;
  font-family:"IBM Plex Sans Arabic",sans-serif!important;
  font-size:13px;
  padding:2px 14px;
}

/* فاصل الزر خط منقط طباشير، مو رمادي لامع */
.product-card__enhanced-mini-cart-divider{
  border-top:2px dashed rgba(243,241,231,.3)!important;
  margin:4px 12px 0!important;
}
.product-card__enhanced-mini-cart{
  padding:0 12px 14px;
}
.product-card__enhanced-mini-cart button.s-button-element{
  width:100%;
  font-size:22px!important;
  padding:6px 16px!important;
}

/* أيقونات المفضله والمعاينه: إطار طباشير، مو أصفر */
.product-card__actions div button,
.product-card__buttons>div button,
.product-card .btn--wishlist.s-button-element,
.product-card .quickview-btn .s-button-element{
  background:transparent!important;
  color:var(--chalk)!important;
  border:2px solid rgba(243,241,231,.7)!important;
  border-radius:var(--icon-rough)!important;
  min-height:32px!important;
  width:32px!important;
  height:32px!important;
  padding:0!important;
}
.product-card__actions div button:hover,
.product-card__buttons>div button:hover{
  color:var(--yellow)!important;
  border-color:var(--yellow)!important;
  background:transparent!important;
}
.product-card__actions div button i,
.product-card__buttons>div button i{
  color:inherit!important;
  fill:currentColor!important;
}

/* ========== الفوتر ========== */
footer,
.store-footer{
  background:var(--board)!important;
  border-top:2px solid rgba(243,241,231,.18);
}
footer::after,
.store-footer::after{
  content:"";
  display:block;
  height:34px;
  background:var(--wood1);
  border-top:6px solid var(--wood2);
}
footer>div,
footer>section,
footer>div>div,
.store-footer>div{
  background-color:#213A30!important;
}
footer li:has(a[href*="blog"]){display:none!important}

/* منحنى الفوتر يبقى بلون السبوره. لا تلوّن شعارات الدفع. */
footer .store-footer__curve,
footer .store-footer__curve path,
.store-footer svg.store-footer__curve,
.store-footer svg.store-footer__curve path{
  fill:var(--board)!important;
}

/* أيقونات السوشال: كانت مختفيه لأن fill كان بلون السبوره */
salla-social.store-footer__social,
.store-footer__social .s-social-list{
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  flex-wrap:wrap;
}
salla-social .s-social-link a,
.store-footer__social .s-social-link a,
salla-social.rounded_contacts a{
  display:inline-flex!important;
  align-items:center;
  justify-content:center;
  width:42px;
  height:42px;
  color:var(--chalk)!important;
  background:transparent!important;
  border:2px solid rgba(243,241,231,.7)!important;
  border-radius:var(--icon-rough)!important;
  opacity:1!important;
  transition:color .2s ease,border-color .2s ease,transform .2s ease;
}
salla-social .s-social-icon,
salla-social .s-social-icon svg{
  width:18px;
  height:18px;
  display:block;
}
salla-social svg,
salla-social svg path,
salla-social .s-social-icon svg,
salla-social .s-social-icon svg path{
  fill:var(--chalk)!important;
  color:var(--chalk)!important;
}
salla-social .s-social-link a:hover,
.store-footer__social .s-social-link a:hover,
salla-social.rounded_contacts a:hover{
  color:var(--yellow)!important;
  border-color:var(--yellow)!important;
  transform:translateY(-2px);
}
salla-social .s-social-link a:hover svg,
salla-social .s-social-link a:hover svg path,
salla-social.rounded_contacts a:hover svg,
salla-social.rounded_contacts a:hover svg path{
  fill:var(--yellow)!important;
}

/* أزرار واتساب والجوال: واضحه بإطار طباشير */
selia-contacts .enhanced-contact-item,
.enhanced_rounded_contacts .enhanced-contact-item{
  color:var(--chalk)!important;
  background:transparent!important;
  border:2px solid rgba(243,241,231,.55)!important;
  border-radius:var(--rough2)!important;
  min-height:44px;
  padding:8px 16px!important;
  opacity:1!important;
}
selia-contacts .enhanced-contact-item i,
.enhanced_rounded_contacts .enhanced-contact-item i{
  color:inherit!important;
  border:0!important;
  background:transparent!important;
}
selia-contacts .enhanced-contact-item:hover,
.enhanced_rounded_contacts .enhanced-contact-item:hover{
  color:var(--yellow)!important;
  border-color:var(--yellow)!important;
}

/* شعارات الدفع تبقى صورها زي ما هي */
salla-payments,
salla-payments img,
.s-payments-list,
.s-payments-list-item,
.s-payments-sbc-image{
  filter:none!important;
}
salla-payments svg,
salla-payments svg path{
  fill:unset;
}

/* banner: keep homepage header from covering the fixed banner */
body.index.trans_header .store-header{
position:relative!important;
}
body.index.trans_header main>.s-block--fixed-banner,
body.index.trans_header main>salla-hook+.s-block--fixed-banner{
margin-top:0!important;
}

/* center home products */
.s-products-list-vertical-cards{display:flex!important;flex-wrap:wrap;justify-content:center;gap:24px}
.s-products-list-vertical-cards>custom-salla-product-card{width:280px;max-width:100%;flex:0 0 auto}
#featured-products-style2-1 .s-products-list-vertical-cards{display:flex!important;flex-wrap:wrap!important;justify-content:center!important;align-items:flex-start;gap:24px!important;width:100%;margin-inline:auto!important}
#featured-products-style2-1 .s-products-list-vertical-cards>custom-salla-product-card{margin-inline:0!important;float:none!important}
/* equal home cards */
#featured-products-style2-1 .s-products-list-vertical-cards{align-items:stretch!important}
#featured-products-style2-1 .s-products-list-vertical-cards>custom-salla-product-card{display:flex!important;flex-direction:column;height:auto!important}
#featured-products-style2-1 custom-salla-product-card .product-card__content{display:flex!important;flex-direction:column;flex:1 1 auto;height:100%}
#featured-products-style2-1 custom-salla-product-card .product-card__content-wrapper{display:flex!important;flex-direction:column;flex:1 1 auto;height:100%}
#featured-products-style2-1 custom-salla-product-card .product-card__title{min-height:3.6em}
#featured-products-style2-1 custom-salla-product-card .product-card__subtitle{margin-bottom:0!important}
#featured-products-style2-1 custom-salla-product-card .product-card__price{margin-top:auto!important}