/* Header  */
.header-btn,
.header-btn svg {
  color: #54030c !important;
  fill: #54030c !important;
}
header [aria-label="blocks.header.wishlist"] {
  display: none !important;
}
ul#currency-list,
ul#currency-list li,
.main-nav-container:not(.fixed-header) .topnav {
  z-index: 55555 !important;
  opacity: 1 !important;
}
.main-menu .mega-menu > a span,
.main-menu .mega-menu > a svg {
  display: none !important;
}
.s-block--fixed-banner,
.s-block--fixed-banner img,
.s-block--fixed-banner .container {
  margin: 0 auto !important;
  padding: 0 !important;
  border-radius: 0 !important;
  max-width: 2560px !important;
}
.main-nav-container:not(.fixed-header) .inner:after,
.main-nav-container:not(.fixed-header) .topnav:after,
.main-nav-container:not(.fixed-header) .inner:before,
.main-nav-container:not(.fixed-header) .topnav:before {
  display: none !important;
}
/* Pages  */
.page-single main h1 {
  margin-top: 1rem !important;
}
.page-single main h1 span {
  clip-path: none !important;
  background-color: transparent !important;
  color: #54030c !important;
}
.page-single main .rounded-card {
  border: none !important;
  box-shadow: none !important;
}
/* product-single */
.product-single .container--breadcrumbs {
  margin-top: 0 !important;
}
.product-single div.flex:has(> .btn--wishlist) {
  display: none !important;
}
.product-single h2.product-entry__sub-title {
  font-size: 12px !important;
}

.product-single div.bg-white {
  background-color: #e8ddd2;
  margin-top: 6px;
}
.s-button-primary {
  color: #fff !important;
  border-radius: 12px;
}
.product-single .store-footer {
  margin-top: 0 !important;
}
.product-single .s-blocks-wrapper.s-before-related,
.product-single .s-blocks-wrapper.s-before-related + .container {
  display: none;
}
.product-form section.bg-white {
  background-color: #fef9ed !important;
}

/* T_trending_beauty */
.T_trending_beauty article {
  padding-top: 1rem !important;
  padding-bottom: 1rem !important;
}
.T_trending_beauty .mobile-swip {
  grid-auto-columns: minmax(70%, 1fr) !important;
}
.T_trending_beauty .mobile-swip > div {
  width: 100% !important;
  height: auto !important;
  max-height: 500px !important;
}
.T_trending_beauty .card-content {
  display: none !important;
}
/* Footer  */
.store-footer.is-glass {
  backdrop-filter: unset !important;
  background: #fef9ed !important;
  border-top: 1px solid hsla(0, 0%, 100%, 0.12);
  box-shadow: none !important;
  color: #000 !important;
  isolation: isolate;
  overflow: hidden;
}
.store-footer .footer_logo {
  max-height: 4rem;
}
.store-footer .copyright-text p {
  color: #000 !important;
  margin-bottom: 8px;
}
.store-footer a + div p {
  font-weight: 300 !important;
  font-size: 14px;
  margin-bottom: 8px;
}
.store-footer.is-glass .store-footer__inner:before,
.F__ring {
  display: none !important;
}
.store-footer a {
  font-weight: 400 !important;
}
.store-footer a.F__icon,
.store-footer a.F__icon i,
.store-footer a.F__icon i:before {
  border: 1px solid #253742;
  background-color: #253742;
  color: #fef9ed;
  box-shadow: none !important;
  fill: #fef9ed !important;
}

.store-footer a.F__icon,
.store-footer a.F__icon i {
  font-size: 1.4rem !important;
  height: 2.4rem !important;
  width: 2.4rem !important;
  padding: 10px !important;
  filter: none !important;
  border-radius: 50%;
}
.store-footer.is-glass
  .store-footer__inner
  > .container
  > div:last-child:before {
  content: "تواصل معنا ";
  display: block;
  font-weight: bold;
  width: 100%;
}
.store-footer.is-glass .store-footer__inner > .container > div:last-child {
  align-items: flex-start !important;
  justify-content: flex-start !important;
}

.store-footer .s-payments-list-item {
  border-radius: 4px;
  height: 2.3rem;
  width: 3.4em;
  padding: 4px;
}
/* body.index .app-inner:before {
  display: none !important;
} */
@media (max-width: 1023px) {
  .store-footer,
  .store-footer .max-w-sm,
  .store-footer ul.flex.items-center {
    text-align: center;
    justify-content: center;
    align-content: center;
    width: 100%;
    max-width: 100%;
  }
  .store-footer .max-w-sm > a {
    margin: 0 auto;
  }
}
/* FAQ style */
.s-block-trust-faq {
  padding-block: 2rem !important;
}
.s-block-trust-faq-items-wrapper {
  gap: 10px !important;
}
.s-block-trust-faq-item {
  border: none !important;
  border-bottom: 1px solid var(--faq-border-color, #e5e7eb) !important;
  border-radius: 0 !important;
  overflow: hidden;
}
.s-block-trust-faq-question {
  padding: 0.75rem 0.5rem !important;
  font-weight: 500 !important;
}
/* product description accordion */
.product__description[data-pd-moved="1"] {
  margin-top: 1rem;
  padding: 8px !important;
}

.pd-acc {
  --pd-line: rgba(74, 26, 26, 0.14);
  --pd-title: #2b2b2b;
  --pd-body: #5a5450;
  --pd-icon: #4a1a1a;
  --pd-speed: 260ms;

  border-top: 1px solid var(--pd-line);
}
.pd-acc__intro {
  padding-bottom: 20px;
}
.pd-acc__item {
  border-bottom: 1px solid var(--pd-line);
}

/* Header row */
.pd-acc__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 4px;
  cursor: pointer;
  color: var(--pd-title);
  list-style: none; /* hide the native triangle */
  -webkit-tap-highlight-color: transparent;
}

.pd-acc__head::-webkit-details-marker {
  display: none;
} /* Safari */
.pd-acc__head:focus-visible {
  outline: 2px solid var(--pd-icon);
  outline-offset: 3px;
  border-radius: 4px;
}
.pd-acc__title {
  font-size: 15px;
  font-weight: 700;
  line-height: 1.5;
}

/* Plus / minus icon */
.pd-acc__icon {
  position: relative;
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
}
.pd-acc__icon::before,
.pd-acc__icon::after {
  content: "";
  position: absolute;
  inset: 0;
  margin: auto;
  background: var(--pd-icon);
  border-radius: 2px;
  transition:
    transform var(--pd-speed) ease,
    opacity var(--pd-speed) ease;
}
.pd-acc__icon::before {
  width: 16px;
  height: 1.8px;
}
.pd-acc__icon::after {
  width: 1.8px;
  height: 16px;
}

.pd-acc__item.is-open .pd-acc__icon::after {
  transform: rotate(90deg);
  opacity: 0;
}

/* Panel */
.pd-acc__panel {
  overflow: hidden;
  transition: height var(--pd-speed) ease;
}
.pd-acc__body {
  padding: 0 4px 22px;
  color: var(--pd-body);
  font-size: 15px;
  line-height: 1.95;
}
.pd-acc__body > :first-child {
  margin-top: 0;
}
.pd-acc__body > :last-child {
  margin-bottom: 0;
}
.pd-acc__body p {
  margin: 0 0 10px;
}
.pd-acc__body img {
  max-width: 100%;
  height: auto;
  border-radius: 10px;
}

/* the description carries the editor's own alignment classes */
.pd-acc__body .ql-align-right {
  text-align: right;
}
.pd-acc__body .ql-align-center {
  text-align: center;
}

/* Responsive & motion */
@media (max-width: 640px) {
  .pd-acc__head {
    padding: 15px 2px;
    gap: 12px;
  }
  .pd-acc__title {
    font-size: 13px;
  }
  .pd-acc__body {
    font-size: 13px;
    line-height: 1.7;
    padding-bottom: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .pd-acc__panel,
  .pd-acc__icon::before,
  .pd-acc__icon::after {
    transition: none;
  }
}

/* Product Card */
.s-block--best-offers {
  padding-bottom: 2rem !important;
}
.s-product-card-entry {
  border-radius: 14px !important;
  margin: 0 0 rem !important;
  padding: 8px !important;
  background: #fff;
  box-shadow: none !important;
  overflow: hidden !important;
  border: 1px solid rgba(74, 26, 26, 0.06);
}
custom-salla-product-card > form.s-product-card-entry:focus-within:after,
custom-salla-product-card > form.s-product-card-entry:hover:after,
custom-salla-product-card > form.s-product-card-entry:before {
  border-radius: 14px !important;
  display: none !important;
}
.s-product-card-fit-height .s-product-card-image {
  height: 16rem;
  max-height: 16rem;
  background-color: transparent !important;
}
.Qpc__media {
  border-radius: 8px;
}
.s-product-card-entry:hover .Qpc__img {
  transform: scale(1.03) !important;
}
[data-pm="quick"] {
  display: none !important;
}
/* ── discount badge ── */
.s-product-card-entry .s-product-card-promotion-title {
  top: 10px !important;
  padding: 4px 6px !important;
  background: #000 !important;
  color: #fff !important;
  font-size: 12px;
  font-weight: 700;
  gap: 5px !important;
}
.s-product-card-promotion-title .bg-primary {
  background: #fff !important;
}

/* ── card content body ── */
.Qpc__body {
  padding: 2px 6px 0 !important;
  gap: 8px !important;
}

/* ── title ── */
custom-salla-product-card
  > form.s-product-card-entry
  .s-product-card-content.Qpc__body
  .Qpc__title
  a {
  font-size: 16px !important;
  font-weight: 700;
  line-height: 1.55;
  color: #2b2b2b;
  margin: 0;
}
custom-salla-product-card
  > form.s-product-card-entry
  .s-product-card-content.Qpc__body
  .Qpc__subtitle {
  font-size: 12px !important;
  font-weight: 300;
  line-height: 1.4;
  -webkit-box-orient: unset !important;
  overflow: visible;
}

/* ── price row ── */
.Qpc__priceRow {
  gap: 6px;
}
.s-product-card-price {
  font-size: 18px !important;
  font-weight: 800;
  color: #4a1a1a;
}
.s-product-card-price-before {
  font-size: 12px !important;
  text-decoration: line-through;
  color: #999;
}
.s-product-card-save {
  font-size: 11px !important;
  font-weight: 700;
  color: #018000 !important;
  background: rgba(1, 28, 0, 0.08);
  padding: 2px 6px;
  border-radius: 4px;
}

/* ── add-to-cart button ── */
.F__mainbtncart .s-button-element {
  border-radius: 10px !important;
  padding: 10px 16px;
  font-size: 14px;
  font-weight: 700;
  background-color: #53030c !important;
  color: #fff !important;
  border-color: #fff;
  gap: 6px;
  transition:
    opacity 0.2s ease,
    transform 0.15s ease;
}
.F__mainbtncart .s-button-element:active {
  transform: scale(0.97);
}

/* ── mobile adjustments ── */
@media (max-width: 640px) {
  .s-product-card-fit-height .s-product-card-image {
    height: auto;
    max-height: 19rem;
    background-color: transparent !important;
  }
  .product-form section.sticky-product-bar.bg-white {
    box-shadow: 0px 4px 20px 0px rgba(0, 0, 0, 0.5);
  }
}