@import url('https://fonts.googleapis.com/css2?family=El+Messiri:wght@400..700&display=swap');

:root {
  --main-color: #a2c6dd;
  --secondary-color: #931f8f;
  --background-color: #fff;
  --text-color-dark: #333;
  --text-color-light: #fff;
  --shadow-color: rgba(0, 0, 0, 0.2);
  --transition-duration: 0.3s;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

body, html {
  margin: 0;
  padding: 0;
  font-family: 'El Messiri', sans-serif;
  background-color: var(--background-color);
  color: var(--text-color-dark);
}

a {
  text-decoration: none;
  color: inherit;
  transition: color var(--transition-duration) ease;
}

a:hover {
  color: var(--secondary-color);
}

button, .s-button-element {
  background-color: var(--main-color);
  color: var(--text-color-dark);
  padding: 12px 20px;
  border: 1px solid transparent;
  border-radius: 5px;
  font-size: 16px;
  text-align: center;
  cursor: pointer;
  transition: all var(--transition-duration);
  box-shadow: 0 4px 12px var(--shadow-color);
}

button:hover, .s-button-element:hover {
  background-color: var(--secondary-color);
  color: var(--text-color-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.3);
}

button:focus, .s-button-element:focus {
  outline: none;
}

.banner-entry {
  background-color: transparent;
  height: 257px;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 20px;
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  border-radius: 8px;
}

.s-block__title h2, .s-slider-block__title {
  font-weight: 700;
  color: #37b8cd;
  line-height: 1.75rem;
  margin-bottom: 20px;
}

.s-block__title h2 {
  font-size: 2rem;
  text-align: center;
}

.s-block--hero-slider .swiper-slide .swiper-lazy:after,
.main-menu li:hover > .sub-menu,
.s-block,
.s-comments-product,
.footer-is-light .store-footer,
.footer-is-light .store-footer .store-footer__inner,
.top-navbar,
.mm-spn.mm-spn--light,
.main-nav-container.fixed-pinned .inner,
#mainnav,
.s-block--categories .swiper-wrapper a {
  background-color: var(--background-color);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.1);
  transition: background-color var(--transition-duration) ease-in-out;
}

@keyframes fade-in {
  0% { opacity: 0; }
  100% { opacity: 1; }
}

.s-slider-block__display-all {
  background: transparent;
  animation: signal 1.2s linear infinite;
}

@keyframes signal {
  0% { box-shadow: 0 0 0 0 #e8cdad; }
  100% { box-shadow: 0 0 0 5px #fff; }
}

.footer-is-light .store-footer {
  background-color: var(--background-color);
  padding: 40px;
  font-size: 14px;
  border-radius: 15px 15px 0 0;
  box-shadow: 0 6px 25px rgba(0, 0, 0, 0.1);
}

.store-footer h3 {
  color: var(--text-color-light);
  background: #54b896;
  border-radius: 5px;
  padding: 10px;
  width: 100%;
  text-align: center;
  font-size: 1.25rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.store-footer .contact-social ul li a {
  color: #fff;
  transition: color var(--transition-duration) ease;
}

.store-footer .contact-social ul li:first-child a {
  background: var(--background-color);
}

.store-footer .contact-social ul li a:hover {
  color: var(--secondary-color);
}

/* ✅ ترتيب وتوسيط العناصر */
.s-block--features {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 20px;
  margin: 30px auto;
  flex-wrap: wrap;
}

/* ✅ عنصر ميزة */
.s-block--features__item {
  flex: 1 1 30%;
  max-width: 30%;
  padding: 25px;
  background: var(--background-color);
  box-shadow: 0 4px 12px var(--shadow-color);
  border-radius: 8px;
  text-align: center;
  transition: transform var(--transition-duration), box-shadow var(--transition-duration);
}

.s-block--features__item:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.s-block--features__item .feature-icon {
  height: 70px;
  width: 70px;
  background-color: var(--background-color);
  margin-bottom: 20px;
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* ✅ نصوص داخل العناصر */
.s-block--features__item p, 
.s-block--features__item h3 {
  font-size: 1.1rem;
  line-height: 1.4;
}

/* ✅ شاشات صغيرة */
@media (max-width: 768px) {
  .s-block--features__item {
    flex: 1 1 100%;
    max-width: 100%;
  }
}

/* أيقونات */
.sicon-user-circle:before {
  content: "\f072";
}

.sicon-shopping-bag:before {
  content: "\ef36";
}

/* Footer */
footer {
  background-color: var(--background-color);
  padding: 40px;
  text-align: center;
  border-top: 1px solid #ddd;
  box-shadow: 0 -4px 12px rgba(0, 0, 0, 0.1);
}

footer h2 {
  color: var(--secondary-color);
  margin: 20px 0;
}

footer p {
  color: #555;
  font-size: 0.9rem;
}

.s-block {
  margin-top: 10px !important;
  padding-top: 10px !important;
}

/* تصغير صور المنتجات */
.s-product__image img,
.product-item img {
  max-width: 150px !important;
  max-height: 150px !important;
  object-fit: contain !important;
}