/* =====================================================================
   SMORES
   ===================================================================== */

@import url('https://fonts.googleapis.com/css2?family=IBM+Plex+Sans:wght@400;500&family=Playfair+Display:ital,wght@0,400..900;1,400..900&display=swap');

/* ---------- 1) Tokens (نفس قيم المتجر الأصلي) ---------- */
html:root{
  --sm-bg:#F9F7F4;          /* --background */
  --sm-fg:#141211;          /* --foreground  oklch(0.185 0.004 75) */
  --sm-muted:#EFECE8;       /* --muted       oklch(0.945 0.007 80) */
  --sm-mfg:#67625C;         /* --muted-foreground oklch(0.5 0.012 75) */
  --sm-border:#DFDCD7;      /* --border      oklch(0.895 0.008 80) */
  --sm-accent:#BA470F;      /* --accent      oklch(0.548 0.161 41.2) */
  --sm-serif:'Playfair Display',Georgia,serif;
  --sm-sans:'IBM Plex Sans','Segoe UI',Tahoma,Arial,sans-serif;
  --sm-ease:cubic-bezier(.16,1,.3,1);   /* motion: ease [0.16,1,0.3,1] */
  --sm-tw:cubic-bezier(.4,0,.2,1);      /* Tailwind default ease */
  --sm-head:56px;

  /* متغيرات سيليا */
  --font-main:'IBM Plex Sans';
  --color-primary:#141211;
  --color-primary-dark:#000000;
  --color-primary-light:#3A3734;
  --color-primary-reverse:#F9F7F4;
  --bg-primary:#F9F7F4;
  --bg-secondary:#F9F7F4;
  --store-text-primary:#141211;
  --store-text-secondary:#67625C;
  --product-bg:transparent;
  --product-border-color:#DFDCD7;
  --s-radius:0;
  --header-bg:#F9F7F4;
  --header-text-color:#141211;
  --footer-bg:#F9F7F4;
  --footer-text-color:#141211;
}
@media (min-width:768px){ html:root{ --sm-head:64px } }

html.selia-theme body,
html.selia-theme button,
html.selia-theme input,
html.selia-theme select,
html.selia-theme textarea{ font-family:var(--sm-sans) }
html.selia-theme body{ background:var(--sm-bg); color:var(--sm-fg) }
html.selia-theme .sm-serif{ font-family:var(--sm-serif); text-transform:uppercase; letter-spacing:.12em }
html.selia-theme .s-button-element{ border-radius:0 }

/* ---------- 2) Header ثابت، شفاف فوق الهيرو ---------- */
html.selia-theme .store-header{
  position:fixed !important; top:0; left:0; right:0; z-index:40;
  background:rgba(249,247,244,.85) !important;
  -webkit-backdrop-filter:blur(12px); backdrop-filter:blur(12px);
  border-bottom:1px solid var(--sm-border);
  color:var(--sm-fg);
  box-shadow:none !important;
  transition:background-color .3s var(--sm-tw),border-color .3s var(--sm-tw),color .3s var(--sm-tw);
}
html.sm-home:not(.sm-scrolled) .store-header{
  background:transparent !important; border-bottom-color:transparent;
  -webkit-backdrop-filter:none; backdrop-filter:none; color:#fff;
}
html.sm-home:not(.sm-scrolled) .store-header{ --header-text-color:#fff }
/* سيليا بيثبّت الهيدر بطريقته (fixed-header / fixed-pinned) — بنلغيها عشان نستخدم الهيدر الثابت بتاعنا */
html.selia-theme .store-header .main-nav-container{
  height:auto !important; min-height:0 !important; padding:0 !important; margin:0 !important;
  position:static !important; transform:none !important; top:auto !important; animation:none !important;
}
html.selia-theme .store-header .main-nav-container .inner{ position:static !important; top:auto !important; transform:none !important; padding:0 !important }
html.selia-theme .store-header .main-nav-container,
html.selia-theme .store-header .inner{ background:transparent !important; box-shadow:none !important }
html.selia-theme .store-header .main-nav-container,
html.selia-theme .store-header .inner,
html.selia-theme .header__main-container,
html.selia-theme .header__main-row,
html.selia-theme .header__brand,
html.selia-theme .header__main-start,
html.selia-theme .header__main-end{ color:inherit !important }
/* شريط أعلى الهيدر وشريط العروض وقوائم سيليا: مش موجودين في الأصل */
html.selia-theme .top-navbar,
html.selia-theme .promotion-banner,
html.selia-theme .store-header custom-main-menu,
html.selia-theme .store-header .main-menu-row{ display:none !important }
html.selia-theme .store-header > .lg\:hidden,
html.selia-theme .store-header .mburger,
html.selia-theme .store-header salla-user-menu,
html.selia-theme .store-header .header__search-btn,
html.selia-theme .store-header .kh-header-bookmark,
html.selia-theme .store-header .s-cart-summary-content,
html.selia-theme .store-header .navbar-brand img,
html.selia-theme .store-header .menu-label,
html.selia-theme .scroll-to-top,
html.selia-theme .store-header .mobile-menu{ display:none !important }

html.selia-theme .header__main-container{ max-width:80rem; margin:0 auto; padding:0 16px !important }
@media (min-width:768px){ html.selia-theme .header__main-container{ padding:0 32px !important } }
html.selia-theme .header__main-row{
  display:flex !important; align-items:center; justify-content:space-between;
  height:var(--sm-head); min-height:0 !important; padding:0 !important;
}
html.selia-theme .header__brand{ order:1; width:auto !important; flex:none; align-items:flex-start !important }
/* بعض نسخ سيليا بتحط الشعار جوه header__main-start: نفكّها عشان يبقى (الشعار · القائمة · السلة) */
html.selia-theme .header__main-start{ display:contents !important }
html.selia-theme .header__main-start > :not(.sm-nav):not(.navbar-brand){ display:none !important }
html.selia-theme .header__main-start > .navbar-brand{ order:1; display:flex !important; align-items:center; flex:none; margin:0 !important }
html.selia-theme .header__main-start > .sm-nav{ order:2 }
html.selia-theme .header__main-end{ order:3; width:auto !important; flex:none }
html.selia-theme .header__main-end > :not(salla-cart-summary){ display:none !important }
html.selia-theme .header__main-end salla-cart-summary{ margin:0 !important }

html.selia-theme .sm-brand{
  font-family:var(--sm-serif); font-size:18px; line-height:28px;
  text-transform:uppercase; letter-spacing:.24em; color:inherit; white-space:nowrap;
}
@media (min-width:768px){ html.selia-theme .sm-brand{ font-size:20px } }
html.selia-theme .store-header .navbar-brand{ color:inherit !important }

/* القائمة: الرئيسية · التشكيلة (بيبنيها الـ JS بنفس روابط الأصل) */
html.selia-theme .sm-nav{ display:none; align-items:center; gap:40px; font-size:14px; line-height:20px }
@media (min-width:768px){ html.selia-theme .sm-nav{ display:flex } }
html.selia-theme .sm-nav a{ color:inherit !important; transition:color .15s var(--sm-tw)}
html.selia-theme .sm-nav a:hover{ color:var(--sm-accent) !important }

/* أيقونة السلة = ShoppingBag من lucide بنفس السُمك 1.5 */
html.selia-theme .store-header .s-cart-summary-wrapper{
  position:relative; width:44px; height:44px; display:flex; align-items:center; justify-content:center;
  color:inherit !important; margin:0 !important; transition:opacity .15s var(--sm-tw);
}
html.selia-theme .store-header .s-cart-summary-wrapper:hover{ opacity:.7 }
html.selia-theme .store-header #s-cart-icon{ display:none !important }
html.selia-theme .store-header .s-cart-summary-wrapper::before{
  content:""; width:20px; height:20px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html.selia-theme .store-header .s-cart-summary-count{
  position:absolute; top:-2px; inset-inline-end:-2px; margin:0 !important;
  height:20px; min-width:20px; padding:0 4px; border-radius:999px;
  display:flex; align-items:center; justify-content:center;
  background:var(--sm-accent) !important; color:#fff !important; font-size:11px; font-weight:500; line-height:1;
}
html.selia-theme .store-header .s-cart-summary-count[data-sm-zero]{ display:none !important }

/* كل الصفحات غير الرئيسية: مسافة الهيدر الثابت */
html.selia-theme:not(.sm-home) main{ padding-top:var(--sm-head) }

/* ---------- 3) Hero (advanced-slider → نفس سلايدر الأصل) ---------- */
html.sm-home .sm-hero{
  position:relative; height:100svh !important; width:100%; overflow:hidden; background:#000;
  margin:0 !important; padding:0 !important; max-width:none !important; border-radius:0 !important;
}
html.sm-home .sm-hero > :not(.sm-gal):not(.sm-hero__shade):not(.sm-hero__copy){ display:none !important }
html.sm-home .sm-hero .sm-hero__gal{ position:absolute; inset:0; aspect-ratio:auto; height:100%; background:#000 }
html.sm-home .sm-hero .sm-hero__gal img{ object-fit:cover; scroll-snap-stop:always }
html.sm-home .sm-hero .sm-gal__track{ overscroll-behavior-x:contain; scroll-behavior:auto }

.sm-hero__shade{
  pointer-events:none; position:absolute; inset:0; z-index:2;
  background:linear-gradient(to bottom,rgba(0,0,0,.4),rgba(0,0,0,.05),rgba(0,0,0,.6));
}
.sm-hero__copy{
  pointer-events:none; position:absolute; left:0; right:0; bottom:0; z-index:3;
  display:flex; flex-direction:column; align-items:center; gap:12px; padding-bottom:48px; color:#fff;
}
.sm-hero__mark{
  margin:0; font-family:var(--sm-serif); font-weight:400; text-transform:uppercase; line-height:1;
  font-size:clamp(3.4rem,12vw,8.5rem); letter-spacing:.12em; filter:drop-shadow(0 1px 2px rgba(0,0,0,.15));
}
.sm-hero__sub{
  margin:0; font-family:var(--sm-serif); font-size:12px; line-height:1; text-transform:uppercase;
  letter-spacing:.65em; color:rgba(255,255,255,.9);
}
@media (min-width:768px){ .sm-hero__sub{ font-size:14px } }
.sm-dots{ pointer-events:auto; margin-top:20px; display:flex; align-items:center; gap:8px; direction:ltr }
.sm-dot{
  height:6px; width:6px; border-radius:999px; border:0; padding:0; cursor:pointer;
  background:rgba(255,255,255,.55); transition:width .3s var(--sm-tw),background-color .3s var(--sm-tw);
}
.sm-dot:hover{ background:rgba(255,255,255,.85) }
.sm-dot.is-on{ width:24px; background:#fff }

/* ---------- 4) The Collection ---------- */
/* عنوان الثيم وكروته: مخفيين دايمًا (سيليا بتفرض display:block على .home-block-title) */
html.selia-theme .sm-collection > :not(.sm-collection__in){ display:none !important }
html.selia-theme .sm-collection{
  border-top:1px solid var(--sm-border); margin:0 !important; background:var(--sm-bg) !important;
  padding:0 !important; max-width:none !important;
}
html.selia-theme .sm-collection__in{ max-width:80rem; margin:0 auto; padding:56px 16px }
@media (min-width:768px){ html.selia-theme .sm-collection__in{ padding:80px 32px } }
html.selia-theme .sm-collection .home-block-title{
  display:block !important; text-align:start !important; padding:0 !important; margin:0 !important; max-width:none !important;
}
html.selia-theme .sm-collection .custom-products__title,
html.selia-theme .sm-collection .home-block-title h2{
  font-family:var(--sm-serif) !important; font-weight:400 !important; font-size:20px !important; line-height:28px !important;
  text-transform:uppercase; letter-spacing:.2em; color:var(--sm-fg) !important; margin:0 !important; text-align:start !important;
}
@media (min-width:768px){
  html.selia-theme .sm-collection .custom-products__title,
  html.selia-theme .sm-collection .home-block-title h2{ font-size:30px !important; line-height:36px !important }
}
html.selia-theme .sm-collection .custom-products__subtitle,
html.selia-theme .sm-collection .enhanced-title-border,
html.selia-theme .sm-collection .home-block-line,
html.selia-theme .sm-collection .custom-products__view-all-wrap,
html.selia-theme .sm-collection .s-slider-block__title,
html.selia-theme .sm-collection .swiper-pagination,
html.selia-theme .sm-collection .swiper-button-next,
html.selia-theme .sm-collection .swiper-button-prev{ display:none !important }

html.selia-theme .sm-collection__title{
  margin:0; font-family:var(--sm-serif); font-weight:400; font-size:20px; line-height:28px;
  text-transform:uppercase; letter-spacing:.2em; color:var(--sm-fg);
}
@media (min-width:768px){ html.selia-theme .sm-collection__title{ font-size:30px; line-height:36px } }
html.selia-theme .sm-grid{
  margin-top:32px; display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); column-gap:12px; row-gap:40px;
}
@media (min-width:768px){ html.selia-theme .sm-grid{ margin-top:40px; column-gap:32px } }

/* الكارت */
html.selia-theme .sm-card{ display:block; color:var(--sm-fg) }
html.selia-theme .sm-card a{ color:inherit }
.sm-gal{ position:relative; overflow:hidden; aspect-ratio:4/5; background:var(--sm-muted); direction:ltr }
@media (min-width:768px){ .sm-gal--card{ aspect-ratio:3/4 } }
.sm-gal__track{
  display:flex; height:100%; overflow-x:auto; scroll-snap-type:x mandatory; scroll-behavior:smooth;
  scrollbar-width:none; -ms-overflow-style:none;
}
.sm-gal__track::-webkit-scrollbar{ display:none }
.sm-gal__track img{ flex:none; width:100%; height:100%; object-fit:cover; scroll-snap-align:center; display:block; user-select:none; -webkit-user-drag:none }
.sm-gal--link .sm-gal__track img{ cursor:pointer }
.sm-gal__dots{ pointer-events:none; position:absolute; left:0; right:0; bottom:16px; display:flex; justify-content:center }
.sm-gal__pill{
  pointer-events:auto; display:flex; align-items:center; gap:8px; border-radius:999px;
  background:rgba(0,0,0,.25); padding:8px 12px; -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px);
}
.sm-gal__arrow{
  position:absolute; top:50%; transform:translateY(-50%); width:44px; height:44px; border-radius:999px; border:0;
  display:none; align-items:center; justify-content:center; color:#fff; background:rgba(0,0,0,.3);
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); opacity:0; transition:opacity .3s var(--sm-tw); cursor:pointer;
}
.sm-gal__arrow:hover{ background:rgba(0,0,0,.5) }
.sm-gal__arrow--l{ left:16px } .sm-gal__arrow--r{ right:16px }
@media (min-width:768px){ .sm-gal__arrow{ display:flex } .sm-gal:hover .sm-gal__arrow{ opacity:1 } }
.sm-gal__arrow svg{ width:20px; height:20px }

.sm-card__link{ display:block }
.sm-card__row{ display:flex; flex-direction:column; gap:8px; padding-top:16px }
@media (min-width:768px){ .sm-card__row{ flex-direction:row; align-items:flex-start; justify-content:space-between; gap:16px; padding-top:20px } }
.sm-card__title{
  margin:0; min-width:0; overflow:hidden; text-overflow:ellipsis; white-space:nowrap;
  font-family:var(--sm-serif); font-weight:400; font-size:11px; line-height:1.25; text-transform:uppercase; letter-spacing:.025em;
  transition:color .15s var(--sm-tw);
}
@media (min-width:768px){ .sm-card__title{ font-size:18px } }
.sm-card__link:hover .sm-card__title{ color:var(--sm-accent) }
.sm-card__price{ margin:0; white-space:nowrap; font-size:14px; line-height:20px; font-weight:500 }
@media (min-width:768px){ .sm-card__price{ font-size:18px; line-height:28px } }
.sm-cta{
  margin-top:16px; display:inline-flex; height:44px; align-items:center; gap:8px; border:1px solid var(--sm-fg);
  padding:0 16px; font-size:12px; line-height:16px; transition:color .3s var(--sm-tw),background-color .3s var(--sm-tw);
}
@media (min-width:768px){ .sm-cta{ padding:0 24px; font-size:14px; line-height:20px } }
.sm-card__link:hover .sm-cta{ background:var(--sm-fg); color:var(--sm-bg) }
.sm-cta svg{ width:16px; height:16px }

/* ظهور ناعم زي motion في الأصل */
.sm-reveal{ opacity:0; transform:translateY(24px); transition:opacity .55s var(--sm-ease),transform .55s var(--sm-ease) }
.sm-reveal.sm-in{ opacity:1; transform:none }
@media (prefers-reduced-motion:reduce){
  .sm-reveal{ opacity:1; transform:none; transition:none }
  .sm-gal__track{ scroll-behavior:auto }
}

/* ---------- 5) Footer ---------- */
html.selia-theme .store-footer{
  background:var(--sm-bg) !important; color:var(--sm-fg) !important; border:0 !important;
  margin:0 !important; padding:0 !important;
}
html.selia-theme .store-footer.sm-footer-on > :not(.sm-footer){ display:none !important }
.sm-footer{ max-width:80rem; margin:0 auto; padding:64px 16px }
@media (min-width:768px){ .sm-footer{ padding:80px 32px } }
.sm-footer__mark{ margin:0; font-family:var(--sm-serif); font-size:36px; line-height:40px; text-transform:uppercase; letter-spacing:.16em }
@media (min-width:768px){ .sm-footer__mark{ font-size:60px; line-height:1 } }
.sm-footer__nav{ margin-top:40px; max-width:28rem; border-top:1px solid var(--sm-border) }
.sm-footer__nav a{
  display:flex; align-items:center; justify-content:space-between; border-bottom:1px solid var(--sm-border);
  padding:16px 0; font-size:14px; line-height:20px; font-weight:500; color:var(--sm-fg) !important; transition:color .15s var(--sm-tw);
}
.sm-footer__nav a:hover{ color:var(--sm-accent) !important }
.sm-footer__nav a svg{ width:16px; height:16px; transition:transform .3s var(--sm-tw)}
.sm-footer__nav a:hover svg{ transform:translateX(-4px) }
/* السوشيال ميديا: أيقونات خطية هادية بنفس لغة الفوتر */
.sm-social{ margin-top:32px; display:flex; align-items:center; gap:4px; margin-inline-start:-12px }
.sm-social a{
  width:44px; height:44px; display:inline-flex; align-items:center; justify-content:center;
  color:var(--sm-fg) !important; transition:color .15s var(--sm-tw), transform .3s var(--sm-tw);
}
.sm-social a:hover{ color:var(--sm-accent) !important; transform:translateY(-2px) }
.sm-social a:focus-visible{ outline:1px solid var(--sm-fg); outline-offset:-4px }
.sm-social svg{ width:20px; height:20px }
.sm-social a[data-k="tiktok"] svg, .sm-social a[data-k="twitter"] svg{ width:17px; height:17px }
@media (prefers-reduced-motion: reduce){ .sm-social a, .sm-social a:hover{ transition:none; transform:none } }
.sm-footer__copy{ margin:40px 0 0; font-size:12px; line-height:16px; color:var(--sm-mfg) }
/* بيانات التوثيق والرقم الضريبي (إلزامية) — صغيرة تحت الحقوق */
.sm-footer__legal salla-trust-badges{ gap:8px !important }
.sm-footer__legal{ margin-top:16px; display:flex; flex-wrap:wrap; align-items:center; gap:12px; opacity:.75; font-size:11px; color:var(--sm-mfg) }
.sm-footer__legal img{ max-height:28px; width:auto }
.sm-footer__legal *{ margin:0 !important }

/* ---------- 6) صفحة المنتج ---------- */
html.selia-theme body.product-single main{ padding-bottom:96px }
html.selia-theme body.product-single .container--breadcrumbs,
html.selia-theme body.product-single .container--product-details{ max-width:80rem; padding-left:16px; padding-right:16px }
@media (min-width:768px){
  html.selia-theme body.product-single main{ padding-top:96px }
  html.selia-theme body.product-single .container--breadcrumbs,
  html.selia-theme body.product-single .container--product-details{ padding-left:32px; padding-right:32px }
}
@media (max-width:767px){ html.selia-theme body.product-single main{ padding-top:80px } }

html.selia-theme .breadcrumbs{ padding:0 0 24px !important; font-size:12px; color:var(--sm-mfg) }
html.selia-theme .s-breadcrumb-item,
html.selia-theme .s-breadcrumb-item a{ font-size:12px !important; color:var(--sm-mfg) !important; font-weight:400 !important }
html.selia-theme .s-breadcrumb-item a:hover{ color:var(--sm-fg) !important }
html.selia-theme .s-breadcrumb-item:last-child{ color:var(--sm-fg) !important }
html.selia-theme .s-breadcrumb-wrapper{ display:flex; align-items:center; gap:8px; flex-wrap:wrap }
html.selia-theme .s-breadcrumb-arrow{ font-size:0 !important; width:12px; height:12px; color:var(--sm-mfg); display:inline-flex; margin:0 !important }
html.selia-theme .s-breadcrumb-arrow *{ display:none !important }
html.selia-theme .s-breadcrumb-arrow::before{
  content:""; width:12px; height:12px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m15 18-6-6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
}

html.selia-theme .product-single__columns{
  display:grid !important; grid-template-columns:1fr; gap:40px;
}
@media (min-width:768px){
  html.selia-theme .product-single__columns{ grid-template-columns:repeat(12,minmax(0,1fr)); gap:56px }
  html.selia-theme .product-single__columns > .product-single__slider{ grid-column:span 7; position:static !important }
  html.selia-theme .product-single__columns > .product-single__info{ grid-column:span 5; position:sticky; top:96px; align-self:start }
}
@media (max-width:767px){
  html.selia-theme body.product-single .container--product-details{ padding-left:0; padding-right:0 }
  html.selia-theme .product-single__info{ padding:0 16px }
}
html.selia-theme .product-single__columns > *{ width:auto !important; max-width:none !important; margin:0 !important; padding-top:0 }

/* المعرض: صور بارتفاع الشاشة + نفس النقط */
html.selia-theme .sm-pgal{ height:75svh; aspect-ratio:auto }
@media (min-width:768px){ html.selia-theme .sm-pgal{ height:86vh } }
html.selia-theme .product-single__slider.sm-has-gal .product-single__slider__inner{ display:none !important }

/* ترتيب العمود */
html.selia-theme .product-single__info{ display:flex !important; flex-direction:column; gap:0 }
html.selia-theme .product-single__info > *{ order:20 }
html.selia-theme .product-single__info > .sm-badge{ order:1 }
html.selia-theme .product-single__info > .product-single__title{ order:2 }
html.selia-theme .product-single__info > .product-single-top-description{ order:3 }
html.selia-theme .product-single__info > div:has(> .starting-or-normal-price){ order:4 }
html.selia-theme .product-single__info > form.product-form{ order:5 }

html.selia-theme .product-single__brand-row,
html.selia-theme .product-single__stock-info,
html.selia-theme .product-single__discounted-amount,
html.selia-theme .product-single__info salla-cashback-banner,
html.selia-theme .product-single__info salla-installment,
html.selia-theme .product-single__info salla-bought-together,
html.selia-theme .product-single__info salla-verified-review,
html.selia-theme .product-single__info salla-quick-order,
html.selia-theme .product-single salla-quick-order,
html.selia-theme .product-single__info .link--primary,
html.selia-theme form.product-form > div.bg-storeBG,
html.selia-theme .sticky-product-bar__quantity,
html.selia-theme .sticky-product-bar salla-quick-buy,
html.selia-theme .sticky-product-bar salla-mini-checkout-widget,
html.selia-theme body.product-single .product-more-info,
html.selia-theme body.product-single .s-block--bundle-similar-products,
html.selia-theme body.product-single .s-blocks-wrapper:not(.s-before-product-info){ display:none !important }

html.selia-theme .sm-badge{ margin:0; font-size:11px; line-height:16px; text-transform:uppercase; letter-spacing:.35em; color:var(--sm-mfg) }
html.selia-theme .product-single__title{
  margin:16px 0 0 !important; font-family:var(--sm-serif) !important; font-weight:400 !important;
  font-size:30px !important; line-height:1.25 !important; text-transform:uppercase; letter-spacing:.025em; color:var(--sm-fg) !important;
}
@media (min-width:768px){ html.selia-theme .product-single__title{ font-size:36px !important } }
html.selia-theme .product-single-top-description{ margin:16px 0 0 !important }
html.selia-theme .product-single__info > .sm-pdesc{ order:3; margin:16px 0 0; font-size:14px; line-height:1.625; color:var(--sm-mfg); font-weight:400 }
html.selia-theme .sm-pdesc:empty{ display:none }
html.selia-theme .product-single-top-description .article{ max-height:none !important; overflow:visible !important }
html.selia-theme .product-single-top-description .article::after{ display:none !important }
html.selia-theme .product-single-top-description,
html.selia-theme .product-single-top-description *{
  font-size:14px !important; line-height:1.625 !important; color:var(--sm-mfg) !important; font-weight:400 !important; margin:0 !important;
}
html.selia-theme .product-single__info > div:has(> .starting-or-normal-price){ margin-top:28px }
/* العملة "ر.س" نص زي الأصل بدل أيقونة الريال */
html.selia-theme .product-single__info .sicon-sar::before{ content:"ر.س" !important; font-family:var(--sm-sans) !important; font-style:normal }
html.selia-theme .product-single__info .total-price{
  font-size:24px !important; line-height:32px !important; font-weight:500 !important; color:var(--sm-fg) !important;
}

/* المقاس */
html.selia-theme .s-product-options-wrapper{ margin-top:32px; display:block }
html.selia-theme .s-product-options-option-container{ margin:0 !important; padding:0 !important; border:0 !important }
html.selia-theme .s-product-options-option{ display:block !important; padding:0 !important; border:0 !important; background:none !important }
html.selia-theme .s-product-options-option-label{ display:block !important; margin:0 !important; padding:0 !important }
html.selia-theme .s-product-options-option-label b{ font-size:14px; line-height:20px; font-weight:500; color:var(--sm-fg) }
html.selia-theme .s-product-options-option-label b span,
html.selia-theme .s-product-options-option-label small{ display:none !important }
html.selia-theme .s-product-options-grid-mode{
  margin-top:12px !important; display:grid !important; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px !important;
}
html.selia-theme .s-product-options-grid-mode{ justify-items:stretch !important }
html.selia-theme .s-product-options-grid-mode label{ position:relative; margin:0 !important; display:block !important; width:100% !important; max-width:none !important; min-width:0 !important; justify-self:stretch !important; flex:none !important }
html.selia-theme .s-product-options-grid-mode input{ position:absolute; opacity:0; inset:0; margin:0; cursor:pointer }
html.selia-theme .s-product-options-grid-mode-span{
  height:48px !important; width:100% !important; min-width:0 !important; max-width:none !important; display:flex !important; align-items:center; justify-content:center;
  border:1px solid var(--sm-border) !important; border-radius:0 !important; background:transparent !important;
  color:var(--sm-fg) !important; font-size:14px !important; font-weight:400 !important; padding:0 !important;
  box-shadow:none !important; transition:color .2s var(--sm-tw),background-color .2s var(--sm-tw),border-color .2s var(--sm-tw);
}
html.selia-theme .s-product-options-grid-mode label:hover .s-product-options-grid-mode-span{ border-color:var(--sm-fg) !important }
html.selia-theme .s-product-options-grid-mode input:checked + .s-product-options-grid-mode-span{
  background:var(--sm-fg) !important; color:var(--sm-bg) !important; border-color:var(--sm-fg) !important;
}
html.selia-theme .s-product-options-grid-mode input:focus-visible + .s-product-options-grid-mode-span{ outline:2px solid var(--sm-accent); outline-offset:2px }

/* المقاس لما سلة بتعرضه قائمة منسدلة: نخفي القائمة ونعرض مربعات بنفس شكل الأصل */
html.selia-theme .sm-select-hidden{ display:none !important }
.sm-sizes{ margin-top:12px; display:grid; grid-template-columns:repeat(5,minmax(0,1fr)); gap:8px }
.sm-size{
  height:48px; width:100%; display:flex; align-items:center; justify-content:center;
  border:1px solid var(--sm-border); border-radius:0; background:transparent; color:var(--sm-fg);
  font-family:var(--sm-sans); font-size:14px; font-weight:400; cursor:pointer; padding:0;
  transition:color .2s var(--sm-tw),background-color .2s var(--sm-tw),border-color .2s var(--sm-tw);
}
.sm-size:hover{ border-color:var(--sm-fg) }
.sm-size.is-on{ background:var(--sm-fg); color:var(--sm-bg); border-color:var(--sm-fg) }
.sm-size:focus-visible{ outline:2px solid var(--sm-accent); outline-offset:2px }
.sm-size.is-out{ color:var(--sm-mfg); text-decoration:line-through; cursor:not-allowed; opacity:.5 }

/* دليل المقاسات */
.sm-sg-trigger{
  margin-top:16px; display:inline-flex; align-items:center; gap:8px; background:none; border:0; padding:0; cursor:pointer;
  font-size:14px; line-height:20px; color:var(--sm-fg); text-decoration:underline;
  text-decoration-color:rgba(20,18,17,.4); text-underline-offset:6px; transition:text-decoration-color .15s var(--sm-tw);
}
.sm-sg-trigger:hover{ text-decoration-color:var(--sm-fg) }
.sm-sg-trigger svg{ width:16px; height:16px }
.sm-sheet{ position:fixed; inset:0; z-index:50; display:none }
.sm-sheet.is-open{ display:block }
/* Overlay: bg-black/10 + backdrop-blur-xs · transition-opacity 150ms */
.sm-sheet__bg{
  position:absolute; inset:0; background:rgba(0,0,0,.1); opacity:0;
  -webkit-backdrop-filter:blur(4px); backdrop-filter:blur(4px); transition:opacity .15s var(--sm-tw);
}
/* Content (side=bottom): opacity + translateY(2.5rem) · 200ms ease-in-out */
.sm-sheet__panel{
  position:absolute; left:0; right:0; bottom:0; max-height:88svh; overflow-y:auto; outline:0;
  background:var(--sm-bg); color:var(--sm-fg); font-size:14px; line-height:20px;
  border-top:1px solid var(--sm-border); background-clip:padding-box;
  box-shadow:0 10px 15px -3px rgba(0,0,0,.1),0 4px 6px -4px rgba(0,0,0,.1);
  opacity:0; transform:translateY(2.5rem); transition:opacity .2s cubic-bezier(.4,0,.2,1),transform .2s cubic-bezier(.4,0,.2,1);
}
.sm-sheet.is-shown .sm-sheet__bg{ opacity:1 }
.sm-sheet.is-shown .sm-sheet__panel{ opacity:1; transform:none }
.sm-sheet__in{ max-width:36rem; margin:0 auto; padding:32px 20px 40px }
/* زرار الإغلاق: ghost icon-sm · top-3 right-3 */
.sm-sheet__x{
  position:absolute; top:12px; right:12px; width:32px; height:32px; border:0; border-radius:0; padding:0;
  display:flex; align-items:center; justify-content:center; background:transparent; color:var(--sm-fg); cursor:pointer;
  transition:color .15s var(--sm-tw),background-color .15s var(--sm-tw);
}
.sm-sheet__x:hover{ background:var(--sm-muted) }
.sm-sheet__x svg{ width:16px; height:16px }
.sm-sr{ position:absolute; width:1px; height:1px; padding:0; margin:-1px; overflow:hidden; clip:rect(0,0,0,0); white-space:nowrap; border:0 }
.sm-sheet__over{ margin:0; font-size:11px; text-transform:uppercase; letter-spacing:.35em; color:var(--sm-mfg) }
.sm-sheet__title{ margin:8px 0 0; font-size:24px; line-height:32px; font-weight:500 }
.sm-sheet__desc{ margin:6px 0 0; font-size:12px; color:var(--sm-mfg) }
.sm-sg-table{ margin-top:32px; width:100%; border-collapse:collapse; text-align:center }
.sm-sg-table th{ padding-bottom:12px; font-size:12px; font-weight:400; color:var(--sm-mfg); border-bottom:1px solid var(--sm-fg) }
.sm-sg-table th:first-child{ text-align:start }
.sm-sg-table td{ padding:16px 0; font-family:var(--sm-serif); font-size:18px; font-variant-numeric:tabular-nums; border-bottom:1px solid var(--sm-border) }
.sm-sg-table td:first-child{ text-align:start; padding-inline-start:12px; letter-spacing:.12em }
.sm-sg-table tr.is-on{ background:var(--sm-fg); color:var(--sm-bg) }
.sm-sg-how{ margin-top:40px }
.sm-sg-how p{ margin:0; font-size:14px; font-weight:500 }
.sm-sg-how ul{ margin:16px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:12px }
.sm-sg-how li{ display:flex; gap:16px; font-size:14px; line-height:1.625 }
.sm-sg-how li b{ width:48px; flex:none; font-weight:500 }
.sm-sg-how li span{ color:var(--sm-mfg) }
.sm-sg-sign{ margin:40px 0 0; text-align:center; font-family:var(--sm-serif); font-style:italic; font-size:14px; color:var(--sm-mfg) }
@media (prefers-reduced-motion:reduce){ .sm-sheet__panel,.sm-sheet__bg{ transition:none } }

/* زرار الإضافة + اشترِ الآن */
html.selia-theme .sticky-product-bar{
  position:static !important; padding:0 !important; margin:32px 0 0 !important; background:none !important;
  box-shadow:none !important; border:0 !important; transform:none !important;
}
html.selia-theme .sticky-product-bar__btn{ margin:0 !important }
html.selia-theme .sticky-product-bar__btn,
html.selia-theme .sticky-product-bar__btn .s-add-product-button-main,
html.selia-theme .sticky-product-bar__btn salla-button{ display:flex !important; width:100% !important; flex:1 1 auto !important }
html.selia-theme .sticky-product-bar__btn salla-button > button.s-button-element{ min-height:56px !important; flex:1 1 auto }
html.selia-theme .sticky-product-bar__btn .s-button-element{
  height:56px !important; width:100%; border-radius:0 !important; border:0 !important;
  background:var(--sm-fg) !important; color:var(--sm-bg) !important; box-shadow:none;
  font-size:16px !important; font-weight:400 !important; transition:all .3s var(--sm-tw);
}
html.selia-theme .sticky-product-bar__btn .s-button-element:hover{
  background:transparent !important; color:var(--sm-fg) !important; box-shadow:inset 0 0 0 1px var(--sm-fg) !important;
}
html.selia-theme .sticky-product-bar__btn .s-button-text{ display:flex !important; align-items:center; justify-content:center; gap:12px; font-size:0 !important }
html.selia-theme .sticky-product-bar__btn .s-button-text *{ display:none !important }
html.selia-theme .sticky-product-bar__btn .s-button-text::before{
  content:""; width:16px; height:16px; background:currentColor;
  -webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
          mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.5' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M16 10a4 4 0 0 1-8 0'/%3E%3Cpath d='M3.103 6.034h17.794'/%3E%3Cpath d='M3.4 5.467a2 2 0 0 0-.4 1.2V20a2 2 0 0 0 2 2h14a2 2 0 0 0 2-2V6.667a2 2 0 0 0-.4-1.2l-2-2.667A2 2 0 0 0 17 2H7a2 2 0 0 0-1.6.8z'/%3E%3C/svg%3E") center/contain no-repeat;
}
html.selia-theme .sticky-product-bar__btn .s-button-text::after{ content:"أضف إلى السلة"; font-size:16px; line-height:24px }
html.selia-theme .sticky-product-bar__btn .s-button-loader ~ .s-button-text::after,
html.selia-theme .sticky-product-bar__btn .s-button-element[disabled] .s-button-text::after{ opacity:.6 }

.sm-buy{
  margin-top:12px; display:flex; height:56px; width:100%; align-items:center; justify-content:center;
  border:1px solid var(--sm-fg); background:transparent; color:var(--sm-fg); font-size:16px; cursor:pointer;
  transition:color .3s var(--sm-tw),background-color .3s var(--sm-tw);
}
.sm-buy:hover{ background:var(--sm-fg); color:var(--sm-bg) }
.sm-paynote{ margin:16px 0 0; text-align:center; font-size:12px; color:var(--sm-mfg) }

/* التفاصيل والعناية */
.sm-acc{ margin-top:40px }
.sm-acc details{ border-top:1px solid var(--sm-border); padding:16px 0 }
.sm-acc details:last-child{ border-bottom:1px solid var(--sm-border) }
.sm-acc summary{ display:flex; cursor:pointer; list-style:none; align-items:center; justify-content:space-between; font-size:14px; font-weight:500 }
.sm-acc summary::-webkit-details-marker{ display:none }
.sm-acc summary span{ font-size:18px; line-height:1; transition:transform .3s var(--sm-tw)}
.sm-acc details[open] summary span{ transform:rotate(45deg) }
.sm-acc__body{ padding-top:16px; display:flex; flex-direction:column; gap:16px }
.sm-acc__piece p{ margin:0; font-size:14px; font-weight:500 }
.sm-acc__piece ul{ margin:8px 0 0; padding:0; list-style:none; display:flex; flex-direction:column; gap:6px }
.sm-acc__piece li{ display:flex; align-items:center; gap:12px; font-size:14px; color:var(--sm-mfg) }
.sm-acc__piece li b{ width:40px; text-align:right; direction:ltr; font-weight:400; color:var(--sm-fg); font-variant-numeric:tabular-nums }
.sm-acc__care{ margin:0; padding-top:12px; font-size:14px; line-height:1.625; color:var(--sm-mfg) }

/* ---------- 6b) Toast — نسخة من Sonner في الأصل (bottom-right · theme light · radius 0) ---------- */
.sm-toaster{
  position:fixed; right:24px; bottom:24px; z-index:999999999; width:356px; margin:0; padding:0; list-style:none;
  font-family:var(--sm-sans); direction:rtl;
}
.sm-toast{
  position:absolute; bottom:0; right:0; width:356px; box-sizing:border-box; display:flex; align-items:center; gap:6px;
  padding:16px; background:#FBFAF7; color:var(--sm-fg); border:1px solid var(--sm-border); border-radius:0;
  box-shadow:0 4px 12px rgba(0,0,0,.1); font-size:13px; overflow-wrap:anywhere;
  opacity:0; transform:translateY(100%); transform-origin:center bottom;
  transition:transform .4s,opacity .4s,height .4s,box-shadow .2s;
}
.sm-toast > *{ transition:opacity .4s }
.sm-toast.is-behind > *{ opacity:0 }
.sm-toast__icon{ display:flex; width:16px; height:16px; flex-shrink:0 }
.sm-toast__icon svg{ width:16px; height:16px }
.sm-toast__title{ font-weight:500; line-height:1.5 }
@media (max-width:600px){
  .sm-toaster{ right:16px; left:16px; bottom:16px; width:auto }
  .sm-toast{ left:0; right:0; width:100% }
}
/* إشعار سلة الافتراضي بيتشال لأن التوست بتاعنا بيعمل نفس الدور زي الأصل */
html.selia-theme salla-add-product-toast,
html.selia-theme .s-add-product-toast{ display:none !important }

/* ---------- 7) الصفحات (عن SMORES، الشروط...) ---------- */
html.selia-theme body.page-single .breadcrumbs,
html.selia-theme body.page-single salla-comments{ display:none !important }
html.selia-theme body.page-single .content--single-page{
  width:100% !important; max-width:42rem; margin:0 auto; background:none !important; padding:56px 16px 96px !important;
}
@media (min-width:768px){ html.selia-theme body.page-single .content--single-page{ padding:80px 32px 96px !important } }
.sm-over{ margin:0; font-size:11px; line-height:16px; text-transform:uppercase; letter-spacing:.35em; color:var(--sm-mfg) }
html.selia-theme body.page-single .content--single-page h1{
  margin:12px 0 0 !important; font-size:30px !important; line-height:36px !important; font-weight:500 !important; color:var(--sm-fg) !important;
}
@media (min-width:768px){ html.selia-theme body.page-single .content--single-page h1{ font-size:36px !important; line-height:40px !important } }
html.selia-theme body.page-single .content-entry{ margin-top:40px; display:flex; flex-direction:column; gap:12px }
html.selia-theme body.page-single .content-entry h2,
html.selia-theme body.page-single .content-entry h3{ margin:24px 0 0 !important; font-size:16px !important; line-height:24px !important; font-weight:500 !important; color:var(--sm-fg) !important }
html.selia-theme body.page-single .content-entry h2:empty,
html.selia-theme body.page-single .content-entry h3:empty,
html.selia-theme body.page-single .content-entry p:has(> br:only-child){ display:none }
html.selia-theme body.page-single .content-entry p,
html.selia-theme body.page-single .content-entry li{
  margin:0 !important; font-size:14px !important; line-height:2 !important; color:var(--sm-mfg) !important; text-align:start !important;
}
@media (min-width:768px){
  html.selia-theme body.page-single .content-entry p,
  html.selia-theme body.page-single .content-entry li{ font-size:16px !important }
}
html.selia-theme body.page-single .content-entry ul,
html.selia-theme body.page-single .content-entry ol{ margin:0 !important; padding:0 !important; list-style:none !important; display:flex; flex-direction:column; gap:8px }
html.selia-theme body.page-single .content-entry li{ position:relative; display:block; padding:0 !important; padding-inline-start:16px !important }
html.selia-theme body.page-single .content-entry li::before{
  content:""; position:absolute; inset-inline-start:0; top:.9em; width:4px; height:4px; border-radius:999px; background:rgba(20,18,17,.5);
}
.sm-sign{ margin-top:64px; border-top:1px solid var(--sm-border); padding-top:32px; text-align:center }
.sm-sign__mark{ margin:0; font-family:var(--sm-serif); font-size:24px; text-transform:uppercase; letter-spacing:.2em }
.sm-sign__tag{ margin:8px 0 0; font-family:var(--sm-serif); font-style:italic; font-size:14px; color:var(--sm-mfg) }
.sm-back{
  margin-top:48px; display:inline-flex; height:48px; align-items:center; border:1px solid var(--sm-fg); padding:0 32px;
  font-size:14px; color:var(--sm-fg) !important; transition:color .3s var(--sm-tw),background-color .3s var(--sm-tw);
}
.sm-back:hover{ background:var(--sm-fg); color:var(--sm-bg) !important }

/* ---------- 8) إخفاء إضافات مش موجودة في الأصل ---------- */
html.selia-theme salla-advertisement{ display:none !important }