/* Add custom CSS styles below */

/* =====================================================
   CREATGLOW — HEADER & FOOTER v5.2 (CLEAN FONTS EDITION)
   ===================================================== */

/* ═══════════════════════════════════════════════════
   1. CSS VARIABLES
   ═══════════════════════════════════════════════════ */
:root {
  --cg-pink:       #F72585;
  --cg-pink-soft:  #FF5BB2;
  --cg-cream:      #FDF4E9;
  --cg-cyan:       #22C6F4;
  --cg-brown:      #4B2638;
  --cg-white:      #FFFFFF;
  --cg-ease:       0.3s ease;
  
  /* متغيرات الفوتر الموحدة - ترث خط سلة الأساسي تلقائياً */
  --cg-footer-pink:  #FF5BB2;
  --cg-cream-dark:   #FFE8DC;
  --cg-text-dark:    #2C1A2E;
  --cg-text-muted:   #7A5C6E;
  --cg-font:         inherit; 
  --cg-radius:       20px;
}

/* ═══════════════════════════════════════════════════
   2. GLOBAL BACKGROUND
   ═══════════════════════════════════════════════════ */
body,
#main-content,
main,
.s-block {
  background-color: var(--cg-cream) !important;
}

html, body {
  overflow-x: hidden !important;
}

/* ═══════════════════════════════════════════════════
   3. إخفاء الشريط العلوي
   ═══════════════════════════════════════════════════ */
.top-navbar {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   4. MAIN NAV
   ═══════════════════════════════════════════════════ */
#mainnav {
  background-color: var(--cg-cream) !important;
  position: relative !important;
  overflow: visible !important;
  z-index: 50 !important;
  min-height: 150px !important;
  padding-top: 72px !important;
  padding-bottom:18px !important;
  
}

#mainnav .inner,
#mainnav .container {
  background: transparent !important;
  position: relative !important;
  z-index: 2 !important;
}

#mainnav .flex.items-stretch.justify-between {
  position: relative !important;
  align-items: center !important;
  min-height: 78px !important;
}

/* ═══════════════════════════════════════════════════
   5. CLOUD SHAPE
   ═══════════════════════════════════════════════════ */
#mainnav::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 122px;
  background: var(--cg-pink-soft);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 122' preserveAspectRatio='none'%3E%3Cpath d='M0%2C0 H1440 V50 C1420%2C86 1392%2C108 1350%2C116 C1308%2C124 1268%2C112 1245%2C96 C1222%2C116 1182%2C122 1140%2C121 C1098%2C120 1062%2C104 1045%2C88 C1022%2C110 982%2C122 940%2C122 C898%2C122 858%2C108 840%2C88 C817%2C110 777%2C122 735%2C122 C693%2C122 653%2C108 635%2C88 C612%2C110 572%2C122 530%2C122 C488%2C122 448%2C108 430%2C88 C407%2C110 367%2C122 325%2C122 C283%2C122 243%2C108 225%2C88 C202%2C110 162%2C122 120%2C122 C64%2C122 20%2C100 0%2C68 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 122' preserveAspectRatio='none'%3E%3Cpath d='M0%2C0 H1440 V50 C1420%2C86 1392%2C108 1350%2C116 C1308%2C124 1268%2C112 1245%2C96 C1222%2C116 1182%2C122 1140%2C121 C1098%2C120 1062%2C104 1045%2C88 C1022%2C110 982%2C122 940%2C122 C898%2C122 858%2C108 840%2C88 C817%2C110 777%2C122 735%2C122 C693%2C122 653%2C108 635%2C88 C612%2C110 572%2C122 530%2C122 C488%2C122 448%2C108 430%2C88 C407%2C110 367%2C122 325%2C122 C283%2C122 243%2C108 225%2C88 C202%2C110 162%2C122 120%2C122 C64%2C122 20%2C100 0%2C68 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

/* ═══════════════════════════════════════════════════
   6. LOGO
   ═══════════════════════════════════════════════════ */
a.navbar-brand {
  position: absolute !important;
  left: 50% !important;
  top: 50% !important;
  transform: translate(-50%, -50%) !important;
  z-index: 20 !important;
  margin: 0 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

a.navbar-brand img {
  display: block !important;
  height: auto !important;
  max-height: 82px !important;
  width: auto !important;
  object-fit: contain !important;
}

/* ═══════════════════════════════════════════════════
   7. HAMBURGER
   ═══════════════════════════════════════════════════ */
a.mburger {
  display: none !important;
}

@media (max-width: 1024px) {
  a.mburger {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    min-width: 32px !important;
    border-radius: 50% !important;
    background: var(--cg-cyan) !important;
    padding: 0 !important;
    text-decoration: none !important;
    transition: transform var(--cg-ease), background var(--cg-ease), box-shadow var(--cg-ease) !important;
  }

  a.mburger:hover {
    background: var(--cg-pink) !important;
    transform: translateY(-2px) scale(1.08) !important;
    box-shadow: 0 8px 18px rgba(247, 37, 133, 0.28) !important;
  }

  a.mburger i.sicon-menu {
    color: var(--cg-white) !important;
    font-size: 16px !important;
    line-height: 1 !important;
  }
}

/* ═══════════════════════════════════════════════════
   8. NAVIGATION MENU
   ═══════════════════════════════════════════════════ */
#mainnav li.root-level {
  list-style: none !important;
  display: inline-block !important;
}

#mainnav li.root-level > a {
  color: var(--cg-brown) !important;
  font-size: 19px !important;
  font-weight: 800 !important;
  text-decoration: none !important;
  white-space: nowrap !important;
  display: inline-block !important;
  transition: color var(--cg-ease), transform var(--cg-ease) !important;
}

#mainnav li.root-level > a:hover {
  color: var(--cg-pink) !important;
  transform: translateY(-2px) !important;
}

#mainnav li.root-level > a span {
  color: inherit !important;
}

#mainnav li.root-level ~ li,
#mainnav ul.main-menu li:not(.root-level) {
  display: none !important;
}

#mainnav ul.main-menu {
  display: flex !important;
  align-items: center !important;
  gap: 34px !important;
  direction: rtl !important;
  list-style: none !important;
  margin: 0 !important;
  padding: 0 !important;
}

@media (max-width: 1024px) {
  #mainnav ul.main-menu {
    display: none !important;
  }
}

button.close-mobile-menu {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   9. USER BUTTON
   ═══════════════════════════════════════════════════ */
button.s-user-menu-login-btn {
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 0 !important;
  border-radius: 50% !important;
  background: var(--cg-cyan) !important;
  border: none !important;
  cursor: pointer !important;
  align-self: center !important;
  transition: transform var(--cg-ease), background var(--cg-ease), box-shadow var(--cg-ease) !important;
}
button.s-user-menu-login-btn:hover {
  background: var(--cg-pink) !important;
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 8px 18px rgba(247, 37, 133, 0.28) !important;
}
button.s-user-menu-login-btn svg {
  width: 17px !important;
  height: 17px !important;
  fill: var(--cg-white) !important;
}
button.s-user-menu-login-btn svg path {
  fill: var(--cg-white) !important;
}

/* ═══════════════════════════════════════════════════
   10. CART
   ═══════════════════════════════════════════════════ */
a.s-cart-summary-wrapper {
  position: relative !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 32px !important;
  height: 32px !important;
  min-width: 32px !important;
  border-radius: 50% !important;
  background: var(--cg-cyan) !important;
  text-decoration: none !important;
  overflow: visible !important;
  padding: 0 !important;
  gap: 0 !important;
  align-self: center !important;
  margin-top: 0 !important;
  top: 0 !important;
  transition: transform var(--cg-ease), background var(--cg-ease), box-shadow var(--cg-ease) !important;
}
a.s-cart-summary-wrapper:hover {
  background: var(--cg-pink) !important;
  transform: translateY(-2px) scale(1.08) !important;
  box-shadow: 0 8px 18px rgba(247, 37, 133, 0.28) !important;
}
a.s-cart-summary-wrapper #s-cart-icon {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 17px !important;
  height: 17px !important;
}
a.s-cart-summary-wrapper #s-cart-icon slot-fb {
  display: flex !important;
}
a.s-cart-summary-wrapper #s-cart-icon slot-fb svg,
a.s-cart-summary-wrapper #s-cart-icon i.s-cart-summary-icon svg {
  width: 17px !important;
  height: 17px !important;
  fill: var(--cg-white) !important;
}
a.s-cart-summary-wrapper #s-cart-icon slot-fb svg path,
a.s-cart-summary-wrapper #s-cart-icon i.s-cart-summary-icon svg path {
  fill: var(--cg-white) !important;
}
a.s-cart-summary-wrapper i.header-btn__icon,
a.s-cart-summary-wrapper i[slot="icon"] {
  display: none !important;
}
a.s-cart-summary-wrapper span.s-cart-summary-count {
  position: absolute !important;
  top: -7px !important;
  right: -7px !important;
  left: auto !important;
  bottom: auto !important;
  width: 18px !important;
  height: 18px !important;
  min-width: 18px !important;
  border-radius: 50% !important;
  background: var(--cg-pink) !important;
  color: var(--cg-white) !important;
  font-size: 10px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 2px solid var(--cg-cream) !important;
  z-index: 10 !important;
  padding: 0 !important;
  transform: none !important;
  pointer-events: none !important;
}
a.s-cart-summary-wrapper p.s-cart-summary-content {
  display: none !important;
}

/* ═══════════════════════════════════════════════════
   FIX: محاذاة الحاوية
   ═══════════════════════════════════════════════════ */
#mainnav salla-user-menu,
#mainnav salla-cart-summary {
  display: inline-flex !important;
  align-items: center !important;
  align-self: center !important;
  gap: 10px !important;
}



/* ═══════════════════════════════════════════════════
   12. RESPONSIVE NAV (768px & 480px)
   ═══════════════════════════════════════════════════ */
@media (max-width: 768px) {
  #mainnav {
    min-height: 125px !important;
    padding-top: 58px !important;
    padding-bottom: 18px !important;
  }
  #mainnav::before { height: 92px !important; }
  a.navbar-brand img { max-height: 58px !important; }
}

@media (max-width: 480px) {
  #mainnav { min-height: 112px !important; padding-top: 50px !important; }
  #mainnav::before { height: 82px !important; }
  a.navbar-brand img { max-height: 58x !important; }
}
/* ═══════════════════════════════════════════════════
   13. FIXED BANNER (PRO CLEAN FULL BLEED)
   ═══════════════════════════════════════════════════ */
.s-block--fixed-banner {
    position: relative !important;
    left: 0;
    right: 0;
    width: 100% !important;
}

.s-block--fixed-banner .container {
    padding: 0 !important;
    max-width: 100% !important;
}

.s-block--fixed-banner img {
    width: 100% !important;
    height: auto !important;
    display: block;
}


/* =====================================================
   CREATGLOW — FOOTER STYLE v5.2
   ===================================================== */
.store-footer {
  background-color: var(--cg-cream) !important;
  font-family: var(--cg-font) !important;
  position: relative !important;
  overflow: visible !important;
  width: 100%;
  box-sizing: border-box;
}

/* موجة الاسكالوب */
.store-footer::before {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 60px;
  background: var(--cg-footer-pink);
  pointer-events: none;
  z-index: 0;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,60 C60,60 60,0 120,0 C180,0 180,60 240,60 C300,60 300,0 360,0 C420,0 420,60 480,60 C540,60 540,0 600,0 C660,0 660,60 720,60 C780,60 780,0 840,0 C900,0 900,60 960,60 C1020,60 1020,0 1080,0 C1140,0 1140,60 1200,60 C1260,60 1260,0 1320,0 C1380,0 1380,60 1440,60 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 60'%3E%3Cpath d='M0,60 C60,60 60,0 120,0 C180,0 180,60 240,60 C300,60 300,0 360,0 C420,0 420,60 480,60 C540,60 540,0 600,0 C660,0 660,60 720,60 C780,60 780,0 840,0 C900,0 900,60 960,60 C1020,60 1020,0 1080,0 C1140,0 1140,60 1200,60 C1260,60 1260,0 1320,0 C1380,0 1380,60 1440,60 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.store-footer__inner {
  padding: 80px 0 40px !important;
  position: relative;
  z-index: 1;
}

.store-footer__inner a h3 {
  font-family: var(--cg-font) !important;
  font-size: 2rem !important;
  font-weight: 900 !important;
  color: var(--cg-footer-pink) !important;
  letter-spacing: -0.5px;
  margin: 0 0 16px !important;
  display: inline-block;
}

.store-footer__inner a h3::after {
  content: '✦';
  font-size: 0.6em;
  color: var(--cg-cyan);
  margin-inline-start: 4px;
  vertical-align: super;
}

.store-footer__inner .max-w-sm p {
  font-size: 0.9rem !important;
  color: var(--cg-text-muted) !important;
  line-height: 2 !important;
  font-family: var(--cg-font) !important;
}

.store-footer__inner h3:not(a h3),
.s-contacts-title {
  font-family: var(--cg-font) !important;
  font-size: 1.1rem !important;
  font-weight: 700 !important;
  color: var(--cg-text-dark) !important;
  margin-bottom: 20px !important;
  padding-bottom: 10px !important;
  position: relative;
  display: inline-block;
}

.store-footer__inner h3:not(a h3)::after,
.s-contacts-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  left: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--cg-footer-pink), var(--cg-cyan));
  border-radius: 2px;
}

/* بطاقات التواصل */
.s-contacts-item {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  color: var(--cg-text-muted) !important;
  font-family: var(--cg-font) !important;
  font-size: 0.9rem !important;
  text-decoration: none !important;
  padding: 8px 12px !important;
  border-radius: var(--cg-radius) !important;
  background: var(--cg-cream-dark) !important;
  transition: background var(--cg-ease), color var(--cg-ease), transform var(--cg-ease), box-shadow var(--cg-ease) !important;
  margin-bottom: 8px !important;
  width: fit-content !important;
  direction: ltr;
}

.s-contacts-item:hover {
  background: var(--cg-footer-pink) !important;
  color: var(--cg-white) !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 6px 20px rgba(247, 37, 133, 0.3) !important;
}

.s-contacts-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--cg-footer-pink) !important;
  flex-shrink: 0;
  transition: fill var(--cg-ease);
}

.s-contacts-item:hover .s-contacts-icon svg {
  fill: var(--cg-white) !important;
}

/* السوشيال ميديا */
.s-social-list {
  display: flex !important;
  gap: 10px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  flex-wrap: wrap;
}

.s-social-link a {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: var(--cg-cyan) !important;
  text-decoration: none !important;
  transition: background var(--cg-ease), transform var(--cg-ease), box-shadow var(--cg-ease) !important;
  box-shadow: 0 4px 12px rgba(0, 198, 215, 0.3) !important;
}

.s-social-link a:hover {
  background: var(--cg-footer-pink) !important;
  transform: translateY(-3px) scale(1.1) !important;
  box-shadow: 0 8px 20px rgba(247, 37, 133, 0.4) !important;
}

.s-social-icon svg {
  width: 18px !important;
  height: 18px !important;
  fill: var(--cg-white) !important;
}

/* روابط الفوتر */
.s-menu-footer-list {
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.s-menu-footer-list a,
.s-menu-footer-list li a {
  font-family: var(--cg-font) !important;
  font-size: 0.9rem !important;
  color: var(--cg-text-muted) !important;
  text-decoration: none !important;
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  padding: 4px 0 !important;
  transition: color var(--cg-ease) !important;
}

.s-menu-footer-list a::before,
.s-menu-footer-list li a::before {
  content: '✦';
  font-size: 0.55em;
  color: var(--cg-footer-pink);
  flex-shrink: 0;
  transition: transform var(--cg-ease);
}

.s-menu-footer-list a:hover,
.s-menu-footer-list li a:hover {
  color: var(--cg-footer-pink) !important;
}

.s-menu-footer-list a:hover::before,
.s-menu-footer-list li a:hover::before {
  transform: scale(1.5);
}

/* أيقونات الدفع */
.s-payments-list {
  display: flex !important;
  gap: 8px !important;
  padding: 0 !important;
  margin: 0 !important;
  list-style: none !important;
  flex-wrap: wrap;
  align-items: center;
}

.s-payments-list-item {
  width: 44px !important;
  height: 28px !important;
  background: var(--cg-white) !important;
  border-radius: 8px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  padding: 4px 6px !important;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08) !important;
  transition: transform var(--cg-ease), box-shadow var(--cg-ease) !important;
  overflow: hidden;
}

.s-payments-list-item:hover {
  transform: translateY(-2px) !important;
  box-shadow: 0 4px 12px rgba(247, 37, 133, 0.2) !important;
}

.s-payments-list-item img {
  width: 100% !important;
  height: 100% !important;
  object-fit: contain !important;
}

/* الشريط الوردي السفلي (الكوبيرايت) */
.store-footer > div:last-child {
  background: var(--cg-footer-pink) !important;
  position: relative !important;
  width: 100vw !important;
  max-width: 100vw !important;
  left: 50% !important;
  transform: translateX(-50%) !important;
  margin: 0 !important;
  padding: 22px 20px 18px !important;
  box-sizing: border-box !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  z-index: 2;
}

.store-footer > div:last-child::before {
  content: '';
  display: block;
  position: absolute;
  top: -52px;
  left: 50%;
  transform: translateX(-50%);
  width: 100vw;
  height: 54px;
  background: var(--cg-footer-pink);
  pointer-events: none;
  z-index: 1;
  -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 54' preserveAspectRatio='none'%3E%3Cpath d='M0%2C54 L0%2C32 Q100%2C0 200%2C32 Q300%2C64 400%2C32 Q500%2C0 600%2C32 Q700%2C64 800%2C32 Q900%2C0 1000%2C32 Q1100%2C64 1200%2C32 L1200%2C54 Z'/%3E%3C/svg%3E");
  mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1200 54' preserveAspectRatio='none'%3E%3Cpath d='M0%2C54 L0%2C32 Q100%2C0 200%2C32 Q300%2C64 400%2C32 Q500%2C0 600%2C32 Q700%2C64 800%2C32 Q900%2C0 1000%2C32 Q1100%2C64 1200%2C32 L1200%2C54 Z'/%3E%3C/svg%3E");
  -webkit-mask-size: 100% 100%;
  mask-size: 100% 100%;
  -webkit-mask-repeat: no-repeat;
  mask-repeat: no-repeat;
}

.copyright-text p,
.copyright-text p a {
  font-family: var(--cg-font) !important;
  font-size: 0.82rem !important;
  color: rgba(255, 255, 255, 0.9) !important;
  margin: 0 !important;
  text-align: center !important;
}

.copyright-text p a {
  color: var(--cg-white) !important;
  font-weight: 700 !important;
  text-decoration: none !important;
  transition: opacity var(--cg-ease) !important;
}

.copyright-text p a:hover { opacity: 0.75 !important; }

salla-apps-icons {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: flex-end !important;
}



/* ═══════════════════════════════════════════════════
   14. ABOUT SECTION
   ═══════════════════════════════════════════════════ */
.about-section {
  background: #f6efe8;
  overflow: hidden;
  width: 100%;
}

.wave-top,
.wave-bottom {
  width: 100%;
  height: 80px;
}

.wave-top {
  background: #8bc863;
  border-bottom-left-radius: 50px;
  border-bottom-right-radius: 50px;
}

.wave-bottom {
  background: #ff5bb2;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.about-container {
  max-width: 1300px;
  margin: auto;
  padding: 80px 24px;
  display: flex;
  flex-direction: column;
  gap: 100px;
}

.about-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  align-items: center;
  gap: 60px;
}

.about-row.reverse {
  direction: ltr;
}

.about-row.reverse .about-content {
  direction: rtl;
}

.about-image {
  display: flex;
  justify-content: center;
}

.about-image img {
  width: 100%;
  max-width: 450px;
}

.about-content {
  text-align: center;
}

.about-content h2 {
  color: #ff4fa6;
  font-size: 3rem;
  margin-bottom: 30px;
  font-weight: 800;
}

.about-content p {
  color: #6d5c5c;
  font-size: 1.4rem;
  line-height: 2.2;
  margin-bottom: 24px;
}


/* ═══════════════════════════════════════════════════
   15. RESPONSIVE FOOTER & ABOUT (TABLET & MOBILE)
   ═══════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .store-footer__inner { padding: 70px 0 32px !important; }
  .about-row { gap: 40px; }
  .about-content h2 { font-size: 2.4rem; }
  .about-content p { font-size: 1.1rem; }
}

@media (max-width: 768px) {
  .store-footer__inner { padding: 70px 16px 32px !important; }
  
  .store-footer__inner .container,
  .store-footer__inner .container > div {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    text-align: center !important;
    width: 100% !important;
  }

  .s-menu-footer-list { align-items: center !important; }
  .s-menu-footer-list a, .s-menu-footer-list li a { justify-content: center !important; }
  .s-social-list, .s-payments-list { justify-content: center !important; }
  .s-contacts-item { margin-left: auto !important; margin-right: auto !important; }
  salla-apps-icons { justify-content: center !important; }
  .store-footer__inner a h3 { font-size: 1.6rem !important; }
  .s-social-link a { width: 38px !important; height: 38px !important; }
  .s-payments-list-item { width: 38px !important; height: 24px !important; }
  .store-footer > div:last-child { padding-top: 22px !important; }
  .store-footer > div:last-child::before { top: -48px; height: 50px; }

  /* About Mobile */
  .about-container { padding: 60px 18px; gap: 70px; }
  .about-row { grid-template-columns: 1fr; gap: 30px; }
  .about-row.reverse { direction: rtl; }
  .about-image img { max-width: 320px; }
  .about-content h2 { font-size: 2rem; }
  .about-content p { font-size: 1rem; line-height: 1.9; }
  .wave-top, .wave-bottom { height: 50px; }
}

@media (max-width: 480px) {
  .store-footer__inner a h3 { font-size: 1.4rem !important; }
  .about-content h2 { font-size: 1.7rem; }
  .about-content p { font-size: 0.92rem; }
  .about-image img { max-width: 260px; }
}

/* ═══════════════════════════════════════════════════
   16. REDUCED MOTION
   ═══════════════════════════════════════════════════ */
@media (prefers-reduced-motion: no-preference) {
  .s-social-link a,
  .s-contacts-item,
  .s-payments-list-item {
    will-change: transform;
  }
}

/* ═══════════════════════════════════════════════════
   17. REMOVE GAP BETWEEN HEADER AND FIRST ELEMENT
   ───────────────────────────────────────────────────
   تصفير أي هوامش أو فراغات افتراضية للبلوك الأول تحت الهيدر 
   لضمان التصاق البنرات أو السلايدر بالخط السيان مباشرة.
   ═══════════════════════════════════════════════════ */
main #main-content > div:first-child,
main #main-content > section:first-child,
.s-block:first-of-type,
.s-block--fixed-banner:first-of-type {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* في بعض قوالب سلة، يكون الفراغ ناتجاً عن حاوية المحتوى الرئيسية */
#main-content {
  padding-top: 0 !important;
}

/* ===== FORCE 4:6 PRODUCT CARD (SALLA) ===== */

/* الكارد نفسه */
custom-salla-product-card {
    width: 280px !important;
    height: 460px !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: hidden !important;
    aspect-ratio: unset !important;
}

/* حاوية الصورة */
custom-salla-product-card .s-product-card-image {
    flex: none !important;
    height: 320px !important;
    max-height: none !important;
    overflow: hidden !important;
    position: relative !important;
    aspect-ratio: unset !important;
}

/* الطبقات الداخلية */
custom-salla-product-card .s-product-card-image * {
    aspect-ratio: unset !important;
    height: 100% !important;
}

/* الصورة نفسها */
custom-salla-product-card img,
custom-salla-product-card .s-product-card-image-contain {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    display: block !important;
}

/* المحتوى */
custom-salla-product-card .s-product-card-content {
    flex: 1 !important;
    height: 140px !important;
}

/* تابلت 768px */
@media (max-width: 768px) {
    custom-salla-product-card {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
    }
    custom-salla-product-card .s-product-card-image {
        height: 75% !important;
    }
    custom-salla-product-card .s-product-card-content {
        height: 25% !important;
    }
}

/* موبايل 480px */
@media (max-width: 480px) {
    custom-salla-product-card {
        width: 100% !important;
        height: auto !important;
        aspect-ratio: 4 / 5 !important;
    }
    custom-salla-product-card .s-product-card-image {
        height: 75% !important;
    }
    custom-salla-product-card .s-product-card-content {
        height: 25% !important;
    }
}


/* ===== RESPONSIVE FIX LAYER ===== */

/* اللابتوب والشاشات الكبيرة */
@media (min-width: 1025px) {
    custom-salla-product-card {
        width: 100% !important;
        max-width: 280px !important;
        height: 460px !important;
    }
}

/* التابلت */
@media (max-width: 1024px) {
    custom-salla-product-card {
        width: 100% !important;
        max-width: 240px !important;
        height: 420px !important;
    }

    custom-salla-product-card .s-product-card-image {
        height: 65% !important;
    }

    custom-salla-product-card .s-product-card-content {
        height: 35% !important;
    }
}

/* الجوال */
@media (max-width: 767px) {
    custom-salla-product-card {
        width: 100% !important;
        max-width: none !important;
        height: 400px !important;
    }

    custom-salla-product-card .s-product-card-image {
        height: 60% !important;
    }

    custom-salla-product-card .s-product-card-content {
        height: 40% !important;
    }
}

custom-salla-product-card button.s-product-card-wishlist-btn {
    display: none !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button.s-button-element,
custom-salla-product-card .s-product-card-content-footer.gap-2 button.s-button-primary-outline,
custom-salla-product-card .s-product-card-content-footer.gap-2 salla-add-product-button button {
    background: #2b2b2b !important;
    border: none !important;
    border-radius: 14px !important;
    color: #ffffff !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    height: 44px !important;
    width: 100% !important;
    padding: 0 16px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 8px !important;
    cursor: pointer !important;
    position: relative !important;
    overflow: hidden !important;
    transition: transform 0.25s ease, box-shadow 0.25s ease !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button.s-button-element::after,
custom-salla-product-card .s-product-card-content-footer.gap-2 button.s-button-primary-outline::after,
custom-salla-product-card .s-product-card-content-footer.gap-2 salla-add-product-button button::after {
    content: '' !important;
    position: absolute !important;
    inset: 0 !important;
    background: linear-gradient(90deg, transparent, rgba(255,108,178,0.2), transparent) !important;
    transform: translateX(-100%) !important;
    transition: transform 0.5s ease !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button:hover::after {
    transform: translateX(100%) !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button:hover {
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25) !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button:active {
    transform: translateY(0px) !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button .sicon-shopping-bag {
    font-size: 16px !important;
    color: #ff92d8 !important;
}

custom-salla-product-card .s-product-card-content-footer.gap-2 button span {
    color: #ffffff !important;
}



/* ===== PRODUCT TITLE COLOR ===== */

custom-salla-product-card .s-product-card-content-title a,
custom-salla-product-card .s-product-card-content-title {
    color: rgb(255, 108, 178) !important;
    transition: color 0.25s ease !important;
}

/* عند التمرير يصير أسود */
custom-salla-product-card .s-product-card-content-title a:hover {
    color: #000000 !important;
}

.store-footer,
.store-footer__inner {
    background-color: rgb(255, 245, 240) !important;
}