/* Add custom CSS styles below */ 
/* =========================================
   MINIMAL FAQ DESIGN
   No HTML changes required
   ========================================= */

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

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%), transparent) !important;
}



.s-product-options-grid-mode input:checked+div, .s-product-options-grid-mode-span:hover {
    background-color: var(--color-primary);
    border-color: #4c230000;
    color: #ffffff;
}

.s-block--product-tabs:not(.s-block--product-tabs--toggle) .btn-tabs-container {
    padding-top: 0.3rem;
}

.s-block--product-tabs .btn-tab-primary.active, .s-block--store-branches .btn-tab-primary.active {
    color: #ffffff;
}

.s-product-options-grid-mode-span {
    min-width: 75px;
}

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

    .product-more-info .more-tab-container .more-info-tabs__nav-link.active {
        color: #ffffff;
    }

    .product-more-info .more-tab-container .more-info-tabs__nav-link {
        color: #ffffff;
    }

.product-card--filled-mini-cart .product-card__mini-cart__btn .s-button-btn, .product-card--filled-normal-cart .product-card__normal-cart__btn .s-button-btn {
    background-color: var(--color-primary) !important;
    border-color: var(--color-primary) !important;
    color: #ffffff !important;
    border-radius: 0rem;
}

    .product-card__title a {
        font-size: 15px;
        margin: 0;
    }

.product-card__price .total-price {
        font-size: 18px;
    }

.product-card--filled-mini-cart .product-card__mini-cart__btn .s-button-btn i, .product-card--filled-normal-cart .product-card__normal-cart__btn .s-button-btn i {
    color: #ffffff !important;
}

.s-block--enhanced-features__item {
    border-width: 0px;
    border-color: #e5e7eb;
    border-color: rgb(229 231 235 / 0%);
    box-shadow: none;
}

.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;
}

.store-footer__contacts-row {
    border-bottom: 0px hsla(0, 0%, 100%, .1);
}

.store-footer__bottom-inner salla-payments {
    padding-bottom: 20px;
}

.footer-is-custom .store-footer .store-footer__contacts-row, .footer-is-custom .store-footer .store-footer__inner, .footer-is-custom .store-footer .store-footer__newsletter {
    padding-bottom: 2px;
}

.btn--primary {
    color: #ffffff !important;
}

.store-footer__bottom-inner {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

.store-footer__bottom-inner salla-payments {
    order: 1 !important;
}

.store-footer__bottom-inner .footer-rights {
    order: 2 !important;
    margin-top: 12px !important;
}



.store-footer__inner, .store-footer__newsletter {
    border-bottom: 1px hsla(0, 0%, 100%, .1);
}

.store-footer__contacts-row .s-social-icon,
.store-footer__contacts-row .s-social-icon svg {
  border: 0 !important;
  outline: 0 !important;
  box-shadow: none !important;
}
.store-footer__contacts-row .s-social-icon svg,
.store-footer__contacts-row .s-social-icon svg path {
  fill: #000 !important;
  color: #000 !important;
}

/* Keep hover consistent across all five */
.store-footer__contacts-row .s-social-link a:hover {
  background: #f0f0f0 !important;
}
.store-footer__contacts-row .s-social-link a:hover .s-social-icon svg,
.store-footer__contacts-row .s-social-link a:hover .s-social-icon svg path {
  fill: #000 !important;
}

/* Remove any shadows */
.single-faq,
.single-faq .faq-btn,
.single-faq .faq-content {
    box-shadow: none !important;
}

/* ============================================================
   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;
}

/* ---------- 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;
  }
}

/* =========================================================
   PAYMENT METHODS — compact layout
   ========================================================= */

.s-payments-list {
    display: flex !important;
    flex-wrap: nowrap !important;
    align-items: center !important;
    justify-content: center !important;

    /* تصغير المسافة بين الأيقونات */
    gap: 5px !important;

    /* تصغير مساحة الكونتينر */
    width: fit-content !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    padding: 0 !important;
}



.s-payments-list-item img {
    /* الحفاظ على الحجم الأصلي وعدم تكبير الأيقونات */
    width: 58px !important;
    height: 58px !important;


}