/* =========================================================
   Base / Fonts
   ========================================================= */
@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@400;700&display=swap");

body:not(i, span) {
  font-family: "Cairo", sans-serif;
}
body.index {
  background-color: var(--white-color) !important;
}

/* =========================================================
   CSS Variables
   ========================================================= */
:root {
  --color-primary: #e5dfd5;
  --main-color: #e5dfd5;
  --white-color: #fff;
  --black-color: #000;
  --normal-box-shadow: rgba(0, 0, 0, 0.3) 1px 2px 3px;
  --gradient-primary: #e5dfd5;
  --gradient-alt: #e5dfd5;
}

/* =========================================================
   Product Cards — Strong Lift on Hover (No Glow)
   ========================================================= */
.s-product-card-entry {
  border: none;
  border-radius: 15px !important;
  box-shadow: rgba(0, 0, 0, 0.3) 1px 2px 3px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}
.s-product-card-entry:hover {
  transform: translateY(-35px) scale(1.05);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.35);
}

/* =========================================================
   Add to Cart Button — Burgundy Background / White Text
   ========================================================= */
button.s-button-btn.s-button-solid.s-button-primary,
button.s-button-btn.s-button-solid.s-button-wide.s-button-primary,
button.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary {
  background-color: #800000 !important; /* برغندي */
  color: #ffffff !important; /* أبيض */
  border: none !important;
  border-radius: 10px !important;
  transition: all 0.3s ease;
}

button.s-button-btn.s-button-solid.s-button-primary:hover,
button.s-button-btn.s-button-solid.s-button-wide.s-button-primary:hover {
  background-color: #a00000 !important; /* برغندي أفتح */
  transform: scale(1.05);
}

/* =========================================================
   Footer
   ========================================================= */
footer.store-footer {
  background: transparent !important;
}
.store-footer__inner {
  color: var(--black-color);
  border-radius: 100px 100px 0 0;
  background: var(--gradient-primary) !important;
  position: relative;
  text-align: center !important;
}
.store-footer * {
  text-align: center !important;
  justify-content: center !important;
  align-items: center !important;
}
.store-footer h3 {
  background-color: #fff;
  color: var(--black-color);
  border-radius: 15px;
  padding: 6px 20px;
  display: inline-block;
}
.copyright-text p {
  color: var(--main-color);
  text-align: center;
}

/* =========================================================
   WhatsApp & Email Icons — Burgundy Only / No Background
   ========================================================= */
footer.store-footer a[href*="whatsapp"],
footer.store-footer a[href*="wa.me"],
footer.store-footer a[href^="mailto:"],
footer.store-footer a[href*="whatsapp"] i,
footer.store-footer a[href*="wa.me"] i,
footer.store-footer a[href^="mailto:"] i,
footer.store-footer a[href*="whatsapp"] svg,
footer.store-footer a[href*="wa.me"] svg,
footer.store-footer a[href^="mailto:"] svg,
footer.store-footer a[href*="whatsapp"] svg path,
footer.store-footer a[href*="wa.me"] svg path,
footer.store-footer a[href^="mailto:"] svg path {
  background: transparent !important;
  color: #800000 !important;
  fill: #800000 !important;
  stroke: #800000 !important;
  border: none !important;
  transition: transform 0.3s ease;
}
footer.store-footer a[href*="whatsapp"]:hover,
footer.store-footer a[href*="wa.me"]:hover,
footer.store-footer a[href^="mailto:"]:hover {
  transform: translateY(-6px);
}

/* =========================================================
   Social Links — Gold Hover
   ========================================================= */
.s-social-link a:hover {
  background: #d4af37 !important;
  color: #000 !important;
  transform: scale(1.2) rotate(5deg);
  box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}
.s-social-link a svg,
.s-social-link a i {
  color: inherit !important;
  fill: currentColor !important;
}

/* =========================================================
   Animation Overlay — Logo Entry
   ========================================================= */
body.index::before {
  content: "";
  width: 100%;
  height: 100%;
  background: rgba(255, 255, 255, 0.15)
    url("https://i.ibb.co/2Y3gW08t/IMG-1813.png");
  position: fixed;
  backdrop-filter: blur(50px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 999999999;
  transform: scale(0);
  background-size: 200px !important;
  background-repeat: no-repeat;
  background-position: center !important;
  animation: logobg 2s ease forwards;
}

@keyframes logobg {
  0%, 20%, 80% {
    transform: scale(1);
    opacity: 1;
  }
  100% {
    transform: scale(0);
    opacity: 0;
  }
}
/* =========================================================
   Add to Cart Button — Burgundy Background / White Text (Force)
   ========================================================= */
button.s-button-btn.s-button-solid.s-button-primary,
button.s-button-btn.s-button-solid.s-button-wide.s-button-primary,
button.s-button-element.s-button-btn.s-button-solid.s-button-wide.s-button-primary,
.s-button.s-button-primary,
.s-product-card-entry button,
.s-add-to-cart-button,
.s-add-product-button-mini-checkout,
button.add-to-cart,
button.salla-add-product-button {
  background-color: #800000 !important; /* خلفية برغندية */
  color: #ffffff !important; /* النص أبيض */
  border: none !important;
  border-radius: 10px !important;
  transition: all 0.3s ease;
}

/* تأثير عند اللمس */
button.s-button-btn.s-button-solid.s-button-primary:hover,
button.s-button-btn.s-button-solid.s-button-wide.s-button-primary:hover,
.s-button.s-button-primary:hover,
.s-add-to-cart-button:hover,
.salla-add-product-button:hover {
  background-color: #a00000 !important; /* برغندي أفتح */
  transform: scale(1.08);
  box-shadow: 0 6px 20px rgba(128, 0, 0, 0.4);
}
/* =========================================================
   Promo Banner (CSS-only) — White BG / Burgundy Text
   يظهر أعلى الصفحة بدون إضافة HTML
   ========================================================= */

/* ارتفاع الشريط (تقدر تغيّره إذا حبيت) */
:root { --promo-height: 44px; }

/* ندز المحتوى تحت الشريط عشان ما يتغطى */
body { padding-top: var(--promo-height); }

/* الشريط نفسه كخلفية ثابتة */
body::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0;
  height: var(--promo-height);
  background: #ffffff;               /* خلفية بيضاء */
  border-top: 2px solid #800000;     /* إطار علوي برغندي */
  border-bottom: 2px solid #800000;  /* إطار سفلي برغندي */
  z-index: 99998;
}

/* النص المتحرك */
body::after {
  content: "كوبون شحن مجآني بمناسبة الافتتآح HNB";
  position: fixed;
  top: 0; left: 0;
  height: var(--promo-height);
  line-height: var(--promo-height);
  color: #800000;            /* نص برغندي */
  font-weight: 700;
  font-size: 18px;
  white-space: nowrap;
  z-index: 99999;
  transform: translateX(100vw);
  animation: promo-marquee 18s linear infinite;
  direction: rtl;            /* يضمن الاتجاه من اليمين لليسار */
}

/* حركة الشريط من اليمين إلى اليسار */
@keyframes promo-marquee {
  0%   { transform: translateX(100vw); }
  100% { transform: translateX(-100%); }
}

/* احترام تفضيلات تقليل الحركة */
@media (prefers-reduced-motion: reduce) {
  body::after { animation: none; transform: none; }
}