/* إزالة الفراغ العلوي */
.main-header,
header {
    padding-top: 5px !important;
    padding-bottom: 5px !important;
}

/* تكبير اللوقو */
.store-logo img,
img.logo-image {
    max-height: 80px !important;
    width: auto !important;
}

/* تنعيم بطاقات المنتجات */
.product,
.product-card {
    border-radius: 22px !important;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.06);
    transition: 0.3s;
}

/* تأثير ناعم */
.product:hover,
.product-card:hover {
    transform: translateY(-3px);
}

/* الصور */
.product img {
    border-radius: 18px;
}

/* زر إضافة للسلة */
button,
.btn,
.s-button-element {
    border-radius: 18px !important;
    font-weight: bold !important;
}

/* الشريط العلوي */
.top-navbar,
.announcement-bar {
    border-radius: 0 0 18px 18px;
}

/* تحسين البحث */
.search-input,
input[type="search"] {
    border-radius: 18px !important;
}

/* للجوال */
@media (max-width:768px){

    /* تكبير البانر */
    .banner img,
    .main-banner img{
        border-radius: 20px;
    }

    /* تقليل الفراغات */
    .container,
    .content {
        padding-left: 10px !important;
        padding-right: 10px !important;
    }

    /* تصغير حجم أيقونات الهيدر */
    .header-icons i,
    .icon {
        font-size: 20px !important;
    }
}
/* تقليل الفراغات بين المنتجات */
.products-grid,
.product-list {
    gap: 12px !important;
}

/* شكل الكرت */
.product,
.product-card {
    background: #fff;
    border-radius: 24px !important;
    overflow: hidden;
    padding-bottom: 12px;
    border: 1px solid #f2f2f2;
}

/* توحيد حجم الصور */
.product img,
.product-card img {
    height: 220px !important;
    object-fit: cover;
    width: 100%;
}

/* عنوان المنتج */
.product-title,
.product-name {
    font-size: 17px !important;
    font-weight: 700;
    line-height: 1.7;
    padding: 0 10px;
}

/* السعر */
.price,
.product-price {
    font-size: 18px !important;
    font-weight: bold;
}

/* زر السلة الفخم */
.s-button-element,
button.add-to-cart-btn {
    background: #111 !important;
    color: white !important;
    border: none !important;
    border-radius: 18px !important;
    height: 52px;
    font-size: 17px;
}

/* الخصم */
.discount-badge,
.sale-badge {
    border-radius: 14px !important;
    font-weight: bold;
}

/* القلوب */
.btn-wishlist,
.wishlist-btn {
    backdrop-filter: blur(10px);
    border-radius: 50%;
}
/* تكبير صور المنتجات */
.product img,
.product-card img {
    height: 250px !important;
}

/* تحسين الظل */
.product,
.product-card {
    box-shadow: 0 10px 30px rgba(0,0,0,0.08) !important;
}

/* حركة ناعمة */
.product:hover,
.product-card:hover {
    transform: translateY(-6px);
}

/* عنوان الأقسام */
.section-title,
h2 {
    font-size: 34px !important;
    font-weight: 800 !important;
    margin-bottom: 20px;
}

/* تحسين الأسعار */
.price,
.product-price {
    color: #9b1c1c !important;
}

/* إزالة الحدود الرمادية */
.product,
.product-card {
    border: none !important;
}

/* الواتساب */
.whatsapp-button,
.social-whatsapp {
    transform: scale(1.05);
}

/* الهيدر يصير أنعم */
header,
.main-header {
    box-shadow: 0 4px 20px rgba(0,0,0,0.04);
}
/* خلفية المتجر */
body {
    background: #f8f8f8 !important;
}

/* جعل البطاقات أكثر فخامة */
.product,
.product-card {
    backdrop-filter: blur(10px);
    transition: all .3s ease;
}

/* حركة عند اللمس */
.product:active,
.product-card:active {
    transform: scale(.98);
}

/* تحسين النصوص */
.product-title,
.product-name {
    color: #111 !important;
    letter-spacing: -.3px;
}

/* زر السلة فاخر */
.s-button-element,
button.add-to-cart-btn {
    background: linear-gradient(180deg,#111,#000) !important;
    box-shadow: 0 8px 18px rgba(0,0,0,.18);
}

/* الهيدر */
.main-header,
header {
    background: #fff !important;
}

/* البانر الرئيسي */
.banner img,
.main-banner img {
    border-radius: 28px !important;
    overflow: hidden;
}

/* خصم المنتجات */
.discount-badge,
.sale-badge {
    background: #b51f1f !important;
    color: white !important;
    font-size: 15px !important;
}

/* الواتساب */
.whatsapp-button,
.social-whatsapp {
    box-shadow: 0 10px 25px rgba(37,211,102,.35);
}
/* تكبير اللوقو العلوي */
.store-logo img,
img.logo-image {
    max-height: 95px !important;
}

/* جعل الصور أكثر نعومة */
.product img {
    border-radius: 22px !important;
}

/* تحسين الخطوط */
body,
.product-title,
.product-name,
.price {
    -webkit-font-smoothing: antialiased;
}

/* الهيدر ثابت وفخم */
header,
.main-header {
    position: sticky;
    top: 0;
    z-index: 999;
    backdrop-filter: blur(12px);
}

/* نعومة عامة */
* {
    transition: .25s ease;
}
/* إصلاح فراغ الهيدر */
.main-header,
header {
    padding-bottom: 0 !important;
    margin-bottom: 0 !important;
}

/* تقليل الفراغ بين الهيدر والمنتجات */
.main-content,
.content,
.container {
    margin-top: 0 !important;
    padding-top: 0 !important;
}

/* تثبيت شكل البحث */
.search-input,
input[type="search"] {
    height: 52px;
}
/* تنعيم عام */
body {
    scroll-behavior: smooth;
}

/* الكروت */
.product,
.product-card {
    border-radius: 28px !important;
    overflow: hidden;
}

/* الصور */
.product img {
    transition: transform .4s ease;
}

/* حركة الصور */
.product:hover img {
    transform: scale(1.04);
}

/* الأزرار */
.s-button-element,
button.add-to-cart-btn {
    letter-spacing: .3px;
    font-weight: 700;
}

/* العناوين */
.section-title,
h2 {
    letter-spacing: -.8px;
}

/* الخصومات */
.discount-badge,
.sale-badge {
    box-shadow: 0 8px 18px rgba(181,31,31,.25);
}

/* الهيدر */
header,
.main-header {
    border-bottom: 1px solid #f3f3f3;
}
/* إزالة أي اهتزاز */
*{
    backface-visibility:hidden;
}

/* نعومة السكرول */
html{
    scroll-behavior:smooth;
}

/* تحسين شكل القلوب */
.btn-wishlist,
.wishlist-btn{
    background:rgba(0,0,0,.45)!important;
    backdrop-filter:blur(10px);
    border-radius:18px!important;
}

/* تحسين العناوين */
.product-title,
.product-name{
    min-height:85px;
}

/* تحسين الأزرار */
.s-button-element{
    min-height:58px;
    font-size:20px!important;
}

/* تحسين الأسعار */
.price,
.product-price{
    font-weight:800!important;
}

/* ظل خفيف للصور */
.product img{
    box-shadow:0 8px 22px rgba(0,0,0,.05);
}
/* فوتر أفقي للجوال */
footer .container,
.footer .container,
.site-footer .container{
  display:grid !important;
  grid-template-columns:1fr 1fr !important;
  gap:30px 20px !important;
  align-items:start !important;
}

/* كل قسم يأخذ نصف الشاشة */
footer .footer-item,
footer .footer-block{
  width:100% !important;
  max-width:100% !important;
}

/* قسم تواصل معنا يأخذ العرض كامل */
footer .footer-item:last-child,
footer .footer-block:last-child{
  grid-column:1 / -1 !important;
}

/* النصوص */
footer h2,
footer h3{
  font-size:24px !important;
  margin-bottom:15px !important;
}

footer a,
footer p,
footer span{
  font-size:16px !important;
  line-height:1.9 !important;
  word-break:normal !important;
  overflow-wrap:break-word !important;
}

/* ترتيب أيقونات التواصل */
footer li{
  display:flex !important;
  align-items:center !important;
  justify-content:flex-end !important;
  gap:12px !important;
}
/* ضبط فوتر الجوال */
@media (max-width:768px){

  footer .container,
  .footer .container,
  .site-footer .container{
    display:grid !important;
    grid-template-columns:45% 55% !important;
    gap:20px !important;
  }

  footer h2,
  footer h3{
    font-size:22px !important;
    line-height:1.4 !important;
  }

  footer a,
  footer p,
  footer span{
    font-size:15px !important;
    line-height:1.8 !important;
  }

  /* الروابط المهمة */
  footer a{
    white-space:normal !important;
    word-break:normal !important;
  }

  /* تواصل معنا عرض كامل */
  footer .footer-item:last-child,
  footer .footer-block:last-child{
    grid-column:1 / -1 !important;
  }
}
@media (max-width:768px){

  footer h2,
  footer h3{
    font-size:20px !important;
  }

  footer a,
  footer p,
  footer span{
    font-size:14px !important;
    line-height:1.7 !important;
  }

  footer .footer-item,
  footer .footer-block{
    text-align:center !important;
  }

}
/* إصلاح تداخل الهيدر مع الفوتر */
footer,
.footer,
.site-footer{
  position: relative !important;
  z-index: 1 !important;
  padding-top: 70px !important;
  margin-top: 40px !important;
  overflow: visible !important;
}

/* الهيدر فوق فقط بدون ما يغطي الفوتر */
header,
.main-header{
  z-index: 50 !important;
}

/* منع قص عنوان الفوتر */
footer h2,
footer h3{
  margin-top: 20px !important;
  padding-top: 10px !important;
}
@media (max-width:768px){

  footer,
  .footer,
  .site-footer{
    padding-bottom:40px !important;
  }

  footer h2,
  footer h3{
    color:#111 !important;
    font-weight:800 !important;
  }

  footer a,
  footer p,
  footer span{
    color:#2f3747 !important;
  }

}
/* حركة عامة ناعمة */
.product,
.product-card,
.s-button-element,
button,
footer a,
.banner img{
  transition: all .35s ease !important;
}

/* حركة كرت المنتج */
.product:active,
.product-card:active{
  transform: scale(.98) !important;
}

/* تكبير صورة المنتج بهدوء */
.product img,
.product-card img{
  transition: transform .45s ease !important;
}

.product:hover img,
.product-card:hover img{
  transform: scale(1.04) !important;
}

/* حركة زر السلة عند اللمس */
.s-button-element:active,
button:active{
  transform: scale(.96) !important;
}

}

.s-button-element::after{
  content:"";
  position:absolute;
  top:0;
  left:-80%;
  width:50%;
  height:100%;
  background:linear-gradient(120deg,transparent,rgba(255,255,255,.25),transparent);
  transform:skewX(-25deg);
  animation: shine 3s infinite;
}

@keyframes shine{
  0%{ left:-80%; }
  50%{ left:120%; }
  100%{ left:120%; }
}

/* حركة روابط الفوتر */
footer a:hover{
  transform: translateX(-4px);
  color:#c7a76a !important;
}
/* ظهور ناعم وبطيء */
.product,
.product-card{
  opacity:0;
  transform:translateY(35px);
  animation:productFadeIn 1.4s ease forwards;
}

/* تأخير تدريجي */
.product:nth-child(1),
.product-card:nth-child(1){ animation-delay:.15s; }

.product:nth-child(2),
.product-card:nth-child(2){ animation-delay:.3s; }

.product:nth-child(3),
.product-card:nth-child(3){ animation-delay:.45s; }

.product:nth-child(4),
.product-card:nth-child(4){ animation-delay:.6s; }

.product:nth-child(5),
.product-card:nth-child(5){ animation-delay:.75s; }

.product:nth-child(6),
.product-card:nth-child(6){ animation-delay:.9s; }

@keyframes productFadeIn{
  0%{
    opacity:0;
    transform:translateY(35px);
  }

  100%{
    opacity:1;
    transform:translateY(0);
  }
}
/* Glow ذهبي خفيف للكروت */
.product,
.product-card{
  box-shadow:0 12px 32px rgba(0,0,0,.08),
             0 0 0 1px rgba(199,167,106,.12) !important;
}

/* عند لمس المنتج */
.product:hover,
.product-card:hover{
  box-shadow:0 18px 45px rgba(0,0,0,.12),
             0 0 18px rgba(199,167,106,.22) !important;
}

/* Zoom فاخر للصور */
.product img,
.product-card img{
  transition:transform .7s ease, filter .7s ease !important;
}

.product:hover img,
.product-card:hover img{
  transform:scale(1.06) !important;
  filter:brightness(1.04) contrast(1.03);
}

/* حركة ناعمة للبنر */
.banner img,
.main-banner img{
  animation:bannerLuxury 7s ease-in-out infinite alternate;
}

@keyframes bannerLuxury{
  from{
    transform:scale(1);
  }
  to{
    transform:scale(1.035);
  }
}

/* لمعة ذهبية خفيفة للأزرار */
.s-button-element{
  box-shadow:0 10px 25px rgba(0,0,0,.22),
             inset 0 0 0 1px rgba(255,255,255,.08) !important;
}
/* حركة سينمائية للمنتجات */
.product-card,
.product{
  overflow:hidden !important;
  border-radius:22px !important;
}

/* الصورة */
.product img,
.product-card img{
  transition:
  transform 1.2s ease,
  filter .8s ease !important;
}

/* تكبير ناعم */
.product:hover img,
.product-card:hover img{
  transform:scale(1.08) translateY(-4px) !important;
  filter:brightness(1.05) saturate(1.03);
}

/* رفع الكرت */
.product:hover,
.product-card:hover{
  transform:translateY(-8px) !important;
}
.s-product-card-content-footer .s-button-element{
    font-size:18px !important;
    padding:14px 10px !important;
    border-radius:18px !important;
}
.s-product-card-image img{
    aspect-ratio:1/1;
    object-fit:cover;
}
.s-product-card{
    transition:.35s ease;
}

.s-product-card:hover{
    transform:translateY(-8px);
    box-shadow:0 18px 40px rgba(0,0,0,.12);
}
.home-block--products{
    margin-top:50px !important;
}
.s-product-card-image img{
    transition:0.5s ease;
}

.s-product-card:hover img{
    transform:scale(1.04);
}
.s-product-card-content-footer .s-button-element{
    background:linear-gradient(135deg,#000,#1d1d1d,#000) !important;
    border:none !important;
    box-shadow:0 10px 25px rgba(0,0,0,.18);
}
/* صندوق التقييم */
.s-comments-section,
.s-product-reviews{
    background:#fff;
    border-radius:24px;
    padding:25px;
    box-shadow:0 10px 30px rgba(0,0,0,.06);
}

/* النجوم */
.s-rating-stars,
.star-rating{
    color:#d4b06a !important;
    font-size:22px;
}

/* اسم العميل */
.comment-author,
.review-author{
    font-weight:800;
    color:#111827;
}

/* النص */
.comment-content,
.review-content{
    line-height:2;
    color:#4b5563;
}

/* حركة */
.s-comments-section:hover{
    transform:translateY(-4px);
    transition:.3s ease;
}
/* تصغير أيقونة السلة */
.btn--add-to-cart i,
.s-product-card .btn i,
.s-button-element i{
    font-size:18px !important;
}
a[href*="reviews"]{
    transform:scale(.85);
    right:-8px;
    opacity:.92;
}
.s-product-reviews,
.product-reviews,
.reviews-section{
display:block !important;
visibility:visible !important;
opacity:1 !important;
}
.product:hover{
transform:translateY(-6px);
transition:.4s ease;
}

.product{
transition:.4s ease;
}
.s-product-card-sale-badge,
.s-product-card-tag{
transform:scale(.78);
top:8px;
}