/* ========================================================================== */
/* RubyRose V10.13 — Language, slider, categories, swatches, footer, fonts      */
/* ========================================================================== */

html body{font-family:var(--rr-body-font,"Jost"),"Cairo",Arial,sans-serif!important;} /* تطبيق خط النص الأساسي المختار من الإدارة على الموقع كله */
html body h1,html body h2,html body h3,html body .rr-home-default-content h1,html body .section-heading h2{font-family:var(--rr-heading-font,"Playfair Display"),Georgia,serif!important;} /* تطبيق خط العناوين المختار من الإدارة */

/* اللغة من الهيدر فقط */
html body .mobile-lang-row,html body .lang-modal{display:none!important;} /* إخفاء أي اختيار لغة داخل المنيو أو نافذة أول زيارة */
html body header.site-header.biagiotti-header .rr-header-lang-only{display:inline-flex!important;align-items:center!important;gap:5px!important;padding:0 4px!important;border:0!important;background:transparent!important;box-shadow:none!important;} /* شكل AR / EN بجانب الحساب */
html body header.site-header.biagiotti-header .rr-header-lang-only a{min-width:auto!important;padding:0 2px!important;border:0!important;background:transparent!important;color:var(--rr-header-text,#2e1f28)!important;font-size:12px!important;font-weight:800!important;letter-spacing:.08em!important;text-decoration:none!important;opacity:.45!important;} /* رابط لغة غير نشط */
html body header.site-header.biagiotti-header .rr-header-lang-only a.active{opacity:1!important;color:#e0177a!important;} /* اللغة النشطة */
html body header.site-header.biagiotti-header .rr-header-lang-only span{font-size:12px!important;color:rgba(60,35,45,.35)!important;} /* فاصل اللغة */

/* أيقونات الهيدر بلا هوامش/إطارات، مع بادج واضح للعربة */
html body header.site-header.biagiotti-header .rr-search-btn,
html body header.site-header.biagiotti-header .account-pill,
html body header.site-header.biagiotti-header .cart-pill,
html body header.site-header.biagiotti-header .mobile-menu-btn{border:0!important;background:transparent!important;box-shadow:none!important;border-radius:0!important;margin:0!important;outline:0!important;} /* إلغاء الدوائر والخلفيات حول أيقونات الهيدر */
html body header.site-header.biagiotti-header .rr-search-btn:hover,
html body header.site-header.biagiotti-header .account-pill:hover,
html body header.site-header.biagiotti-header .cart-pill:hover,
html body header.site-header.biagiotti-header .mobile-menu-btn:hover{background:transparent!important;border:0!important;box-shadow:none!important;transform:none!important;color:#e0177a!important;} /* هوفر نظيف بدون إطار */
html body header.site-header.biagiotti-header .cart-badge,
html body header.site-header.biagiotti-header .cart-badge-floating{position:absolute!important;top:1px!important;inset-inline-end:0!important;min-width:18px!important;height:18px!important;padding:0 5px!important;border-radius:999px!important;background:#e0177a!important;color:#fff!important;border:2px solid #fff!important;display:flex!important;align-items:center!important;justify-content:center!important;font-size:10px!important;font-weight:900!important;line-height:1!important;box-shadow:0 8px 18px rgba(224,23,122,.32)!important;z-index:5!important;} /* بادج العربة واضح فوق الأيقونة */

/* السلايدر: صورة كاملة، اتجاه واحد، حركة أبطأ، نص ناعم */
html body main > .rr-home-image-slider.rr-home-pro-slider{height:clamp(560px,78vh,860px)!important;background:#fff!important;overflow:hidden!important;} /* إطار السلايدر بخلفية بيضاء عند احتواء الصورة */
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide{transform:translateX(100%)!important;transition:transform 1.35s cubic-bezier(.16,1,.3,1),opacity 1.05s ease,visibility 1.05s ease!important;} /* كل الشرائح تبدأ من اتجاه واحد حتى في العربي */
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide.is-active{transform:translateX(0)!important;opacity:1!important;visibility:visible!important;} /* السلايد النشط في المنتصف */
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide.is-prev{transform:translateX(-100%)!important;opacity:1!important;visibility:visible!important;} /* خروج السلايد القديم في اتجاه ثابت */
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide.is-next{transform:translateX(100%)!important;opacity:1!important;visibility:visible!important;} /* دخول السلايد الجديد من اتجاه ثابت */
html[dir="rtl"] body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide{transform:translateX(100%)!important;} /* منع انقلاب اتجاه السلايدر في العربية */
html[dir="rtl"] body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide.is-active{transform:translateX(0)!important;} /* تثبيت العربي */
html[dir="rtl"] body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide.is-prev{transform:translateX(-100%)!important;} /* خروج ثابت في العربي */
html body .rr-slide-picture{display:block!important;width:100%!important;height:100%!important;background:#fff!important;} /* عنصر picture بكامل مساحة السلايد */
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide > img,
html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide > picture > img{width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;background:#fff!important;filter:none!important;-webkit-filter:none!important;transform:none!important;} /* عرض صورة السلايدر كاملة بدون قص */
html body .rr-home-pro-slider .rr-home-default-content .rr-type-text{opacity:0!important;transform:translateY(22px)!important;filter:blur(8px)!important;transition:opacity .9s ease,transform 1s cubic-bezier(.16,1,.3,1),filter .9s ease!important;} /* بداية النص بنعومة */
html body .rr-home-pro-slider .rr-home-default-content .rr-type-text.is-visible{opacity:1!important;transform:translateY(0)!important;filter:blur(0)!important;} /* ظهور النص بدون كتابة سريعة */
html body .rr-home-pro-slider .rr-home-default-content .btn{opacity:0!important;transform:translateY(18px)!important;transition:opacity .85s ease,transform .95s cubic-bezier(.16,1,.3,1),box-shadow .3s ease!important;} /* بداية زر السلايدر */
html body .rr-home-pro-slider .rr-home-default-content .btn.is-visible{opacity:1!important;transform:translateY(0)!important;} /* ظهور الزر */
html body .rr-home-pro-slider .rr-home-slide:after{background:linear-gradient(100deg,rgba(15,6,11,.38) 0%,rgba(15,6,11,.15) 24%,transparent 44%)!important;} /* تدرج خفيف لا يخفي الصورة */
html[dir="rtl"] body .rr-home-pro-slider .rr-home-slide:after{background:linear-gradient(260deg,rgba(15,6,11,.38) 0%,rgba(15,6,11,.15) 24%,transparent 44%)!important;} /* تدرج مناسب للعربي */

/* السواتشات: صغيرة ودائرية وليست بيضاوية */
html body .shop-swatches,html body .hero-swatches,html body .product-swatches{align-items:center!important;gap:7px!important;} /* محاذاة دوائر الألوان */
html body .shop-swatch,html body .hero-swatch,html body .product-swatch,html body [data-product-color-swatch],html body [data-blush-color-swatch]{width:18px!important;height:18px!important;min-width:18px!important;min-height:18px!important;max-width:18px!important;max-height:18px!important;padding:0!important;aspect-ratio:1/1!important;border-radius:50%!important;border:2px solid #fff!important;background:var(--sw,#e7a0bd)!important;box-shadow:0 0 0 1px rgba(55,32,43,.22)!important;line-height:0!important;overflow:hidden!important;} /* دوائر ألوان صغيرة حقيقية */
html body .product-swatch{width:22px!important;height:22px!important;min-width:22px!important;min-height:22px!important;max-width:22px!important;max-height:22px!important;} /* صفحة المنتج أكبر قليلًا مع الحفاظ على الدائرة */
html body .shop-swatch:hover,html body .hero-swatch:hover,html body .product-swatch:hover,html body .shop-swatch.active,html body .hero-swatch.active,html body .product-swatch.active{transform:scale(1.12)!important;box-shadow:0 0 0 2px #e0177a!important;} /* تفعيل اللون المختار */

/* الفوتر بدون عمود SHOP وبتوزيع أوسط */
html body .rr-footer-grid-no-shop{grid-template-columns:minmax(260px,1.1fr) minmax(210px,.9fr) minmax(260px,1.05fr)!important;justify-content:center!important;align-items:start!important;max-width:1180px!important;margin-inline:auto!important;} /* توسيط أعمدة الفوتر بعد حذف SHOP */
html body .rr-premium-footer .footer-col,html body .rr-premium-footer .rr-footer-brand{text-align:center!important;} /* توسيط محتوى الفوتر */
html body .rr-footer-contact-line{justify-content:center!important;} /* توسيط بيانات التواصل */
html body .footer-social{justify-content:center!important;} /* توسيط السوشيال */

/* Shop By Categories: صور لازقة، حواف مربعة، تأثير Premium واسم التصنيف على الصورة */
html body .rr-home-category-showcase{padding:42px 0 56px!important;background:#fff!important;} /* خلفية نظيفة لقسم التصنيفات */
html body .rr-home-category-inner{width:min(100%,1360px)!important;margin-inline:auto!important;} /* عرض واسع */
html body .rr-home-category-rail{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;gap:0!important;overflow:visible!important;padding:0!important;} /* شبكة شطرنج بلا مسافات */
html body .rr-home-category-card{position:relative!important;display:block!important;max-width:none!important;width:100%!important;aspect-ratio:1/1!important;border-radius:0!important;overflow:hidden!important;background:#111!important;box-shadow:none!important;scroll-snap-align:none!important;z-index:1!important;transition:z-index 0s linear .1s,transform .55s cubic-bezier(.16,1,.3,1)!important;} /* كارت مربع بلا حواف */
html body .rr-home-category-card:hover,html body .rr-home-category-card:focus-visible{z-index:20!important;transition-delay:0s!important;} /* رفع الكارت فوق باقي الشبكة */
html body .rr-home-category-media{position:absolute!important;inset:0!important;width:100%!important;height:100%!important;aspect-ratio:auto!important;border-radius:0!important;overflow:hidden!important;background:#000!important;} /* الصورة تملأ الكارت */
html body .rr-home-category-media img{width:100%!important;height:100%!important;object-fit:cover!important;display:block!important;transform:scale(1)!important;transition:transform .75s cubic-bezier(.16,1,.3,1),filter .55s ease!important;} /* صورة التصنيف */
html body .rr-home-category-card:hover .rr-home-category-media img,html body .rr-home-category-card:focus-visible .rr-home-category-media img{transform:scale(1.85)!important;filter:saturate(1.08) contrast(1.05)!important;} /* تضاعف حجم الصورة عند الوقوف */
html body .rr-home-category-card:before{content:""!important;position:absolute!important;inset:0!important;z-index:2!important;background:linear-gradient(180deg,rgba(0,0,0,0) 30%,rgba(0,0,0,.68) 100%)!important;opacity:.78!important;transition:opacity .45s ease!important;} /* طبقة بريميوم لقراءة الاسم */
html body .rr-home-category-card:hover:before{opacity:.92!important;} /* تقوية الطبقة على الهوفر */
html body .rr-home-category-content{position:absolute!important;inset-inline:0!important;bottom:0!important;z-index:3!important;min-height:0!important;padding:22px 18px!important;text-align:center!important;color:#fff!important;background:transparent!important;} /* اسم التصنيف فوق الصورة */
html body .rr-home-category-content b{display:block!important;color:#fff!important;font-size:clamp(14px,1.35vw,22px)!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-shadow:0 12px 34px rgba(0,0,0,.45)!important;transform:translateY(14px)!important;opacity:.86!important;transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .55s ease!important;} /* اسم التصنيف بريميوم */
html body .rr-home-category-content small{display:block!important;color:#fff!important;font-size:10px!important;letter-spacing:.18em!important;margin-top:8px!important;opacity:0!important;transform:translateY(12px)!important;transition:transform .55s cubic-bezier(.16,1,.3,1),opacity .55s ease!important;} /* Shop Now يظهر عند الوقوف */
html body .rr-home-category-card:hover .rr-home-category-content b,html body .rr-home-category-card:focus-visible .rr-home-category-content b{opacity:1!important;transform:translateY(0)!important;} /* دخول اسم التصنيف */
html body .rr-home-category-card:hover .rr-home-category-content small,html body .rr-home-category-card:focus-visible .rr-home-category-content small{opacity:1!important;transform:translateY(0)!important;} /* ظهور Shop Now */

/* صفحة التصنيف: تصنيفات فرعية بنفس الروح */
html body .rr-subcategories-page{background:#fff!important;padding-top:24px!important;} /* قسم فرعي نظيف */
html body .rr-subcategories-grid{display:grid!important;grid-template-columns:repeat(auto-fit,minmax(180px,1fr))!important;gap:0!important;max-width:1180px!important;margin:0 auto!important;} /* شبكة التصنيفات الفرعية */
html body .rr-subcategory-tile{position:relative!important;display:block!important;aspect-ratio:1/1!important;overflow:hidden!important;background:#111!important;color:#fff!important;text-decoration:none!important;} /* كارت تصنيف فرعي */
html body .rr-subcategory-tile img{width:100%!important;height:100%!important;object-fit:cover!important;transition:transform .7s cubic-bezier(.16,1,.3,1),filter .45s ease!important;} /* صورة التصنيف الفرعي */
html body .rr-subcategory-tile:hover img{transform:scale(1.45)!important;filter:saturate(1.08) contrast(1.05)!important;} /* حركة التصنيف الفرعي */
html body .rr-subcategory-tile:after{content:""!important;position:absolute!important;inset:0!important;background:linear-gradient(180deg,transparent 25%,rgba(0,0,0,.7) 100%)!important;} /* طبقة اسم التصنيف */
html body .rr-subcategory-tile span{position:absolute!important;z-index:2!important;inset-inline:12px!important;bottom:18px!important;text-align:center!important;font-weight:800!important;letter-spacing:.08em!important;text-transform:uppercase!important;text-shadow:0 12px 28px rgba(0,0,0,.5)!important;} /* اسم التصنيف الفرعي */

@media(max-width:900px){
  html body main > .rr-home-image-slider.rr-home-pro-slider{height:clamp(500px,72svh,680px)!important;} /* ارتفاع الموبايل */
  html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide > img,
  html body main > .rr-home-image-slider.rr-bg-section > .rr-home-slide > picture > img{object-fit:contain!important;object-position:center!important;} /* صورة الموبايل كاملة */
  html body .rr-home-pro-slider .rr-home-default-content{bottom:34px!important;inset-inline:18px!important;max-width:none!important;text-align:center!important;align-items:center!important;background:linear-gradient(180deg,rgba(255,255,255,.82),rgba(255,255,255,.68))!important;border:1px solid rgba(255,255,255,.45)!important;border-radius:18px!important;padding:16px 18px!important;backdrop-filter:blur(10px)!important;-webkit-backdrop-filter:blur(10px)!important;} /* نص الموبايل داخل مساحة خفيفة لا تغطي الصورة بالكامل */
  html body .rr-home-pro-slider .rr-home-default-content h1{font-size:clamp(28px,9vw,44px)!important;color:#291821!important;-webkit-text-fill-color:#291821!important;text-shadow:none!important;} /* عنوان الموبايل */
  html body .rr-home-pro-slider .rr-home-default-content .rr-type-text:first-child{color:#e0177a!important;-webkit-text-fill-color:#e0177a!important;letter-spacing:.22em!important;} /* السطر العلوي */
  html body .rr-home-pro-slider .rr-home-default-content p{display:none!important;} /* إخفاء الوصف على الموبايل حتى لا يزحم */
  html body .rr-home-pro-slider .rr-home-slide:after{background:linear-gradient(180deg,transparent 50%,rgba(255,255,255,.55) 100%)!important;} /* تدرج أبيض ناعم للموبايل */
  html body .rr-home-category-rail{grid-template-columns:repeat(2,1fr)!important;} /* شطرنج تصنيفين على الموبايل */
}
@media(max-width:540px){
  html body header.site-header.biagiotti-header .rr-header-lang-only a{font-size:11px!important;} /* تصغير زر اللغة */
  html body .rr-home-category-rail{grid-template-columns:repeat(2,1fr)!important;} /* ضمان ظهور تصنيفين */
  html body .rr-home-category-card:hover .rr-home-category-media img{transform:scale(1.12)!important;} /* تقليل الهوفر على الشاشات اللمسية */
}
@media(hover:none){
  html body .rr-home-category-card:hover .rr-home-category-media img{transform:scale(1)!important;} /* منع تضاعف الصورة على أجهزة اللمس */
  html body .rr-home-category-content small{opacity:.8!important;transform:none!important;} /* إبقاء الدعوة للفعل مرئية على الموبايل */
}
