/* =========================
   Header Waves Like Footer
========================= */

.main-nav-container,
.main-nav-container .inner {
  position: relative;
  overflow: visible !important;
}

/* حاوية الموجات */
.header-waves {
  position: absolute;
  left: 0;
  bottom: -38px;
  width: 100%;
  height: 90px;
  overflow: hidden;
  pointer-events: none;
  z-index: 0;
}

.header-wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100px;
  background-repeat: repeat-x;
  background-position: 0 top;
  border-radius: 0 0 40% 40%;
}

/* نفس ستايل الفوتر */
.header-wave.wave1 {
  top: 0;
  opacity: 0.22;
  background: radial-gradient(55% 70px at 50% 0, rgba(255,255,255,0.92) 98%, transparent 100%) repeat-x;
  background-size: 420px 100px;
  animation: headerWaveMove1 18s linear infinite;
}

.header-wave.wave2 {
  top: 10px;
  opacity: 0.16;
  background: radial-gradient(55% 62px at 50% 0, rgba(245,235,221,0.85) 98%, transparent 100%) repeat-x;
  background-size: 380px 92px;
  animation: headerWaveMove2 13s linear infinite;
}

.header-wave.wave3 {
  top: 18px;
  opacity: 0.12;
  background: radial-gradient(55% 58px at 50% 0, rgba(255,255,255,0.8) 98%, transparent 100%) repeat-x;
  background-size: 450px 90px;
  animation: headerWaveMove1 10s linear infinite;
}

.header-wave.wave4 {
  top: 8px;
  opacity: 0.10;
  background: radial-gradient(55% 54px at 50% 0, rgba(230,210,168,0.8) 98%, transparent 100%) repeat-x;
  background-size: 300px 84px;
  animation: headerWaveMove2 9s linear infinite;
}

@keyframes headerWaveMove1 {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@keyframes headerWaveMove2 {
  from { transform: translateX(-25%); }
  to { transform: translateX(0); }
}

/* نخلي محتوى الهيدر فوق الموج */
.main-nav-container .container,
.main-nav-container .inner > .container {
  position: relative;
  z-index: 2;
}

/* لو الهيدر شفاف أو glass */
.main-nav-container .inner {
  z-index: 3;
}

/* على الموبايل نقلل ارتفاع الموج */
@media (max-width: 768px) {
  .header-waves {
    height: 65px;
    bottom: -28px;
  }

  .header-wave {
    height: 70px;
  }

  .header-wave.wave1 {
    background-size: 280px 70px;
  }

  .header-wave.wave2 {
    background-size: 240px 64px;
  }

  .header-wave.wave3 {
    background-size: 300px 66px;
  }

  .header-wave.wave4 {
    background-size: 210px 58px;
  }
}


/* =========================
   Shared Infinite Swiper Style
========================= */
.banner-swap,
.scrolling-text {
  position: relative;
  overflow: hidden;
  width: 100%;
  background: #F5EBDD;
  direction: ltr;
}

.banner-swap .bannt,
.scrolling-text .text-container {
  display: flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  will-change: transform;
  animation: infiniteTicker 22s linear infinite;
}

.banner-swap:hover .bannt,
.scrolling-text:hover .text-container {
  animation-play-state: paused;
}

.banner-swap .banrerr,
.scrolling-text .ticker-item {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  direction: rtl;
  white-space: nowrap;
  font-size: 18px;
  font-weight: 500;
  line-height: 1;
  color: #3B2A1A;
  padding: 12px 24px;
  gap: 8px;
  position: relative;
}

.banner-swap .banrerr i,
.scrolling-text .ticker-item i {
  font-size: 16px;
  line-height: 1;
  flex: 0 0 auto;
}

.banner-swap .banrerr:not(:last-child)::after,
.scrolling-text .ticker-item:not(:last-child)::after {
  content: "";
  width: 1px;
  height: 18px;
  background: rgba(90, 58, 30, 0.12);
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
}

@keyframes infiniteTicker {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(calc(-1 * var(--loop-width, 1000px)));
  }
}

@media (max-width: 768px) {
  .banner-swap .bannt,
  .scrolling-text .text-container {
    animation-duration: 14s;
  }

  .banner-swap .banrerr,
  .scrolling-text .ticker-item {
    font-size: 14px;
    padding: 10px 16px;
    gap: 6px;
  }

  .banner-swap .banrerr i,
  .scrolling-text .ticker-item i {
    font-size: 13px;
  }
}

/* =========================
   Fancy Loader
========================= */
#fancy-loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  background: var(--body);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 99999;
  overflow: hidden;
  transition: opacity 0.6s ease;
}

.glass-sphere {
  position: relative;
  width: 160px;
  height: 160px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(12px);
  box-shadow:
    0 0 20px rgba(90, 58, 30, 0.2),
    inset 0 0 60px rgba(255, 255, 255, 0.15),
    inset 0 0 20px rgba(255, 255, 255, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
  animation: floaty 3s ease-in-out infinite;
  overflow: hidden;
}

.glass-sphere::before {
  content: "";
  position: absolute;
  top: -40%;
  left: -40%;
  width: 180%;
  height: 180%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0.25) 0%,
    rgba(255, 255, 255, 0.05) 60%,
    rgba(90, 58, 30, 0.25) 100%
  );
  transform: rotate(45deg);
  animation: shine 4s linear infinite;
  pointer-events: none;
  border-radius: 50%;
  filter: blur(8px);
}

.loader-logo {
  position: relative;
  width: 80px;
  height: 80px;
  object-fit: contain;
  animation: pulse 2s infinite;
  z-index: 2;
}

@keyframes floaty {
  0% { transform: translateY(0px) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
  100% { transform: translateY(0px) rotate(0deg); }
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.1); opacity: 0.9; }
  100% { transform: scale(1); opacity: 1; }
}

@keyframes shine {
  0% { transform: rotate(45deg) translateX(-100%); }
  100% { transform: rotate(45deg) translateX(100%); }
}

/* =========================
   Navbar Scroll Style
========================= */
.main-nav-container.fixed-header .inner.js-styled {
  animation: slideDownNav 0.6s ease-out;
  background: rgba(245, 235, 221, 0.78);
  box-shadow: 0 8px 20px rgba(90, 58, 30, 0.15);
  border-radius: 20px;
  backdrop-filter: blur(12px) saturate(180%);
  -webkit-backdrop-filter: blur(12px) saturate(180%);
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s ease-in-out;
  transform: translateY(0);
  width: 90%;
  margin: 30px auto 0 auto;
  max-width: 1200px;
}

@keyframes slideDownNav {
  0% {
    opacity: 0;
    transform: translateY(-50%);
    box-shadow: none;
  }
  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

/* =========================
   Accessibility
========================= */
.access-btn {
  position: fixed;
  bottom: 165px;
  left: 20px;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  color: white;
  font-size: 30px;
  z-index: 99;
  border: none;
  cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,0.4);
  transition: transform 0.2s;
  scale: 1.1;
  background: #8B5E34;
}

.access-btn:hover {
  transform: scale(1.2);
}

#accessibility-menu {
  position: fixed;
  bottom: 220px;
  left: 20px;
  width: 260px;
  background: #8b5e34;
  box-shadow: 0 0 20px rgba(90,58,30,0.2);
  border-radius: 12px;
  padding: 15px;
  display: none;
  z-index: 9999;
  font-family: Cairo, sans-serif;
}

.close-btn {
  position: absolute;
  top: 8px;
  left: 12px;
  color: white;
  font-size: 18px;
  cursor: pointer;
  font-weight: bold;
}

.font-size-label,
.font-family-label {
  margin-bottom: 5px;
  font-weight: bold;
}

#accessibility-menu select {
  width: 100%;
  margin-bottom: 15px;
  padding: 8px;
  border-radius: 6px;
  border: 1px solid #D4B98C;
  font-size: 15px;
}

.accessibility-action-btn {
  width: 100%;
  margin-bottom: 10px;
  padding: 10px;
  border: none;
  border-radius: 8px;
  background: #F5EBDD;
  cursor: pointer;
  transition: background 0.3s, transform 0.2s;
  font-size: 15px;
}

.accessibility-action-btn:hover {
  background: #E6D2A8;
}

.accessibility-action-btn.active {
  background: #8B5E34;
}

.high-contrast * {
  background: black !important;
  color: yellow !important;
  border-color: yellow !important;
}

/* =========================
   FAQ
========================= */
#faq-section {
  padding: 2rem 2rem 4rem;
  max-width: 1000px;
  margin: auto;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 1.5rem;
}

.faq-bubble {
  position: relative;
  width: 180px;
  height: 180px;
      background: #8B5E34;
  border-radius: 50%;
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 1rem;
  color: white;
  font-weight: bold;
  cursor: pointer;
  transition: transform 0.4s ease;
}

.faq-bubble:hover {
  transform: scale(1.05);
}

.faq-answer {
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  background: #F5EBDD;
  color: #3B2A1A;
  padding: 1rem;
  border-radius: 1rem;
  box-shadow: 0 4px 12px rgba(90,58,30,0.15);
  max-width: 220px;
  width: max-content;
  opacity: 0;
  pointer-events: none;
  transform-origin: top center;
  transition: opacity 0.4s ease, transform 0.4s ease;
  font-weight: normal;
  font-size: 0.95rem;
  z-index: 90;
}

.faq-bubble.open .faq-answer {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(10px) scale(1.05);
}

.faq-bubble.open {
  z-index: 1;
}

@media (max-width: 768px) {
  .faq-bubble {
    width: 140px;
    height: 140px;
    font-size: 0.85rem;
  }

  .faq-answer {
    font-size: 0.85rem;
  }
}

@media (max-width: 395px) {
  #faq-section {
    justify-content: center;
  }

  .faq-bubble {
    width: 100% !important;
    max-width: 110px;
    height: auto;
    aspect-ratio: 1 / 1;
  }

  .faq-answer {
    font-size: 12px;
    max-width: 100%;
  }
}

/* =========================
   Back To Top
========================= */
#backToTop {
  position: fixed;
  bottom: 24px;
  right: 20px;
  width: 78px;
  height: 78px;
  display: none;
  z-index: 99;
  border-radius: 50%;
  background: transparent;
}

#backToTop .icon {
  position: absolute;
      top: 25%;
    left: 74%;
  transform: translate(-50%, -52%);
  z-index: 2;
  color: #8B5E34;
}

#backToTop .icon svg {
  width: 28px;
  height: 28px;
}

.circular-chart {
     width: 50%;
    height: 50%;
  transform: rotate(-90deg);
}

.circle-bg {
  fill: none;
  stroke: transparent;
  stroke-width: 0;
}

.circle {
  fill: none;
  stroke: #8B5E34;
  stroke-width: 3.8;
  stroke-linecap: round;
  stroke-dasharray: 82 18;
  stroke-dashoffset: 8;
}

#backToTop:hover .icon {
  color: #5A3A1E;
}

#backToTop:hover .circle {
  stroke: #5A3A1E;
}

/* =========================
   Product Options Alert
========================= */
.product-options-alert {
  background-color: #F5EBDD;
  color: #8B5E34;
  padding: 15px;
  border: 1px solid #C89A5B;
  border-radius: 5px;
  margin-bottom: 10px;
  font-weight: bold;
  text-align: center;
}

/* =========================
   WhatsApp
========================= */
.whatsapp-float {
  position: fixed;
  bottom: 100px;
  left: 20px;
  z-index: 100;
}

.logo-container {
  height: 50px;
  margin: auto;
}

.whatsapp-icon {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  box-shadow: 0 4px 8px rgba(90, 58, 30, 0.2);
  cursor: pointer;
  transition: transform 0.3s ease-in-out;
}

.whatsapp-icon:hover {
  transform: scale(1.1);
}

.whatsapp-popup {
    position: fixed;
    bottom: 155px;
    left: 20px;
    width: 300px;
    box-shadow: 0 4px 12px rgba(90, 58, 30, 0.1);
    padding: 15px;
    color: white;
    z-index: 101;
    border-radius: 10px;
    background: #8b5e34;
}

.popup-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.tayeef-container {
  display: flex;
  padding-top: 6px;
  align-items: flex-end;
  justify-content: space-evenly;
}

.avatar-img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  margin-right: 10px;
}

.support-text {
  font-size: 16px;
  font-weight: bold;
}

.close-popup {
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
}

.options-list {
  list-style-type: none;
  padding: 0;
  margin: 10px 0;
}

.options-list li {
  margin-bottom: 5px;
}

.whatsapp-button {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #25d366;
  color: white;
  padding: 10px 15px;
  border-radius: 5px;
  text-decoration: none;
  margin-top: 15px;
}

.whatsapp-button:hover {
  background-color: #1ebe55;
}

.tayeef-link {
  display: flex;
  text-decoration: none;
  color: #3B2A1A;
}

.tayeef-img {
  width: 30px;
  height: 30px;
  margin-left: 3px;
}

.tayeef-text {
  font-size: 12px;
  color: white;
}

/* =========================
   Counter Section
========================= */
.s-block--counter-section .stats {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.s-block--counter-section .stat-card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    align-content: center;
    justify-content: center;
    align-items: center;
    gap: 0.4rem;
}

.s-block--counter-section .number {
  font-size: 2rem;
  font-weight: bold;
}

@media (prefers-reduced-motion: reduce) {
  .banner-swap .bannt,
  .scrolling-text .text-container,
  .glass-sphere,
  .loader-logo,
  .glass-sphere::before,
  .main-nav-container.fixed-header .inner.js-styled {
    animation: none !important;
  }
}

/* =========================
/* --------------=-=-=-=- */
/* =========================
   Footer Style Like libba-sa
========================= */

.store-footer {
  position: relative;
  overflow: hidden;
  background: linear-gradient(180deg, #5A3A1E 0%, #8B5E34 55%, #C89A5B 100%);
  color: #fff;
  margin-top: 70px;
  padding-top: 0;
}

/* waves */
.store-footer .waves {
  position: relative;
  width: 100%;
  height: 90px;
  overflow: hidden;
  pointer-events: none;
  z-index: 1;
}

.store-footer .wave {
  position: absolute;
  left: 0;
  width: 200%;
  height: 100px;
  background-repeat: repeat-x;
  background-position: 0 top;
  border-radius: 0 0 40% 40%;
}

.store-footer #wave1 {
  top: 0;
  opacity: 0.22;
  background: radial-gradient(55% 70px at 50% 0, rgba(255,255,255,0.92) 98%, transparent 100%) repeat-x;
  background-size: 420px 100px;
  animation: footerWaveMove1 18s linear infinite;
}

.store-footer #wave2 {
  top: 10px;
  opacity: 0.16;
  background: radial-gradient(55% 62px at 50% 0, rgba(245,235,221,0.85) 98%, transparent 100%) repeat-x;
  background-size: 380px 92px;
  animation: footerWaveMove2 13s linear infinite;
}

.store-footer #wave3 {
  top: 18px;
  opacity: 0.12;
  background: radial-gradient(55% 58px at 50% 0, rgba(255,255,255,0.8) 98%, transparent 100%) repeat-x;
  background-size: 450px 90px;
  animation: footerWaveMove1 10s linear infinite;
}

.store-footer #wave4 {
  top: 8px;
  opacity: 0.10;
  background: radial-gradient(55% 54px at 50% 0, rgba(230,210,168,0.8) 98%, transparent 100%) repeat-x;
  background-size: 300px 84px;
  animation: footerWaveMove2 9s linear infinite;
}

@keyframes footerWaveMove1 {
  from { transform: translateX(0); }
  to { transform: translateX(-25%); }
}

@keyframes footerWaveMove2 {
  from { transform: translateX(-25%); }
  to { transform: translateX(0); }
}

/* inner */
.store-footer__inner {
  position: relative;
  z-index: 2;
  padding-top: 35px;
  padding-bottom: 22px;
}

.store-footer .store-footer__inner .container.grid {
  display: grid !important;
  grid-template-columns: 1.2fr 1fr 1fr;
  gap: 40px;
  align-items: start;
}

/* ترتيب الأعمدة */
.store-footer .store-footer__inner .container.grid > div:nth-child(1) {
  order: 3;
  text-align: center;
}

.store-footer .store-footer__inner .container.grid > div:nth-child(2) {
  order: 2;
  text-align: center;
}

.store-footer .store-footer__inner .container.grid > div:nth-child(3) {
  order: 1;
  text-align: center;
}

/* اخفاء apps icons */
.store-footer salla-apps-icons {
  display: none !important;
}

/* logo */
.store-footer .lg\:col-span-2 a.flex.items-center {
  justify-content: center;
  width: 126px;
  height: 126px;
  margin: 0 auto 18px !important;
  background: #F5EBDD;
  border-radius: 50%;
  box-shadow: 0 8px 24px rgba(90,58,30,0.08);
}

.store-footer .lg\:col-span-2 a.flex.items-center h3 {
  margin: 0;
  color: #8B5E34 !important;
  font-size: 28px;
  font-weight: 900;
  line-height: 1;
}

/* brand text */
.store-footer .max-w-sm.leading-6.mb-6 {
  max-width: 380px !important;
  margin: 0 auto 20px !important;
}

.store-footer .max-w-sm.leading-6.mb-6 p,
.store-footer .max-w-sm.leading-6.mb-6 strong {
  color: #F5EBDD !important;
  font-size: 17px;
  line-height: 1.9;
  font-weight: 600;
}

/* titles */
.store-footer h3,
.store-footer .s-contacts-title {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 255px;
  min-height: 66px;
  padding: 14px 34px;
  margin: 0 0 24px;
  border-radius: 999px;
  background: #F5EBDD;
  color: #8B5E34 !important;
  font-size: 31px;
  font-weight: 800;
  line-height: 1;
  box-shadow: 0 10px 22px rgba(90,58,30,0.08);
}

/* عنوان اللوجو فقط */
.store-footer .lg\:col-span-2 > a h3 {
  min-width: auto;
  min-height: auto;
  background: transparent;
  padding: 0;
  box-shadow: none;
  margin: 0;
}

/* menu */
.store-footer .s-menu-footer-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.store-footer .s-menu-footer-item {
  color: #fff !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  line-height: 1.5;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.store-footer .s-menu-footer-item:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

/* contacts */
.store-footer .s-contacts-list {
  display: flex;
  flex-direction: column;
  gap: 18px;
  align-items: center;
}

.store-footer .s-contacts-item {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff !important;
  text-decoration: none;
  font-size: 17px;
  font-weight: 700;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.store-footer .s-contacts-item:hover {
  transform: translateY(-2px);
  opacity: 0.92;
}

.store-footer .s-contacts-icon {
  width: 42px;
  height: 42px;
  min-width: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  background: transparent;
}

.store-footer .s-contacts-icon svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

.store-footer .unicode {
  direction: ltr;
  unicode-bidi: plaintext;
}

/* socials */
.store-footer .s-social-list {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  padding: 0;
  margin: 14px 0 0;
}

.store-footer .s-social-link a {
  width: 42px;
  height: 42px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(255,255,255,0.9);
  border-radius: 50%;
  background: transparent;
  transition: transform 0.25s ease, background 0.25s ease;
}

.store-footer .s-social-link a:hover {
  transform: translateY(-2px);
  background: rgba(255,255,255,0.08);
}

.store-footer .s-social-icon svg {
  width: 17px;
  height: 17px;
  fill: #fff;
}

/* trust badge */
.store-footer .flex.gap-4 {
  justify-content: center;
  margin-top: 20px;
}

.store-footer .s-trust-badges-wrapper {
  display: flex;
  align-items: center;
  gap: 10px;
}

.store-footer .s-trust-badges-image {
  width: 48px !important;
  height: 48px !important;
}

.store-footer .s-trust-badges-label,
.store-footer .s-trust-badges-number {
  color: #fff !important;
}

.store-footer .s-trust-badges-label {
  font-size: 15px;
  font-weight: 700;
}

.store-footer .s-trust-badges-number {
  font-size: 14px;
  font-weight: 800;
}

/* bottom */
.store-footer > .md\:flex.items-center.justify-between.py-4.container.text-center {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  border-top: 1px solid rgba(255,255,255,0.55);
  margin-top: 8px;
  padding-top: 18px !important;
  padding-bottom: 18px !important;
}

.store-footer .copyright-text,
.store-footer .copyright-text p,
.store-footer .copyright-text a {
  color: #fff !important;
  font-size: 16px;
  font-weight: 800;
  margin: 0;
  text-decoration: none;
}

/* payments */
.store-footer .s-payments-list {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 0;
  margin: 0;
}

.store-footer .s-payments-list-item {
  width: 56px;
  height: 36px;
  border-radius: 12px;
  background: rgba(255,255,255,0.96);
  padding: 6px 8px;
  box-shadow: 0 4px 14px rgba(90,58,30,0.08);
}

.store-footer .s-payments-list-item img {
  object-fit: contain;
}

/* duplicate mobile social */
.store-footer .contact-social {
  display: none !important;
}

  .store-footer .store-footer__inner .container.grid {
   display: flex !important;
    gap: 40px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }

@media (max-width: 991px) {
  .store-footer .store-footer__inner .container.grid {
   display: flex !important;
    gap: 40px;
    flex-direction: row;
    align-content: center;
    justify-content: center;
    align-items: flex-start;
    flex-wrap: wrap;
  }
}

  .store-footer .store-footer__inner .container.grid > div:nth-child(1),
  .store-footer .store-footer__inner .container.grid > div:nth-child(2),
  .store-footer .store-footer__inner .container.grid > div:nth-child(3) {
    order: initial;
  }

  .store-footer h3,
  .store-footer .s-contacts-title {
    min-width: 220px;
    min-height: 58px;
    font-size: 24px;
    padding: 12px 24px;
  }

  .store-footer .lg\:col-span-2 a.flex.items-center {
    width: 110px;
    height: 110px;
  }

  .store-footer .lg\:col-span-2 a.flex.items-center h3 {
    font-size: 24px;
  }

  .store-footer > .md\:flex.items-center.justify-between.py-4.container.text-center {
    flex-direction: row;
  }
}

@media (max-width: 768px) {
  .store-footer .max-w-sm.leading-6.mb-6 p,
  .store-footer .max-w-sm.leading-6.mb-6 strong,
  .store-footer .s-menu-footer-item,
  .store-footer .s-contacts-item {
    font-size: 15px;
  }
}

.footer-is-light .store-footer .store-footer__inner {
    background-color: #8B5E34;
}

.inner.bg-inherit.w-full.js-styled {
    background: #F5EBDD !important;
}

.top-navbar {
    display: none;
}

.store-footer::after {
    content: "TAYEEF تقود رحلتك في البرمجة والتطوير";
    top: 0;
    color: #FFF !important;
    font-size: 16px;
    opacity: 0.8;
    text-align: center;
    font-family: sans-serif;
    font-weight: 700;
    width: 100%;
    display: inline-block;
}

@media (max-width:768px){
  .store-footer > .md\:flex.items-center.justify-between.py-4.container.text-center {
    flex-wrap: wrap;
    justify-content: center;
}
}

/* =========================
   Buttons Outline
========================= */
.s-button-outline {
    border: 2px solid #8B5E34;
    color: #8B5E34;
    background: transparent;
    border-radius: 999px;
    transition: all 0.3s ease;
}

/* Hover تأثير فاخر */
.s-button-outline:hover {
    background: linear-gradient(135deg, #8B5E34, #C89A5B);
    color: #fff;
    box-shadow: 0 6px 20px rgba(139, 94, 52, 0.3);
    transform: translateY(-2px);
}

/* =========================
   Primary Outline Hover
========================= */
.s-button-primary-outline:hover {
    background: linear-gradient(135deg, #8B5E34, #D6A85A);
    color: #fff;
    fill: #fff;
    border-color: transparent;
    box-shadow: 0 8px 25px rgba(139, 94, 52, 0.35);
    transform: scale(1.05);
}

/* =========================
   Feature Icons (دوائر)
========================= */
.s-block--features__item .feature-icon {
    align-items: center;
    background: linear-gradient(135deg, #8B5E34, #C89A5B);
    border-radius: 50%;
    display: flex;
    height: 4rem;
    width: 4rem;
    justify-content: center;
    margin-bottom: .75rem;
    overflow: hidden;
    
    /* تأثير ظل فاخر */
    box-shadow: 0 6px 20px rgba(139, 94, 52, 0.25);
    
    /* أنيميشن دخول */
    animation: fadeInUp 0.6s ease both;
    
    /* انتقال سلس */
    transition: all 0.35s ease;
}

/* Hover للأيقونات */
.s-block--features__item .feature-icon:hover {
    transform: translateY(-6px) scale(1.08);
    box-shadow: 0 12px 30px rgba(139, 94, 52, 0.35);
    
    /* لمعة خفيفة */
    background: linear-gradient(135deg, #C89A5B, #D6A85A);
}

/* أيقونة جوا الدائرة */
.s-block--features__item .feature-icon i,
.s-block--features__item .feature-icon svg {
    color: #fff;
    fill: #fff;
    font-size: 20px;
    transition: transform 0.3s ease;
}

/* حركة للأيقونة */
.s-block--features__item .feature-icon:hover i,
.s-block--features__item .feature-icon:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* =========================
   Animations
========================= */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.s-product-card-content-title a {
    color: #3B2A1A;
    transition: all 0.3s ease;
    position: relative;
}

/* Hover Effect */
.s-product-card-content-title a:hover {
    color: #8B5E34;
    
    /* حركة خفيفة */
    transform: translateY(-2px);
    
    /* تأثير لمعان */
    text-shadow: 0 4px 12px rgba(139, 94, 52, 0.25);
}

/* خط تحت متحرك (شيك جدًا 🔥) */
.s-product-card-content-title a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -4px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8B5E34, #D6A85A);
    transition: width 0.3s ease;
}

.s-product-card-content-title a:hover::after {
    width: 100%;
}

.main-menu li > a {
    color: #3B2A1A;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover */
.main-menu li > a:hover {
    color: #8B5E34;
    text-decoration: none;

    /* حركة خفيفة */
    transform: translateY(-2px);

    /* glow بسيط */
    text-shadow: 0 4px 10px rgba(139, 94, 52, 0.25);
}

/* خط متحرك تحت اللينك */
.main-menu li > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8B5E34, #D6A85A);
    transition: width 0.3s ease;
}

/* يظهر مع الهوفر */
.main-menu li > a:hover::after {
    width: 100%;
}

.main-menu > .has-children > a {
    color: #3B2A1A;
    position: relative;
    transition: all 0.3s ease;
}

/* Hover */
.main-menu > .has-children:hover > a {
    color: #8B5E34;

    /* حركة خفيفة */
    transform: translateY(-2px);

    /* glow فاخر */
    text-shadow: 0 4px 10px rgba(139, 94, 52, 0.25);
}

/* خط تحت متحرك */
.main-menu > .has-children > a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: -6px;
    width: 0%;
    height: 2px;
    background: linear-gradient(90deg, #8B5E34, #D6A85A);
    transition: width 0.3s ease;
}

.main-menu > .has-children:hover > a::after {
    width: 100%;
}

.main-menu > .has-children:hover > a::after {
    width: 100%;
}

.main-menu .has-children .has-children:hover > a,
.main-menu .has-children li a:hover {
    background: linear-gradient(
        135deg,
        rgba(200, 154, 91, 0.15),
        rgba(214, 168, 90, 0.15)
    );

    color: #8B5E34;

    /* شكل ناعم */
    border-radius: 8px;

    /* حركة خفيفة */
    transform: translateX(4px);

    /* انتقال سلس */
    transition: all 0.3s ease;
}

/* خط جانبي بسيط (فاخر 🔥) */
.main-menu .has-children li a {
    position: relative;
}

.main-menu .has-children li a::before {
    content: "";
    position: absolute;
    left: -8px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 60%;
    background: linear-gradient(#8B5E34, #D6A85A);
    border-radius: 4px;
    transition: all 0.3s ease;
}

/* يظهر عند الهوفر */
.main-menu .has-children li a:hover::before {
    width: 3px;
}

.s-product-card-content-sub, .s-product-card-rating {
    flex-direction: column;
    align-items: center;
}

.s-product-card-rating {
    flex-direction: row-reverse !important;
    gap: 0.2rem;
}

@media (min-width:490px) {
  .s-product-card-content-sub, .s-product-card-rating {
    flex-direction: row;
}
}



/*  */
/*  */
.footer-is-light .store-footer .store-footer__inner {
    background-color: #f5ebdd;
}

.footer-is-light .store-footer {
    background-color: #f9fafb;
}

.store-footer .s-menu-footer-item {
    color: #8b5e34 !important;
}

.store-footer .s-contacts-item {
    color: #805630 !important;
}

.store-footer .s-contacts-icon {
    border: 1.5px solid #8b5e34;
}

.store-footer .s-contacts-icon svg {
    fill: #8b5e34;
}

.store-footer .s-social-icon svg {
    fill: #8b5e34;
}

.store-footer .s-social-link a {
    border: 1.5px solid #8b5e34;
}

.store-footer .copyright-text, .store-footer .copyright-text p, .store-footer .copyright-text a {
    color: #8b5e34 !important;
}

.store-footer .waves {
    background: #8b5e34;
}

.store-footer {
    background: #f5ebdd !important;
    color: #fff;
}

.store-footer::after {
    color: #8b5e34 !important;
}

div#s-edit-alert{
    display: none;
}



/*  */
.container {
    width: 100% !important;
  max-width: 100%;  
}

@media (min-width: 1280px) {
    .container {
        width: 100% !important;
        max-width: 100%;      
    }
}

.s-products-list-vertical-cards {
    display: grid;
    gap: 16px; /* مسافة بين المنتجات */
    grid-template-columns: repeat(2, minmax(0, 1fr)); /* الموبايل الافتراضي */
}

/* تابلت */
@media (min-width: 768px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* لاب */
@media (min-width: 1024px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(5, minmax(0, 1fr));
    }
}

/* شاشات كبيرة */
@media (min-width: 1280px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(7, minmax(0, 1fr));
    }
}

.s-products-list-vertical-cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

@media (max-width: 370px) {
/* .s-products-list-vertical-cards {
    display: grid;
    gap: 18px;
    grid-template-columns: repeat(1, minmax(0, 1fr));
}
      .s-products-list-vertical-cards {
        gap: 20px;
    } */
  .s-button-text {
    overflow: clip !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    font-size: 10px;
    gap: 4px;
}

  .s-block__title h2 {
    font-size: 0.9rem;
}
}

/* الموبايل الصغير جدًا */
@media (max-width: 480px) {
    .s-products-list-vertical-cards {
        gap: 15px;
    }

    .s-product-card-content-title a {
        font-size: 13px;
        line-height: 1.5;
    }
  
}

/* التابلت */
@media (min-width: 768px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

/* اللاب */
@media (min-width: 1024px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(4, minmax(0, 1fr));
    }
}

/* الشاشات الكبيرة */
@media (min-width: 1440px) {
    .s-products-list-vertical-cards {
        grid-template-columns: repeat(6, minmax(150px, 1fr));
        gap: 20px;
    }
}


/* ضبط الكارت */
.s-product-card-entry {
    height: 100%;
    overflow: hidden;
}

/* ضبط الصورة */
.s-product-card-image {
    aspect-ratio: 1 / 1.25;
    overflow: hidden;
}

.s-product-card-image img,
.s-product-card-image-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ضبط المحتوى */
.s-product-card-content {
    padding: 10px 8px;
}

.s-product-card-content-title {
    min-height: 44px;
    margin-bottom: 8px;
}

.s-product-card-content-title a {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.6;
}

/* السعر والتقييم */
.s-product-card-content-sub {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}

/* زر السلة */
.s-product-card-content-footer {
    width: 100%;
    margin-top: 8px;
}

.s-product-card-content-footer .s-button-element {
    min-height: 38px;
    font-size: 13px;
}

@media (max-width: 640px) {
    .is-sticky-product-bar .sticky-product-bar {
        position: static !important;
    }
}

/* .copyright-text::after {
  content: " TAYEEF تقود رحلتك في البرمجة والتطوير";
  color: #000;
} */

    .s-products-list-vertical-cards {
        background: #f5ecdf;
        padding: 1rem;
        border: 1px solid #f5ecdf;
        border-radius: 1rem;
        box-shadow: 0px 0px 5px 5px #28282824;
    }

.s-product-card-entry {
    box-shadow: 0px 0px 4px 4px #0000003b;
    background: #f5ebdd;
}

.s-block__title .right-side:where([dir=rtl],[dir=rtl] *) {
    padding: 0.5rem;
    border-radius: 1rem;
    color: #8b5e34;
    border-bottom: 4px solid #8b5e34;
}

.s-block__title {
    justify-content: center;
}

.s-user-menu-trigger {
    background-color: rgb(247 239 228);
}