/* =========================
   Vars
========================= */
:root {
  --main-color: #9c8e7e;
  --transparent-color: #616d62;
  --page-bg: #f9fafb;
  --wave-depth: 90px;
}
body{
  background-image: url('https://i.ibb.co/XZ1bBBck/Artboard-202-2x.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed; 
}

/* =========================
   Header
========================= */
.top-navbar { background-color: var(--main-color); }
i.header-btn__icon {
  background-color: var(--main-color);
  color: #fff;
  transition: all .3s ease-in-out;
}
i.header-btn__icon:hover { transform: translateY(-10px); }

.inner.bg-inherit { width: 100%; }

.main-nav-container.fixed-header .inner {
  padding: 17px;
  border-radius: 0 0 50px 50px;
  box-shadow: 1px 2px 3px #ececec;
}

/* =========================
   Photos Slider (full-bleed)
========================= */
.s-block--photos-slider,
.s-block--photos-slider .s-slider-container,
.s-block--photos-slider .swiper-wrapper,
.s-block--photos-slider .swiper-slide {
  width: 100vw !important;
  max-width: 100vw !important;
  margin: 0 !important;
  padding: 0 !important;
}
.s-slider-nav-arrow { display: none !important; }

/* =========================
   Logo Intro Animation
========================= */
body.index:before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 99999999999999999 !important;
  background: #9c8e7e url(https://i.ibb.co/p6FzwnhD/Artboard-198-2x.png) center / 200px no-repeat;
  transform: scale(0);
  animation: logobg 2.5s;
}
@keyframes logobg {
  0%, 20%, 78% { transform: scale(1); }
  100% { transform: scale(0); }
}

/* =========================
   Fixed Banner (Tabby/Tamara badge)
========================= */
.s-block.s-block--fixed-banner { position: relative; }
.s-block.s-block--fixed-banner:first-of-type::after {
  content: "";
  position: absolute;
  left: 66%;
  bottom: 28%;
  width: 100%;
  height: 80px;
  background: url(https://i.ibb.co/p6FzwnhD/Artboard-198-2x.png) center / contain no-repeat;
  pointer-events: none;
}
@media (max-width: 767px) {
  .s-block.s-block--fixed-banner:first-of-type::after {
    left: 60%;
    bottom: 24%;
    height: 35px;
  }
}

/* Remove banner background/shadow (all fixed banners) */
.s-block--fixed-banner,
.s-block--fixed-banner .container,
.s-block--fixed-banner .banner--fixed,
.s-block--fixed-banner .banner--fixed img {
  background: transparent !important;
  box-shadow: none !important;
}

/* =========================
   Content (titles, buttons, nav)
========================= */
#mainnav {
  display: flex;
  align-items: center;
  column-gap: 15px !important;
}

.s-slider-block__title {
  justify-content: center;
  flex-direction: column;
  row-gap: 15px !important;
}
.s-slider-block__title h2,
.s-slider-block__title-right { padding-left: 0 !important; }

.s-slider-block__title-right {
  position: relative;
}
.s-slider-block__title-right::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -5px;
  width: 60px;
  height: 3px;
  background-color: var(--transparent-color);
  transform: translateX(-50%);
  transition: width .3s ease-in-out;
}
.s-slider-block__title-right:hover::before { width: 100%; }

.s-slider-block__display-all,
.s-slider-nav-arrow {
  background: var(--transparent-color);
  box-shadow: 1px 2px 3px #ddd;
}
.s-slider-block__display-all {
  color: #fff !important;
  padding: 7px 15px;
  border-radius: 50px;
}
.s-button-text { color: #ffffff !important; }

/* =========================
   Product Cards
========================= */
.s-product-card-entry { 
  border: 2px solid var(--main-color);
  text-align: center;
}
.s-product-card-entry * { justify-content: center; text-align: inherit; }

.s-product-card-image { background-color: transparent !important; }

button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline {
  background: var(--main-color) !important;
  color: #000;
  transition: all .3s ease-in-out;
}
button.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline:hover {
  background: #000 !important;
  color: var(--main-color);
}

/* =========================
   Features Icons
========================= */
.s-block--features__item { background: transparent !important; }
.s-block--features__item p { display: none; }

.s-block--features__item .feature-icon {
  background-color: var(--transparent-color);
  width: 5rem; height: 5rem;
  padding: 5px;
}
.s-block--features__item .feature-icon i::before { display: none; }
.s-block--features__item .feature-icon i {
  width: 80px; height: 80px;
  background: center / contain no-repeat;
  filter: brightness(0) invert(1);
}
.s-block--features__item .feature-icon i.sicon-store2        { background-image: url(https://i.ibb.co/h68ZvDB/3.png); }
.s-block--features__item .feature-icon i.sicon-shipping-fast { background-image: url(https://i.ibb.co/qMspJNLw/1.png); }
.s-block--features__item .feature-icon i.sicon-fire          { background-image: url(https://i.ibb.co/VYJTdT9b/2.png); }

/* =========================
   Footer — Background + Wave
========================= */
.md\:flex.items-center.justify-between.py-4.container.text-center {
    background: #9c8f7e;
    border-radius: 50px 50px 0px 0px;
}

.store-footer {
  position: relative;
  color: #fff;
   background-color: transparent!important;
  overflow: hidden;
}
.footer-is-light .store-footer .store-footer__inner {
   background-color: transparent!important;

}

/* Footer grid & first block (title/desc/social) */
.store-footer__inner .container{
  display: grid !important;
  gap: 1.5rem;
  grid-template-columns: 1fr;
  justify-items: center;
  text-align: center;
  padding-top: clamp(40px, 6vw, 80px);
  background: var(--main-color) !important;
  padding-bottom: clamp(28px, 4vw, 44px);
   border-top-left-radius: 50% 20%;
  border-top-right-radius: 50% 20%;
      border-bottom-left-radius: 33% 8%;
    border-bottom-right-radius: 33% 8%;
}
.store-footer__inner .container > div:first-child{
  order: 1;
  grid-column: 1 / -1;
  max-width: 760px;
  position: relative;
  padding-top: clamp(120px, 22vw, 220px);
}
.store-footer__inner .container > div:first-child::before{
  content: "";
  position: absolute;
  top: clamp(-20px, -2vw, -10px);
  left: 50%;
  transform: translateX(-50%);
  width: clamp(140px, 24vw, 260px);
  aspect-ratio: 1 / 1;
  background: url(https://i.ibb.co/p6FzwnhD/Artboard-198-2x.png) center / contain no-repeat;
  filter: drop-shadow(0 12px 24px rgba(0,0,0,.15));
  pointer-events: none;
}

/* Typography & links in footer */
.store-footer h3,
.store-footer p,
.store-footer a { color: #fff; }

/* Social (show desktop list on mobile too) */
.store-footer .s-social-list{
  display: inline-flex;
  align-items: center;
  gap: 10px;
}
.store-footer .s-social-link a{
  display: grid;
  place-items: center;
  width: 42px; height: 42px;
  border-radius: 999px;
  background: rgba(255,255,255,.12);
  transition: transform .2s ease, background .2s ease;
}
.store-footer .s-social-link a:hover{
  transform: translateY(-3px);
  background: rgba(255,255,255,.22);
}
.store-footer .s-social-icon svg{ width:20px; height:20px; fill:#fff; }

.store-footer .hidden.lg\:block { display: block !important; }
.store-footer .contact-social     { display: none !important; }

/* Columns 2 & 3 (important links / contact) */
.store-footer__inner .container > div:nth-of-type(2),
.store-footer__inner .container > div:nth-of-type(3){
  order: 2;
  width: 100%;
}

/* Footer menus & contacts */
.store-footer salla-menu .s-menu-footer-list a{
  color:#fff; opacity:.9;
}
.store-footer salla-menu .s-menu-footer-list a:hover{
  opacity:1; text-decoration: underline;
}
.store-footer .s-contacts-title,
.store-footer h3{
  font-weight:700;
  margin-bottom:.75rem;
}
.store-footer .s-contacts-list-vertical .s-contacts-item{
  color:#fff; opacity:.95;
  display:flex; align-items:center; gap:.5rem;
  padding:.35rem 0;
}
.store-footer .s-contacts-icon svg{ fill:#fff; }

/* Bottom strip (payments/copyright) */
.store-footer + .md\:flex,
.store-footer .md\:flex{ border-top: 1px solid rgba(255,255,255,.18); }
.store-footer .copyright-text p,
.store-footer .s-payments-list-wrap{ color:#f2f2f2; }
.store-footer .s-payments-list .s-payments-list-item img{
  filter: brightness(0) invert(1) contrast(.9);
  opacity:.9;
}

/* Responsive layout for footer grid */
@media (min-width: 1024px){
  .store-footer__inner .container { grid-template-columns: 1fr 1fr; }
  .store-footer__inner .container > div:first-child { grid-column: 1 / -1; }
  .store-footer__inner .container > div:nth-of-type(2){ justify-self: end; text-align: start; }
  .store-footer__inner .container > div:nth-of-type(3){ justify-self: start; text-align: start; }
}

/* Contacts list direction per device */
.s-contacts-list-vertical { display: flex; flex-direction: column; }
@media (min-width: 768px){ .s-contacts-list-vertical { flex-direction: row; } }

/* =========================
   RTL fine-tuning (first block)
========================= */
/* الوصف يمين وRTL */
.store-footer__inner .container > div:first-child .max-w-sm,
.store-footer__inner .container > div:first-child .max-w-sm p{
  text-align: right !important;
  direction: rtl !important;
}
/* اسم المتجر بالنص */
.store-footer__inner .container > div:first-child h3{
  text-align: center !important;
  margin-inline: auto !important;
}
/* سوشال بالوسط ومعزول عن RTL */
.store-footer__inner .container > div:first-child salla-social,
.store-footer__inner .container > div:first-child .contact-social{
  direction: ltr !important;
  unicode-bidi: isolate !important;
  text-align: center !important;
}
.store-footer__inner .container > div:first-child .s-social-list{
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  gap: 10px !important;
  flex-wrap: wrap !important;
}
.store-footer__inner .container > div:first-child .s-social-link { float: none !important; }
.store-footer__inner .container > div:first-child .s-social-link a{
  display: grid !important;
  place-items: center !important;
}
.store-footer__inner .container > div:first-child .s-social-icon svg{
  width: 20px !important; height: 20px !important;
}

.store-footer .s-payments-list .s-payments-list-item img {
  filter: none !important;
  opacity: 1 !important;
}