/* =========================================================
   MAZHA FINAL FULL CSS — CLEAN + RESPONSIVE
   ========================================================= */


/* =========================================================
   FOOTER BASE
   ========================================================= */

footer.store-footer {
  background: #ffffff !important;
  padding: 10px 8px !important;
  margin: 15px auto !important;
  max-width: 80% !important;
  border-radius: 18px !important;
  border: 1.5px solid rgba(217, 194, 122, 0.5) !important;
  box-shadow:
    0 0 10px rgba(217, 194, 122, 0.3),
    0 0 20px rgba(217, 194, 122, 0.15) !important;
  position: relative !important;
  text-align: center !important;
}

.store-footer__inner {
  background: transparent !important;
  padding: 15px 10px !important;
  text-align: center !important;
}

footer.store-footer,
footer.store-footer * {
  color: #0b3d2e !important;
  text-align: center !important;
}

footer.store-footer svg,
footer.store-footer svg *,
footer.store-footer i {
  color: #0b3d2e !important;
  fill: #0b3d2e !important;
  stroke: #0b3d2e !important;
}

/* إخفاء النص القديم */
footer.store-footer h1,
footer.store-footer h2,
footer.store-footer h3,
footer.store-footer strong {
  opacity: 0 !important;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden !important;
}

/* لوقو مزهى داخل الفوتر */
footer.store-footer .store-footer__inner::before {
  content: "";
  display: block;
  width: 65px;
  height: 65px;
  margin: 0 auto 10px;
  background-color: #0b3d2e;
  -webkit-mask: url("https://i.postimg.cc/k4qgByLZ/IMG-3784.png") center/contain no-repeat;
  mask: url("https://i.postimg.cc/k4qgByLZ/IMG-3784.png") center/contain no-repeat;
}


/* =========================================================
   BUTTON STYLE
   ========================================================= */

button.s-button-btn,
.s-add-to-cart-button,
button.add-to-cart,
button.salla-add-product-button,
.s-product-card-entry button {
  background: #f9f6e8 !important;
  color: #0b3d2e !important;
  border: 2px solid #0b3d2e !important;
  border-radius: 12px !important;
  box-shadow:
    0 0 6px rgba(11, 61, 46, 0.35),
    0 0 14px rgba(11, 61, 46, 0.15) !important;
  transition: all 0.3s ease !important;
}

button.s-button-btn:hover,
.s-add-to-cart-button:hover,
button.add-to-cart:hover,
button.salla-add-product-button:hover,
.s-product-card-entry button:hover {
  background: #fcfaf1 !important;
  transform: translateY(-2px);
}


/* =========================================================
   PRODUCT CARD — TALL STYLE
   ========================================================= */

.s-product-card-entry {
  min-height: 420px !important;
  height: auto !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
}

.s-product-card-image {
  height: 300px !important;
  overflow: hidden !important;
}

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

.s-product-card-content {
  padding: 10px !important;
}


/* =========================================================
   FIXED TOP LOGO
   ========================================================= */

html::after {
  content: "";
  position: fixed;
  top: 35px;
  left: 50%;
  transform: translateX(-50%);
  width: 65px;
  height: 65px;
  background-color: #0b3d2e;
  -webkit-mask: url("https://i.postimg.cc/k4qgByLZ/IMG-3784.png") center/contain no-repeat;
  mask: url("https://i.postimg.cc/k4qgByLZ/IMG-3784.png") center/contain no-repeat;
  z-index: 9999999;
  pointer-events: none;
}

body {
  padding-top: 100px !important;
}


/* =========================================================
   INTRO ANIMATION — ONE CLEAN VERSION ONLY
   ========================================================= */

body.index::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999999;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(3px);
  -webkit-backdrop-filter: blur(3px);
  pointer-events: none;
  animation: mazhaIntroBgFade 4.2s ease forwards;
}

body.index::after {
  content: "";
  position: fixed;
  top: 50%;
  left: 50%;
  width: 110px;
  height: 110px;
  transform: translate(-50%, -50%);
  z-index: 1000000;
  border-radius: 50%;
  background:
    url("https://i.postimg.cc/k4qgByLZ/IMG-3784.png") center/68% no-repeat,
    #ffffff;
  border: 2px solid rgba(11, 61, 46, 0.95);
  box-shadow:
    0 0 0 10px rgba(11, 61, 46, 0.08),
    0 0 25px rgba(11, 61, 46, 0.20);
  filter: drop-shadow(0 0 10px rgba(11, 61, 46, 0.18));
  animation: mazhaIntroLogo 4.2s ease forwards;
}


/* =========================================================
   INTRO RING
   ========================================================= */

@keyframes mazhaIntroLogo {
  0% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(0.82) rotate(0deg);
    box-shadow:
      0 0 0 0 rgba(11, 61, 46, 0.00),
      0 0 0 rgba(11, 61, 46, 0.00);
  }

  20% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1) rotate(0deg);
    box-shadow:
      0 0 0 10px rgba(11, 61, 46, 0.08),
      0 0 25px rgba(11, 61, 46, 0.20);
  }

  70% {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.04) rotate(360deg);
    box-shadow:
      0 0 0 14px rgba(217, 194, 122, 0.18),
      0 0 30px rgba(11, 61, 46, 0.22);
  }

  100% {
    opacity: 0;
    transform: translate(-50%, -50%) scale(1.12) rotate(540deg);
    box-shadow:
      0 0 0 20px rgba(217, 194, 122, 0.00),
      0 0 0 rgba(11, 61, 46, 0.00);
  }
}

@keyframes mazhaIntroBgFade {
  0%, 75% {
    opacity: 1;
    visibility: visible;
  }

  100% {
    opacity: 0;
    visibility: hidden;
  }
}


/* =========================================================
   RESPONSIVE — TABLET
   ========================================================= */

@media (min-width: 769px) and (max-width: 1024px) {
  footer.store-footer {
    max-width: 92% !important;
    padding: 12px 10px !important;
    margin: 12px auto !important;
  }

  .store-footer__inner {
    padding: 14px 10px !important;
  }

  footer.store-footer .store-footer__inner::before {
    width: 58px !important;
    height: 58px !important;
  }

  .s-product-card-entry {
    min-height: 390px !important;
  }

  .s-product-card-image {
    height: 250px !important;
  }

  html::after {
    width: 55px !important;
    height: 55px !important;
    top: 20px !important;
  }

  body {
    padding-top: 78px !important;
  }

  body.index::after {
    width: 95px !important;
    height: 95px !important;
  }
}


/* =========================================================
   RESPONSIVE — MOBILE
   ========================================================= */

@media (max-width: 768px) {
  footer.store-footer {
    max-width: 95% !important;
    padding: 10px 8px !important;
    margin: 10px auto !important;
    border-radius: 14px !important;
  }

  .store-footer__inner {
    padding: 12px 8px !important;
  }

  footer.store-footer .store-footer__inner::before {
    width: 50px !important;
    height: 50px !important;
    margin: 0 auto 8px !important;
  }

  .s-product-card-entry {
    min-height: 340px !important;
  }

  .s-product-card-image {
    height: 220px !important;
  }

  .s-product-card-content {
    padding: 8px !important;
  }

  button.s-button-btn,
  .s-add-to-cart-button,
  button.add-to-cart,
  button.salla-add-product-button,
  .s-product-card-entry button {
    border-radius: 10px !important;
    font-size: 14px !important;
    padding: 10px 12px !important;
  }

  html::after {
    width: 46px !important;
    height: 46px !important;
    top: 14px !important;
  }

  body {
    padding-top: 65px !important;
  }

  body.index::before {
    backdrop-filter: blur(1.5px) !important;
    -webkit-backdrop-filter: blur(1.5px) !important;
  }

  body.index::after {
    width: 82px !important;
    height: 82px !important;
    background-size: 66%, auto !important;
  }
}