/* ========== الخلفية البيج الفاتح بدون نجوم ========== */
body {
  background: #f2e1c3 !important;
  background-attachment: fixed !important;
  position: relative !important;
  overflow-x: hidden !important;
}

* {
  position: relative;
  z-index: 1;
}

/* ========== الهيدر الرمضاني ========== */
header, .s-header-section, nav, .navbar {
  background: linear-gradient(135deg, #0F2E2B 0%, #1B263B 100%) !important;
  border-bottom: 3px solid #D4AF37 !important;
  box-shadow: 0 4px 20px rgba(212, 175, 55, 0.4), 0 0 30px rgba(230, 126, 34, 0.2) !important;
}

.nav-link, .menu-item a, header a:not(.logo a) {
  color: #F5E6C8 !important;
  font-weight: 500 !important;
  transition: all 0.3s ease !important;
  text-shadow: 0 0 8px rgba(212, 175, 55, 0.3) !important;
}

.nav-link:hover, .menu-item a:hover {
  color: #D4AF37 !important;
  transform: translateY(-2px) !important;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.8) !important;
}

/* ========== البنرات العامة ========== */
.banner-section,
.s-block-banner,
section.home-section.banner-section {
  width: 100vw !important;
  margin-left: calc(-50vw + 50%) !important;
  padding: 0 !important;
  overflow: hidden !important;
  max-height: none !important;
  border: none !important;
  border-radius: 0 !important;
}

/* ========== الصورة الأولى - عرض كامل من الجانبين ========== */
img[src*="ecc70f32-ccd1-48e2-9887-f39b30a60b24"] {
  width: 100vw !important;
  max-width: none !important;
  height: auto !important;
  object-fit: cover !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  display: block !important;
  border-radius: 0 !important;
  transform: none !important;
  transition: none !important;
  cursor: default !important;
  pointer-events: none !important;
}

a.banner.banner--fixed,
a[href*="/offers"] {
  width: 100vw !important;
  margin-left: calc(50% - 50vw) !important;
  margin-right: calc(50% - 50vw) !important;
  padding: 0 !important;
  display: block !important;
  overflow: visible !important;
}

.banner--fixed picture {
  width: 100% !important;
  display: block !important;
  margin: 0 !important;
  padding: 0 !important;
}

/* ========== الصورة الثانية ========== */
img[src*="PCfTc3CXt30VAsb5gFUK6DVzBY5BA4JFPuVOTuXo"] {
  width: 90% !important;
  max-width: 1200px !important;
  height: auto !important;
  object-fit: contain !important;
  margin: 0 auto !important;
  display: block !important;
  border-radius: 20px !important;
  transition: all 0.4s ease !important;
  cursor: pointer !important;
}

img[src*="PCfTc3CXt30VAsb5gFUK6DVzBY5BA4JFPuVOTuXo"]:hover {
  transform: scale(1.03) rotate(1deg) !important;
  box-shadow: 0 10px 30px rgba(212, 175, 55, 0.4) !important;
}

/* ========== الصور والبنرات الأخرى ========== */
.slider-bg,
.lazy__bg,
.home-slider__content,
.flex.h-full.items-center.justify-center,
.flex-center.container.pb-16,
.overlay,
.w-4\/6.text-center,
.banner-section img,
.s-block-banner img,
section.home-section.banner-section img {
  transition: all 0.6s ease !important;
  cursor: pointer !important;
}

/* ========== العناوين الرمضانية ========== */
h1, h2, h3, h4, h5, h6 {
  color: #0F2E2B !important;
  font-weight: 700 !important;
  text-shadow: 
    0 2px 4px rgba(212, 175, 55, 0.3),
    0 0 20px rgba(230, 126, 34, 0.2) !important;
}

p, span, li, a, label {
  color: #2C1810 !important;
}

/* ========== إخفاء زر القلب ========== */
.s-product-card-wishlist-btn,
button[class*="wishlist"],
button[aria-label*="wishlist"],
button .sicon-heart {
  display: none !important;
}

/* ========== منطقة الصورة - مربعة 1:1 لأن جميع صور المنتجات مربعة ========== */
.s-product-card-vertical .s-product-card-image,
.s-product-card .s-product-card-image,
.product-card .product-image,
.s-product-card-vertical [class*="image"],
.s-product-card [class*="image"],
.s-product-card-vertical picture,
.s-product-card picture,
.product-card picture,
.s-product-card-vertical .s-product-card-media,
.s-product-card .s-product-card-media {
  background: linear-gradient(135deg, rgba(245, 230, 200, 0.95), rgba(232, 201, 160, 0.9)) !important;
  width: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
  overflow: hidden !important;
  transition: all 0.4s ease !important;
}

/* ========== المنتجات ========== */
.product-card,
.s-product-card,
.product-item,
.product-entry,
.s-product-card-vertical {
  background: linear-gradient(135deg, rgba(245, 230, 200, 0.95), rgba(232, 201, 160, 0.9)) !important;
  border: 2px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  box-shadow: 
    0 5px 20px rgba(212, 175, 55, 0.2),
    inset 0 1px 0 rgba(255, 255, 255, 0.5) !important;
  position: relative !important;
  transition: all 0.4s ease !important;
  overflow: hidden !important;
}

/* إخفاء المربع الأصفر */
.product-card > div[style*="position: absolute"][style*="top"],
.s-product-card > div[style*="position: absolute"][style*="top"],
.s-product-card-vertical > div[style*="position: absolute"][style*="top"] {
  display: none !important;
}

/* ========== صور المنتجات - cover لأنها مربعة ========== */
.product-card img,
.s-product-card img,
.s-product-card-vertical img {
  transition: all 0.4s ease !important;
  object-fit: cover !important;
  width: 100% !important;
  height: 100% !important;
  aspect-ratio: 1 / 1 !important;
  display: block !important;
}

/* ========== hover الكارد ========== */
.product-card:hover,
.s-product-card:hover,
.s-product-card-vertical:hover {
  border-color: #D4AF37 !important;
  box-shadow: 0 15px 40px rgba(212,175,55,0.5) !important;
  transform: translateY(-8px) scale(1.05) rotate(0.5deg) !important;
  z-index: 10 !important;
}

/* ========== hover الصورة داخل الكارد ========== */
.product-card:hover img,
.s-product-card:hover img,
.s-product-card-vertical:hover img {
  transform: scale(1.15) rotate(0.5deg) !important;
}

/* ========== الأقسام ========== */
.category-card,
.category-item,
.s-category-card {
  background: linear-gradient(135deg, rgba(245, 230, 200, 0.95), rgba(232, 201, 160, 0.9)) !important;
  border: 2px solid rgba(212, 175, 55, 0.5) !important;
  border-radius: 16px !important;
  cursor: pointer !important;
  box-shadow: 0 5px 20px rgba(212, 175, 55, 0.2) !important;
  transition: all 0.3s ease !important;
}

.category-card:hover,
.s-category-card:hover {
  border-color: #D4AF37 !important;
  box-shadow: 0 12px 35px rgba(212,175,55,0.4) !important;
  transform: translateY(-8px) scale(1.03) !important;
}

.category-card img,
.s-category-card img {
  transition: all 0.4s ease !important;
}

.category-card:hover img,
.s-category-card:hover img {
  transform: scale(1.15) !important;
}

/* ========== آراء العملاء ========== */
.testimonials-section,
section[class*="testimonial"],
.s-testimonials-section {
  background: rgba(255, 255, 255, 0.9) !important;
  padding: 40px 20px !important;
  border-radius: 16px !important;
  margin: 30px auto !important;
  max-width: 1200px !important;
}

.testimonial,
.testimonial-card,
.review-card,
.s-testimonial-card {
  background: white !important;
  border: 1px solid #ddd !important;
  border-radius: 10px !important;
  padding: 20px !important;
  margin: 15px !important;
  box-shadow: 0 2px 8px rgba(0,0,0,0.1) !important;
}

/* ========== الأزرار ========== */
.btn-primary,
.add-to-cart,
.s-button-primary,
button[type="submit"],
button[class*="add"],
button[class*="buy"] {
  background: linear-gradient(135deg, #D4AF37 0%, #F1C40F 50%, #D4AF37 100%) !important;
  color: #0F2E2B !important;
  font-weight: 700 !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 13px 30px !important;
  box-shadow: 
    0 5px 20px rgba(212, 175, 55, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.5),
    0 0 20px rgba(230, 126, 34, 0.3) !important;
  transition: all 0.3s ease !important;
  text-shadow: 0 1px 2px rgba(0,0,0,0.2) !important;
}

.btn-primary:hover,
.add-to-cart:hover,
button[type="submit"]:hover {
  transform: translateY(-4px) scale(1.08) !important;
}

/* ========== السعر ========== */
.price,
.product-price,
.s-product-card-price,
span[class*="price"] {
  color: #D4AF37 !important;
  font-weight: 800 !important;
  font-size: 1.4em !important;
  text-shadow: 
    0 0 10px rgba(212, 175, 55, 0.5),
    0 0 20px rgba(241, 196, 15, 0.3) !important;
  animation: priceGlow 2s ease-in-out infinite !important;
}

@keyframes priceGlow {
  0%, 100% { 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5), 0 0 20px rgba(241, 196, 15, 0.3);
  }
  50% { 
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.8), 0 0 40px rgba(241, 196, 15, 0.6);
  }
}

/* ========== الفوتر ========== */
footer,
.s-footer-section {
  background: linear-gradient(180deg, #0F2E2B 0%, #1B263B 100%) !important;
  border-top: 3px solid #D4AF37 !important;
  color: #F5E6C8 !important;
  padding: 40px 0 20px !important;
  margin-top: 60px !important;
}

footer h3,
footer h4 {
  color: #D4AF37 !important;
  text-shadow: 0 0 15px rgba(212, 175, 55, 0.5) !important;
}

footer a {
  color: #F5E6C8 !important;
  transition: color 0.3s !important;
}

footer a:hover {
  color: #D4AF37 !important;
  text-shadow: 0 0 10px rgba(212, 175, 55, 0.6) !important;
}

/* ========== النماذج ========== */
input,
textarea,
select {
  background: rgba(245, 230, 200, 0.9) !important;
  border: 2px solid rgba(212, 175, 55, 0.4) !important;
  color: #0F2E2B !important;
  border-radius: 10px !important;
  padding: 12px 16px !important;
  transition: all 0.3s !important;
}

input:focus,
textarea:focus,
select:focus {
  border-color: #D4AF37 !important;
  box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.3) !important;
  outline: none !important;
  transform: translateY(-2px) !important;
}

/* ========== شريط التمرير ========== */
::-webkit-scrollbar {
  width: 14px;
}

::-webkit-scrollbar-track {
  background: #e5d4b8;
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #D4AF37, #F1C40F, #D4AF37);
  border-radius: 10px;
  border: 2px solid #e5d4b8;
}

::-webkit-scrollbar-thumb:hover {
  background: #D4AF37;
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.8);
}

html {
  scroll-behavior: smooth;
}

/* ========== للجوال ========== */
@media (max-width: 768px) {
  img[src*="ecc70f32-ccd1-48e2-9887-f39b30a60b24"] {
    width: 100vw !important;
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
  
  img[src*="PCfTc3CXt30VAsb5gFUK6DVzBY5BA4JFPuVOTuXo"] {
    width: 98% !important;
  }
  
  a.banner.banner--fixed,
  a[href*="/offers"] {
    margin-left: calc(50% - 50vw) !important;
    margin-right: calc(50% - 50vw) !important;
  }
}