/* Add custom CSS styles below */ 
/* ============================================================
   PRODUCT CARD — custom CSS
   Paste into: المتجر ← تصميم المتجر ← تعديل الأكواد ← CSS
   Works together with product-card.js
   ============================================================ */

:root {
  --pc-radius: 14px;
  --pc-border: #EAEAEA;
  --pc-border-hover: #DCDCDC;
  --pc-bg: #FFFFFF;
  --pc-title: #3A3A3A;
  --pc-price: #1A1A1A;
  --pc-muted: #9B9B9B;
  --pc-badge-bg: #1C1C1C;
  --pc-badge-text: #FFFFFF;
  --pc-sale: #D42B2B;
}

/* =========================================
   HORCH FOOTER - DESKTOP REDISTRIBUTION
   ========================================= */

@media (min-width: 1024px) {

  /* الحاوية الرئيسية للفوتر */
  .store-footer__grid {
    display: grid !important;

    /* عمودين متوازنين وقريبين من المنتصف */
    grid-template-columns: minmax(320px, 480px) minmax(320px, 480px) !important;

    justify-content: center !important;
    align-items: start !important;

    column-gap: 100px !important;
    row-gap: 30px !important;
  }


  /* ==========================
     القسم الخاص بالشعار
     ========================== */

  .store-footer__brand {
    grid-column: 2 !important;
    grid-row: 1 !important;

    margin-top: 0 !important;

    width: 100% !important;
    max-width: 480px !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    text-align: center !important;
  }


  /* الشعار */
  .store-footer__logo-link {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    width: 100% !important;
    margin: 0 auto 15px !important;
  }

  .store-footer__logo-link img {
    display: block !important;
    margin: 0 auto !important;
  }


  /* وصف المتجر */
  .store-footer__brand .footer-description {
    width: 100% !important;
    max-width: 430px !important;

    margin: 10px auto 20px !important;

    text-align: center !important;
    line-height: 1.9 !important;
  }


  /* السجل التجاري */
  .store-footer__brand .footer-badges {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;
    align-items: center !important;

    margin: 5px auto 0 !important;
  }


  /* اللغة */
  .store-footer__locale-row {
    width: 100% !important;

    display: flex !important;
    justify-content: center !important;

    margin-top: 20px !important;
  }


  /* ==========================
     الروابط المهمة
     ========================== */

  .store-footer__menu {
    grid-column: 1 !important;
    grid-row: 1 !important;

    width: 100% !important;
    max-width: 480px !important;

    margin: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    text-align: center !important;
  }


  /* عنوان روابط مهمة */
  .store-footer__menu-title {
    width: 100% !important;

    margin: 0 0 25px !important;

    text-align: center !important;
  }


  /* قائمة الروابط */
  .store-footer__menu .footer-list {
    width: 100% !important;

    margin: 0 !important;
    padding: 0 !important;

    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;

    list-style: none !important;
  }


  .store-footer__menu .footer-list li {
    width: 100% !important;
    text-align: center !important;
  }


  .store-footer__menu .footer-list a {
    display: inline-block !important;

    margin-bottom: 18px !important;

    text-align: center !important;
  }


  /* ==========================
     قسم التطبيقات الفارغ
     ========================== */

  .store-footer__apps:empty {
    display: none !important;
  }

}


/* =========================================
   TABLET + MOBILE
   نخلي توزيع سلة الطبيعي
   ========================================= */

@media (max-width: 1023px) {

  .store-footer__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }

  .store-footer__brand,
  .store-footer__menu {
    width: 100% !important;
    max-width: none !important;
    text-align: center !important;
  }

}

.product-card .product-card__price .before-price {
    font-size: 14px !important;
}

    .product-card .product-card__title a {
        font-size: 14px !important;
    }

    .product-card .product-card__price .total-price {
        font-size: 15px !important;
    }

*, :after, :before {
    border: 0 solid #46332400;
    box-sizing: border-box;
}

.rounded-md {
    border-radius: 1.375rem;
}

.faq__grid {
    display: grid !important;
    grid-template-columns: 1fr !important;
    gap: 0 !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
}

/* Remove card appearance */
.single-faq {
    width: 100% !important;
    border: none !important;
    border-radius: 0 !important;
    background: transparent !important;
    padding: 0 !important;
    margin: 0 !important;

    /* Very subtle divider */
    border-bottom: 1px solid rgba(0, 0, 0, 0.10) !important;
}

/* Question row */
.single-faq .faq-btn {
    width: 100% !important;
    padding: 20px 0 !important;
    background: transparent !important;
    border: none !important;
    border-radius: 0 !important;
}

/* Question text */
.single-faq .faq__question {
    margin: 0 !important;
    font-weight: 500 !important;
}

/* Remove circle/background from arrow */
.single-faq .faq-btn i {
    background: transparent !important;
    color: inherit !important;
    border-radius: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* Answer */
.single-faq .faq-content {
    background: transparent !important;
    padding: 0 !important;
}

/* Answer text */
.single-faq .faq__answer {
    margin: 0 !important;
    padding: 0 0 20px 0 !important;
    line-height: 1.8 !important;
}


/* =========================================================
   LAMEY COUTURE — MOBILE MENU
   ========================================================= */

@media (max-width: 767px) {
  /* منع وميض القائمة عند تحديث الصفحة */
  .mm-ocd:not(.lamey-menu-activated) {
    visibility: hidden !important;
  }

  @media (max-width: 767px) {
  /* كل مستوى فرعي يبدأ تحت الشعار، وليس خلفه */
  #mobile-menu.mm-spn .main-menu li > ul {
    padding-top: 76px !important;
  }

  /* رفع السلة وتسجيل الدخول قليلًا عن «تواصل معنا عبر» */
  #mobile-menu .custom-login {
    margin-bottom: 7px !important;
  }
}

  /* القائمة بكامل شاشة الجوال */
  .mm-ocd__content {
    width: 100vw !important;
    max-width: 100vw !important;
    height: 100dvh !important;
  }

  .mm-ocd__backdrop {
    display: none !important;
  }

  #mobile-menu {
    width: 100% !important;
    height: 100dvh !important;
    background: #232323 !important;
    color: #fff !important;
  }

  /* الشعار وزر الإغلاق */
  #mobile-menu .custom-menu-head {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    z-index: 50;
    height: 76px;
    padding: 9px 24px 0;
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #232323;
    border: 0 !important;
    box-shadow: none !important;
  }

  #mobile-menu .custom-menu-head::before,
  #mobile-menu .custom-menu-head::after {
    display: none !important;
  }

  #mobile-menu .custom-menu-head img {
    display: block;
    width: auto;
    max-width: 125px;
    max-height: 45px;
    object-fit: contain;
  }

  #mobile-menu .custom-menu-close {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    padding: 0;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 1;
    cursor: pointer;
  }

  #mobile-menu > .close-mobile-menu {
    display: none !important;
  }

  /* مساحة التصنيفات مع الحفاظ على حركة القائمة الأصلية */
  #mobile-menu.mm-spn > ul {
    padding-top: 76px !important;
    padding-bottom: 190px !important;
    background: #232323 !important;
  }

  #mobile-menu .main-menu__item > a,
  #mobile-menu .main-menu__item > .main-menu__parent-label,
  #mobile-menu .main-menu__view-all > a {
    color: #fff !important;
    visibility: visible !important;
    opacity: 1 !important;
  }

  /* إزالة الفواصل بين التصنيفات فقط */
  #mobile-menu.mm-spn .main-menu li,
  #mobile-menu.mm-spn .main-menu li > a,
  #mobile-menu.mm-spn .main-menu li > span {
    border-bottom: 0 !important;
    box-shadow: none !important;
  }

  #mobile-menu.mm-spn .main-menu li::after {
    content: none !important;
    display: none !important;
  }

  /* لا سهم بجانب النص؛ نُبقي سهم الثيم على اليسار */
  #mobile-menu .main-menu__parent-label::after {
    content: none !important;
    display: none !important;
  }

  #mobile-menu.mm-spn li::before {
    border-color: #fff !important;
    opacity: 1 !important;
  }

  /* القسم السفلي: الفاصل الوحيد فوق السلة */
  #mobile-menu .custom-menu-bottom {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 50;
    padding: 14px 24px max(25px, env(safe-area-inset-bottom));
    background: #232323;
    color: #fff;
    border: 0 !important;
    border-top: 1px solid rgba(255, 255, 255, .2) !important;
    box-shadow: none !important;
  }

  #mobile-menu .custom-menu-action {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: flex-start !important;
    gap: 7px !important;
    width: 100%;
    min-height: 38px;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    color: #fff !important;
    font-size: 14px;
    font-weight: 500;
    text-align: right;
    text-decoration: none !important;
    cursor: pointer;
  }

  #mobile-menu .custom-menu-action::before,
  #mobile-menu .custom-menu-action::after {
    content: none !important;
    display: none !important;
  }

  #mobile-menu .custom-menu-action > i {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 19px;
    margin: 0 !important;
    font-size: 18px;
    line-height: 1;
  }

  #mobile-menu .custom-menu-action > span {
    flex: 0 0 auto;
    margin: 0 !important;
    padding: 0 !important;
  }

  #mobile-menu .custom-menu-caption {
    margin: 10px 0 9px !important;
    padding: 0 !important;
    border: 0 !important;
    color: #fff !important;
    font-size: 14px !important;
    font-weight: 500;
    line-height: 1.4;
  }

  #mobile-menu .custom-menu-social {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: wrap;
    gap: 15px;
    padding: 0;
    margin: 0;
    border: 0 !important;
  }

  #mobile-menu .custom-menu-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 24px;
    padding: 0;
    margin: 0;
    border: 0 !important;
    background: transparent !important;
    color: #fff !important;
    font-size: 19px;
    text-decoration: none !important;
  }

  #mobile-menu .custom-menu-social a::before,
  #mobile-menu .custom-menu-social a::after {
    content: none !important;
    display: none !important;
  }
}

.store-footer__inner, .store-footer__newsletter {
    padding-bottom: 0rem;
}

.s-payments-list {
    gap: 0rem;
}

body.slider_has_overlay .advanced-slider .swiper-slide:before, body.slider_has_overlay .advanced-slider salla-slider[static-when-single]:before {
    background: linear-gradient(180deg, rgb(0 0 0 / 0%), #00000000) !important;
}

/* توحيد شكل جميع أيقونات التواصل */
.custom-contact-social {
    display: flex;
    align-items: center;
    justify-content: center;
}

.custom-contact-social > a {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: 32px !important;
    height: 32px !important;
    padding: 0 !important;
    margin: 0 !important;
}

.custom-contact-social .s-social-icon {
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.custom-contact-social .s-social-icon i {
    width: auto !important;
    height: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    font-size: 16px !important;
    line-height: 1 !important;
}

/* ضبط بصري بسيط لكل أيقونة */
.custom-contact-social .sicon-whatsapp2 {
    font-size: 17px !important;
}

.custom-contact-social .sicon-iphone {
    font-size: 16px !important;
}

.custom-contact-social .sicon-mail {
    font-size: 16px !important;
}

body.trans_header.slider_has_overlay .store-header .main-nav-container.fixed-header :not(custom-salla-product-card *) {
    background: white;
}

.footer-is-custom .store-footer .store-footer__curve {
    display: none;
}

:root {
    --color-primary-reverse: #fff !important;
}

html,
body {
    --color-primary-reverse: #fff !important;
}

/* ---------- Card shell ---------- */
custom-salla-product-card.product-card,
.product-card.pc-ready {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  width: 100%;
  height: 100%;
  background: var(--pc-bg) !important;
  border: 1px solid var(--pc-border) !important;
  border-radius: var(--pc-radius) !important;
  overflow: hidden !important;
  box-shadow: none !important;
  transition: border-color .25s ease, box-shadow .25s ease;
}

custom-salla-product-card.product-card:hover,
.product-card.pc-ready:hover {
  border-color: var(--pc-border-hover) !important;
  box-shadow: 0 6px 18px -12px rgba(0, 0, 0, .28) !important;
}

/* ---------- Media ---------- */
.product-card .product-card__image {
  position: relative !important;
  width: 100% !important;
  height: auto !important;
  aspect-ratio: 1 / 1.16;
  overflow: hidden !important;
  background: #F6F6F6;
  border-radius: 0 !important;
  flex: 0 0 auto !important;
  padding: 0 !important;
  margin: 0 !important;
}

.product-card .product-card__image > a {
  display: block !important;
  width: 100%;
  height: 100%;
}

.product-card .product-card__image img.main-image {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  object-position: center top;
  display: block;
  border-radius: 0 !important;
  transition: transform .5s ease;
}

custom-salla-product-card.product-card:hover .product-card__image img.main-image {
  transform: scale(1.035);
}

/* ---------- Badge ---------- */
.product-card .product-card__badge {
  position: absolute !important;
  top: 8px;
  left: 8px;
  right: auto;
  z-index: 3;
  display: inline-flex !important;
  align-items: center;
  height: 22px;
  padding: 0 10px;
  background: var(--pc-badge-bg);
  color: var(--pc-badge-text);
  font-size: 11px;
  font-weight: 500;
  line-height: 1;
  border-radius: 6px;
  white-space: nowrap;
  pointer-events: none;
}

.product-card .product-card__badge--sale {
  background: var(--pc-sale);
}

/* Theme's own promotion / labels are replaced by .product-card__badge */
.product-card .product-card__promotion,
.product-card .promotion-title,
.product-card .s-product-card-promotion-title,
.product-card .product-card__promotion-title,
.product-card .product-card__discount {
  display: none !important;
}

/* ---------- Floating actions (wishlist / quick view) ---------- */
.product-card .product-card__image .product-card__actions {
  position: absolute !important;
  top: 8px;
  right: 8px;
  left: auto;
  bottom: auto;
  z-index: 3;
  display: flex !important;
  flex-direction: column !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  background: transparent !important;
  opacity: 0;
  transform: translateY(-4px);
  transition: opacity .22s ease, transform .22s ease;
}

custom-salla-product-card.product-card:hover .product-card__image .product-card__actions,
custom-salla-product-card.product-card:focus-within .product-card__image .product-card__actions {
  opacity: 1;
  transform: translateY(0);
}

.product-card .product-card__image .product-card__actions .s-button-element {
  width: 30px !important;
  height: 30px !important;
  min-width: 30px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, .92) !important;
  border: 1px solid var(--pc-border) !important;
  border-radius: 8px !important;
  color: #1C1C1C !important;
  font-size: 14px !important;
  box-shadow: none !important;
  transition: background .2s ease, color .2s ease, border-color .2s ease;
}

.product-card .product-card__image .product-card__actions .s-button-element:hover {
  background: #1C1C1C !important;
  border-color: #1C1C1C !important;
  color: #FFFFFF !important;
}

.product-card .product-card__image .product-card__actions .btn--wishlist.favorited,
.product-card .product-card__image .product-card__actions .btn--wishlist.is-added {
  color: var(--pc-sale) !important;
}

/* Duplicate blocks shipped by the theme stay in the DOM (functionality)
   but are not part of this layout */
.product-card .product-card__content .product-card__buttons,
.product-card .product-card__enhanced-mini-cart,
.product-card .product-card__normal-cart,
.product-card > .product-card__buttons {
  display: none !important;
}

/* ---------- Content ---------- */
.product-card .product-card__content {
  flex: 1 1 auto !important;
  display: flex !important;
  flex-direction: row !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 10px !important;
  padding: 9px 10px 10px !important;
  min-height: 56px;
  text-align: right;
}

.product-card .product-card__content-wrapper {
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  gap: 4px !important;
  min-width: 0 !important;
  flex: 1 1 auto !important;
  width: auto !important;
  padding: 0 !important;
  margin: 0 !important;
  text-align: right;
}

.product-card .product-card__title {
  width: 100%;
  margin: 0 !important;
  padding: 0 !important;
  line-height: 1.3 !important;
  min-height: 0 !important;
  text-align: right !important;
}

.product-card .product-card__title a {
  display: block !important;
  font-size: 12.5px !important;
  font-weight: 400 !important;
  color: var(--pc-title) !important;
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  -webkit-line-clamp: unset;
  transition: color .2s ease;
}

.product-card .product-card__title a:hover {
  color: #000000 !important;
}

.product-card .product-options:empty,
.product-card .product-card__subtitle,
.product-card .product-card__rating,
.product-card .s-product-card-content-sub {
  display: none !important;
}

/* ---------- Price ---------- */
.product-card .product-card__price {
  display: flex !important;
  align-items: center !important;
  justify-content: flex-start !important;
  gap: 6px !important;
  margin: 0 !important;
  padding: 0 !important;
  white-space: nowrap;
  line-height: 1;
}

.product-card .product-card__price .starting-or-normal-price,
.product-card .product-card__price .price_is_on_sale {
  display: flex !important;
  align-items: center !important;
  gap: 6px !important;
  margin: 0 !important;
}

.product-card .product-card__price .price_is_on_sale.hidden,
.product-card .product-card__price .starting-or-normal-price.hidden {
  display: none !important;
}

.product-card .product-card__price .total-price {
  margin: 0 !important;
  font-size: 13.5px !important;
  font-weight: 700 !important;
  color: var(--pc-price) !important;
  line-height: 1 !important;
}

.product-card .product-card__price .total-price.text-red-600 {
  color: var(--pc-sale) !important;
}

.product-card .product-card__price .before-price {
  font-size: 11px !important;
  font-weight: 400 !important;
  color: var(--pc-muted) !important;
  text-decoration: line-through;
  line-height: 1 !important;
}

.product-card .product-card__price i {
  font-size: .86em;
}

/* ---------- Inline cart button ---------- */
.product-card .product-card__cart {
  flex: 0 0 auto !important;
  display: flex !important;
  align-items: center !important;
  margin: 0 !important;
  padding: 0 !important;
}

.product-card .product-card__cart .s-button-element {
  width: 34px !important;
  height: 34px !important;
  min-width: 34px !important;
  padding: 0 !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  background: transparent !important;
  border: 0 !important;
  border-radius: 8px !important;
  color: #1C1C1C !important;
  box-shadow: none !important;
  transition: background .2s ease;
}

.product-card .product-card__cart .s-button-element i {
  font-size: 19px !important;
  line-height: 1;
}

.product-card .product-card__cart .s-button-element:hover {
  background: #F2F2F2 !important;
}

.product-card .product-card__cart .s-button-element:active {
  background: #E8E8E8 !important;
}

.product-card .product-card__cart .s-button-element:focus-visible,
.product-card .product-card__image .product-card__actions .s-button-element:focus-visible,
.product-card .product-card__title a:focus-visible,
.product-card .product-card__image > a:focus-visible {
  outline: 2px solid #1C1C1C !important;
  outline-offset: 2px;
}

/* ---------- Out of stock ---------- */
.product-card.out-of-stock .product-card__image img.main-image {
  opacity: .55;
}

/* ---------- Responsive ---------- */
@media (max-width: 767px) {
  custom-salla-product-card.product-card,
  .product-card.pc-ready {
    border-radius: 12px !important;
  }
  .product-card .product-card__content {
    padding: 8px 8px 9px !important;
    gap: 8px !important;
    min-height: 52px;
  }
  .product-card .product-card__title a {
    font-size: 12px !important;
  }
  .product-card .product-card__price .total-price {
    font-size: 13px !important;
  }
  .product-card .product-card__cart .s-button-element {
    width: 30px !important;
    height: 30px !important;
    min-width: 30px !important;
  }
  .product-card .product-card__cart .s-button-element i {
    font-size: 17px !important;
  }
  .product-card .product-card__badge {
    height: 20px;
    padding: 0 8px;
    font-size: 10px;
  }
  .product-card .product-card__image .product-card__actions {
    opacity: 1;
    transform: none;
  }
}

@media (prefers-reduced-motion: reduce) {
  custom-salla-product-card.product-card,
  .product-card .product-card__image img.main-image,
  .product-card .product-card__image .product-card__actions,
  .product-card .product-card__cart .s-button-element {
    transition: none !important;
    transform: none !important;
  }
}