@media (max-width: 768px) {
  /* Make the banner wrapper a positioning context */
  .banner-wrapper {
    position: relative;
  }

  /* Move the content box to the bottom on mobile */
  .py-6.md\:py-0.w-full.px-4.md\:px-16 {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: auto;
    z-index: 2;
    margin-top: auto;
    margin-bottom: 0;
  }

  /* Center the inner container and its content */
  .py-6.md\:py-0.w-full.px-4.md\:px-16 .theme-container {
    margin-inline: auto;
    align-items: center !important;
    text-align: center !important;
  }

  /* Center the text block and the button row */
  .py-6.md\:py-0.w-full.px-4.md\:px-16 .theme-container > div {
    align-items: center;
    text-align: center;
    width: 100%;
  }

  /* Center the headings and paragraph text */
  .py-6.md\:py-0.w-full.px-4.md\:px-16 h2,
  .py-6.md\:py-0.w-full.px-4.md\:px-16 p {
    text-align: center;
    width: 100%;
  }

  /* Center the "Shop Now" button horizontally */
  .py-6.md\:py-0.w-full.px-4.md\:px-16 .flex.gap-4 {
    justify-content: center;
    width: 100%;
  }

  /* تصغير صور قسم الأقسام في الصفحة الرئيسية */
.embla__slide .group.flex.flex-col.gap-4 > .overflow-hidden.rounded {
  max-width: 180px;
  margin-left: auto;
  margin-right: auto;
}

.embla__slide .group.flex.flex-col.gap-4 > .overflow-hidden.rounded img {
  width: 180px;
  height: 225px;
  object-fit: cover;
}

.embla__slide a.group.flex.flex-col.gap-4 {
  max-width: 140px;
}

.embla__slide a.group.flex.flex-col.gap-4 .overflow-hidden.rounded {
  max-width: 180px;
}

.embla__slide a.group.flex.flex-col.gap-4 img {
  width: 180px;
  height: 225px;
  object-fit: cover;
}

.embla__slide a.group.flex.flex-col.gap-4 h3 {
  text-align: center;
  font-size: 1rem;
}

[section-id="1e19c622-b5cb-4d9b-a6f8-b20de06e6cc0"] .embla__slide {
  flex: 0 0 155px !important;
}

footer#footer {
    text-align: center;
}

footer#footer * {
    justify-content: center;
}

footer img.block.md\:hidden {
    margin: auto;
}
}

@media (min-width: 768px) {
[section-id="1e19c622-b5cb-4d9b-a6f8-b20de06e6cc0"] .embla {
    --slide-size: 355px;
}
}

button[data-open-quick-view="true"] {
  font-size: 0; /* يخفي النص الأصلي */
}

button[data-open-quick-view="true"]::after {
  content: "أضف للسلة";
  font-size: 1rem; /* يعيد حجم الخط للنص الجديد */
  display: inline-block;
}


/* Prevent the cart row overflow on mobile */
@media (max-width: 1023px) {
  .cart-product-item .qty-input.qty-input-full {
    width: 65% !important;       /* don't force 100% on mobile */
    flex: 0 1 auto;    /* allow shrinking */
    min-width: 0;
  }

  /* Make sure the wrapper itself can shrink */
  .cart-product-item .flex.items-center.justify-between.gap-4 {
    min-width: 0;
    flex-wrap: wrap;   /* optional: wrap if still tight */
    gap: 0.5rem;
  }
}

@media (min-width: 48rem) {

img.absolute.md\:relative.md\:top-auto.left-1\/2.md\:left-auto.-translate-x-1\/2.md\:translate-x-0.-translate-y-1\/2.md\:translate-y-0.max-h-\[44px\].md\:max-h-\[66px\].w-auto.object-contain.hidden.md\:block {
    min-height: 40px;
}


}

:root {
    --cols-mobile: 2;
}


[section-id="dbfab48e-8201-4034-98af-1d2835ae41b9"] {
    transform: scale(0.9);
    border-radius: 16px;
}


@media (max-width: 576px) {

[section-id="dbfab48e-8201-4034-98af-1d2835ae41b9"] .embla__slide {
    min-height: 210px !important;
}

} 
button[data-open-quick-view="true"] {
    font-size: 0;
    background-color: #d69722;
    color: white;
    border-color: #d69722;
}

#product-view-add-to-cart{
    background-color: #d69722;
    border-color: #d69722;
}

.btn-filled {
    border-color: #d69722;
    background-color: #d69722;
    color: var(--primary-foreground);
}

.prose-theme{
  display: none !important
}

#popover-button-0{
  display: none
}