/* ==========================================================
   بطاقات المنتجات
   ========================================================== */

custom-salla-product-card.product-card.product-card--vertical {
  --mimy-orange: #F26624;
  --mimy-orange-dark: #DE5819;
  --mimy-yellow: #FCD97A;
  --mimy-brown: #A14A30;
  --mimy-text: #303536;
  --mimy-muted: #7C7776;
  --mimy-image-bg: #FAF4F1;
  --mimy-border: rgba(48, 53, 54, 0.12);

  container-name: mimy-product-card;
  container-type: inline-size;

  box-sizing: border-box;
  isolation: isolate;

  display: flex !important;
  flex-direction: column;

  width: 100%;
  height: 100%;
  min-width: 0;

  padding: 11px !important;
  overflow: hidden;

  background: #FFFFFF !important;
  border: 1px solid var(--mimy-border) !important;
  border-radius: 22px !important;
  box-shadow: none !important;

  transform: none !important;
  transition: border-color 0.2s ease;
}

custom-salla-product-card.product-card.product-card--vertical *,
custom-salla-product-card.product-card.product-card--vertical *::before,
custom-salla-product-card.product-card--vertical *::after {
  box-sizing: border-box;
}

@media (hover: hover) {
  custom-salla-product-card.product-card.product-card--vertical:hover {
    transform: none !important;
    box-shadow: none !important;
    border-color: rgba(48, 53, 54, 0.22) !important;
  }
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__image {
  position: relative;

  display: flex;
  flex: 0 0 auto;
  align-items: center;
  justify-content: center;

  width: 100%;
  height: auto !important;
  min-height: 0 !important;
  aspect-ratio: 1 / 1;

  margin: 0 0 12px !important;
  overflow: hidden;

  background: var(--mimy-image-bg) !important;
  border-radius: 17px !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__image > a {
  display: block;

  width: 100%;
  height: 100%;
  overflow: hidden;

  border-radius: inherit;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__image .main-image {
  display: block;

  width: 100% !important;
  height: 100% !important;
  max-width: none !important;

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

  object-fit: cover !important;
  object-position: center !important;

  transform: scale(1.02);
  transform-origin: center;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__promotion {
  position: absolute !important;

  top: 10px !important;
  right: 10px !important;
  left: auto !important;
  z-index: 3;

  width: auto !important;
  max-width: calc(100% - 20px);
  padding: 8px 11px !important;

  color: var(--mimy-text) !important;
  background: var(--mimy-yellow) !important;

  border: 0 !important;
  border-radius: 12px !important;
  box-shadow: none !important;

  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;
  white-space: nowrap;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__image .product-card__actions,

custom-salla-product-card.product-card.product-card--vertical
.product-card__image .product-card__buttons,

custom-salla-product-card.product-card.product-card--vertical
.product-card__content-wrapper > .product-card__buttons,

custom-salla-product-card.product-card.product-card--vertical
.product-card__normal-cart {
  display: none !important;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__content {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;

  width: 100%;
  min-width: 0;
  min-height: 0;

  padding: 0 !important;
  overflow: visible !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__content-wrapper {
  display: flex !important;
  flex: 1 1 auto;
  flex-direction: column;
  align-items: center;

  width: 100%;
  min-width: 0;

  padding: 0 5px !important;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__title {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  min-height: 2.6rem;

  margin: 0 0 5px !important;
  text-align: center !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__title a {
  display: -webkit-box;
  overflow: hidden;

  color: var(--mimy-text) !important;

  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.48 !important;

  text-align: center !important;
  text-decoration: none !important;

  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__subtitle {
  width: 100%;

  margin: 0 0 9px !important;

  color: var(--mimy-orange-dark) !important;

  font-size: 0.8125rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;

  text-align: center !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__subtitle:empty,

custom-salla-product-card.product-card.product-card--vertical
.product-options:empty {
  display: none !important;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__price {
  display: flex !important;
  justify-content: center !important;

  width: 100%;

  margin: 0 0 3px !important;
  gap: 0 !important;

  direction: rtl;
}

custom-salla-product-card.product-card.product-card--vertical
.price_is_on_sale:not(.hidden) {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;

  gap: 9px !important;
}

custom-salla-product-card.product-card.product-card--vertical
.price_is_on_sale.hidden {
  display: none !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__price .total-price {
  order: 1;

  margin: 0 !important;

  color: var(--mimy-brown) !important;

  font-size: 1rem !important;
  font-weight: 800 !important;
  line-height: 1.3 !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__price .before-price {
  order: 2;

  margin: 0 !important;

  color: var(--mimy-muted) !important;

  font-size: 0.875rem !important;
  font-weight: 500 !important;
  line-height: 1.3 !important;

  opacity: 1 !important;

  text-decoration-line: line-through !important;
  text-decoration-thickness: 1px !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__price i {
  color: inherit !important;
  font-size: inherit !important;
  line-height: inherit !important;
}

custom-salla-product-card.product-card.product-card--vertical
.starting-or-normal-price:not(.hidden) {
  display: flex !important;
  align-items: baseline !important;
  justify-content: center !important;
}

custom-salla-product-card.product-card.product-card--vertical
.starting-or-normal-price.hidden {
  display: none !important;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__discount {
  width: 100%;
  min-height: 1.5rem;

  margin: 2px 0 11px !important;
  text-align: center !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__discount span {
  color: var(--mimy-brown) !important;

  font-size: 0.875rem !important;
  font-weight: 800 !important;
  line-height: 1.4 !important;
}


custom-salla-product-card.product-card.product-card--vertical
.product-card__enhanced-mini-cart {
  position: static !important;
  inset: auto !important;

  display: block !important;
  flex: 0 0 auto;

  width: 100% !important;
  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

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

  overflow: visible !important;

  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;

  border: 0 !important;
  transform: none !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhanced-mini-cart-divider {
  display: none !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn,

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn > div,

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn salla-button,

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn .s-button-wrap {
  position: static !important;

  display: block !important;

  width: 100% !important;
  max-width: none !important;

  height: auto !important;
  min-height: 0 !important;
  max-height: none !important;

  margin: 0 !important;

  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;

  transform: none !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn .s-button-element {
  position: static !important;

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

  width: 100% !important;
  min-width: 0 !important;
  min-height: 46px !important;
  max-height: none !important;

  margin: 0 !important;
  padding: 9px 12px !important;

  color: #FFFFFF !important;
  background: var(--mimy-orange) !important;

  border: 0 !important;
  border-radius: 14px !important;
  box-shadow: none !important;

  font-size: 0.875rem !important;
  font-weight: 800 !important;
  line-height: 1.2 !important;

  visibility: visible !important;
  opacity: 1 !important;
  pointer-events: auto !important;

  transform: none !important;

  transition:
    background-color 0.2s ease,
    color 0.2s ease;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhnaced-mini-cart__btn .s-button-text {
  display: block !important;

  width: 100% !important;
  color: inherit !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhanced-mini-cart__btn--inner {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhanced-mini-cart__btn--inner .enhanced-label {
  margin: 0 !important;

  color: inherit !important;
  font: inherit !important;

  text-align: center !important;
}

custom-salla-product-card.product-card.product-card--vertical
.product-card__enhanced-mini-cart__btn--inner .enhanced-icon {
  display: none !important;
}

@media (hover: hover) {
  custom-salla-product-card.product-card.product-card--vertical
  .product-card__enhnaced-mini-cart__btn .s-button-element:hover {
    color: #FFFFFF !important;
    background: var(--mimy-orange-dark) !important;
  }
}


@container mimy-product-card (max-width: 230px) {
  .product-card__image {
    margin-bottom: 9px !important;
    border-radius: 14px !important;
  }

  .product-card__image .main-image {
    padding: 0 !important;
    transform: scale(1.02);
  }

  .product-card__promotion {
    top: 8px !important;
    right: 8px !important;

    padding: 6px 8px !important;

    border-radius: 9px !important;
    font-size: 0.6875rem !important;
  }

  .product-card__content-wrapper {
    padding-inline: 2px !important;
  }

  .product-card__title {
    min-height: 2.6rem;
    margin-bottom: 4px !important;
  }

  .product-card__subtitle {
    margin-bottom: 7px !important;
  }

  .price_is_on_sale:not(.hidden) {
    gap: 6px !important;
  }

  .product-card__discount {
    margin-bottom: 8px !important;
  }

  .product-card__enhnaced-mini-cart__btn .s-button-element {
    min-height: 41px !important;
    padding: 7px 8px !important;

    border-radius: 12px !important;
  }
}


@media (max-width: 640px) {
  salla-slider
  .swiper-slide:has(
    custom-salla-product-card.product-card.product-card--vertical
  ) {
    flex: 0 0 calc((100% - 10px) / 2) !important;

    width: calc((100% - 10px) / 2) !important;
    max-width: calc((100% - 10px) / 2) !important;
    min-width: 0 !important;

    margin-right: 0 !important;
    margin-left: 10px !important;
  }

  salla-slider
  .swiper-slide:has(
    custom-salla-product-card.product-card.product-card--vertical
  ):last-child {
    margin-left: 0 !important;
  }

  .products-grid:has(
    custom-salla-product-card.product-card.product-card--vertical
  ),
  .products-list:has(
    custom-salla-product-card.product-card.product-card--vertical
  ) {
    display: grid !important;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 10px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical {
    width: 100% !important;
    min-width: 0 !important;

    padding: 8px !important;

    border-radius: 18px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__image {
    width: 100% !important;

    margin-bottom: 8px !important;

    border-radius: 14px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__promotion {
    top: 7px !important;
    right: 7px !important;

    max-width: calc(100% - 14px);
    padding: 6px 8px !important;

    border-radius: 9px !important;
    font-size: 0.6875rem !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__content-wrapper {
    padding-inline: 1px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__title {
    min-height: 2.7rem;
    margin-bottom: 3px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__title a {
    font-size: 0.8125rem !important;
    line-height: 1.45 !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__subtitle {
    margin-bottom: 6px !important;
    font-size: 0.75rem !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .price_is_on_sale:not(.hidden) {
    gap: 5px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__price .total-price {
    font-size: 1rem !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__price .before-price {
    font-size: 0.75rem !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__discount {
    margin-bottom: 7px !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__discount span {
    color: var(--mimy-brown) !important;
    font-size: 0.8125rem !important;
  }

  custom-salla-product-card.product-card.product-card--vertical
  .product-card__enhnaced-mini-cart__btn .s-button-element {
    min-height: 41px !important;

    padding: 7px 5px !important;

    border-radius: 12px !important;
    font-size: 0.8125rem !important;
  }
}


/* ==========================================================
   صفحة المنتج
   ========================================================== */

body.product-single {
  --rony-orange: #f56624;
  --rony-orange-dark: #df5719;
  --rony-yellow: #fcd97a;
  --rony-price: #a14a30;
  --rony-title: #303536;
  --rony-muted: #77706d;
  --rony-soft: #fff7f2;
  --rony-border: #eadfd9;
  --rony-white: #ffffff;
}


body.product-single .product-single__main-media {
  overflow: hidden !important;
  background: var(--rony-soft) !important;
  border: 1px solid var(--rony-border) !important;
  border-radius: 18px !important;
  box-shadow: none !important;
}

body.product-single .product-single__main-media .details-slider,
body.product-single .product-single__main-media .s-slider-container,
body.product-single .product-single__main-media .magnify-wrapper {
  overflow: hidden !important;
  background: var(--rony-soft) !important;
  border-radius: inherit !important;
}

body.product-single
.product-single__main-media
.magnify-wrapper > img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;

  object-fit: contain !important;
  object-position: center !important;

  background: var(--rony-soft) !important;
  border-radius: 0 !important;
}


body.product-single
.product-single__main-media
.s-slider-thumbs {
  margin-top: 12px !important;
}

body.product-single
.product-single__main-media
.s-slider-thumbs .swiper-slide {
  box-sizing: border-box !important;
  overflow: hidden !important;

  padding: 3px !important;

  background: var(--rony-white) !important;
  border: 1px solid var(--rony-border) !important;
  border-radius: 12px !important;
  box-shadow: none !important;

  opacity: 1 !important;
}

body.product-single
.product-single__main-media
.s-slider-thumbs .swiper-slide-thumb-active {
  border-color: var(--rony-orange) !important;
  box-shadow: 0 0 0 1px var(--rony-orange) !important;
}

body.product-single
.product-single__main-media
.s-slider-thumbs img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;

  object-fit: contain !important;
  object-position: center !important;

  background: var(--rony-soft) !important;
  border-radius: 9px !important;
}


body.product-single
.product-single__main-media
.promotion-title {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;
  z-index: 10 !important;

  width: auto !important;
  min-width: 0 !important;
  padding: 7px 14px !important;

  color: var(--rony-title) !important;
  background: var(--rony-yellow) !important;

  border: 0 !important;
  border-radius: 999px !important;
  box-shadow: none !important;

  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
  white-space: nowrap !important;
}


body.product-single
[data-selia="product-single-title"] {
  color: var(--rony-title) !important;
  font-weight: 700 !important;
  line-height: 1.55 !important;
}

body.product-single
.product-entry__sub-title {
  margin-bottom: 10px !important;

  color: var(--rony-orange) !important;

  font-size: 0.9375rem !important;
  font-weight: 600 !important;
  line-height: 1.7 !important;
}


body.product-single .product-price .total-price,
body.product-single .sticky-cart-single .total-price {
  color: var(--rony-price) !important;

  font-size: 1.125rem !important;
  font-weight: 700 !important;
  line-height: 1.4 !important;
}

body.product-single .product-price .before-price,
body.product-single .sticky-cart-single .before-price {
  color: var(--rony-muted) !important;

  font-size: 0.875rem !important;
  font-weight: 400 !important;

  opacity: 0.8 !important;

  text-decoration-line: line-through !important;
  text-decoration-thickness: 1px !important;
}

body.product-single
.product-single__discounted-amount {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;

  padding: 6px 10px !important;

  color: var(--rony-price) !important;
  background: var(--rony-soft) !important;

  border: 1px solid var(--rony-border) !important;
  border-radius: 999px !important;

  font-size: 0.8125rem !important;
  font-weight: 700 !important;
}

body.product-single
.product-single__discounted-amount
.product-count-sale {
  display: none !important;
}

body.product-single
[data-selia="product-sold-count"] {
  color: var(--rony-price) !important;
}


body.product-single
#product-form > section.bg-storeBG:not(.sticky-product-bar) {
  background: var(--rony-white) !important;
  border: 1px solid var(--rony-border) !important;
  border-radius: 14px !important;
  box-shadow: none !important;
}

body.product-single
#product-form
.product-price-bottom {
  background: var(--rony-white) !important;

  border: 1px solid var(--rony-border) !important;
  border-bottom: 0 !important;

  border-radius: 14px 14px 0 0 !important;
  box-shadow: none !important;
}

body.product-single
#product-form
.sticky-product-bar {
  background: var(--rony-white) !important;

  border: 1px solid var(--rony-border) !important;
  border-top: 0 !important;

  border-radius: 0 0 14px 14px !important;
  box-shadow: none !important;
}


body.product-single
#product-form
.s-quantity-input-container {
  overflow: hidden !important;

  min-height: 42px !important;

  background: var(--rony-white) !important;

  border: 1px solid var(--rony-border) !important;
  border-radius: 12px !important;

  box-shadow: none !important;
}

body.product-single
#product-form
.s-quantity-input-button,
body.product-single
#product-form
.s-quantity-input-button:hover,
body.product-single
#product-form
.s-quantity-input-button:focus,
body.product-single
#product-form
.s-quantity-input-button:focus-visible,
body.product-single
#product-form
.s-quantity-input-button:active {
  width: 42px !important;
  height: 42px !important;

  color: var(--rony-title) !important;

  background: transparent !important;
  background-color: transparent !important;
  background-image: none !important;

  border: 0 !important;
  border-radius: 0 !important;

  box-shadow: none !important;
  outline: none !important;
}

body.product-single
#product-form
.s-quantity-input-button span,
body.product-single
#product-form
.s-quantity-input-button i,
body.product-single
#product-form
.s-quantity-input-button svg {
  background: transparent !important;
  background-color: transparent !important;
}

body.product-single
#product-form
.s-quantity-input-button:hover {
  color: var(--rony-orange) !important;
}

body.product-single
#product-form
.s-quantity-input-input {
  width: 48px !important;
  height: 42px !important;

  color: var(--rony-title) !important;
  background: var(--rony-white) !important;

  border: 0 !important;
  border-right: 1px solid #f2e9e4 !important;
  border-left: 1px solid #f2e9e4 !important;
  border-radius: 0 !important;

  box-shadow: none !important;
  outline: none !important;

  font-weight: 700 !important;
  text-align: center !important;
}


body.product-single
salla-add-product-button.sticky-product-bar__btn {
  display: block !important;

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

  margin-right: 0 !important;
  margin-left: 0 !important;
}

body.product-single
salla-add-product-button.sticky-product-bar__btn
> .s-add-product-button-main {
  display: grid !important;
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
  align-items: stretch !important;
  gap: 12px !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: 100% !important;

  margin: 0 !important;
}

body.product-single
salla-add-product-button.sticky-product-bar__btn
> .s-add-product-button-main
> salla-button,
body.product-single
salla-add-product-button.sticky-product-bar__btn
> .s-add-product-button-main
> salla-mini-checkout-widget {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  margin: 0 !important;
}

body.product-single
salla-add-product-button.sticky-product-bar__btn
> .s-add-product-button-main
> salla-button.s-button-wrap {
  width: 100% !important;
  min-width: 0 !important;
}


body.product-single
.sticky-product-bar__btn
.s-add-product-button-main
.s-button-element {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;

  min-height: 48px !important;
  height: 48px !important;

  padding: 0 12px !important;

  color: var(--rony-white) !important;
  background: var(--rony-orange) !important;

  border: 1px solid var(--rony-orange) !important;
  border-radius: 12px !important;

  box-shadow: none !important;

  font-size: 1rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
}

body.product-single
.sticky-product-bar__btn
.s-add-product-button-main
.s-button-element:hover {
  color: var(--rony-white) !important;

  background: var(--rony-orange-dark) !important;
  border-color: var(--rony-orange-dark) !important;
}


body.product-single
salla-mini-checkout-widget {
  display: block !important;

  width: 100% !important;
  min-width: 0 !important;
  max-width: none !important;
}

body.product-single
.s-add-product-button-mini-checkout-content {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 7px !important;

  width: 100% !important;
  min-width: 0 !important;

  color: var(--rony-orange) !important;

  font-size: 1rem !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  white-space: nowrap !important;
}

body.product-single
.s-add-product-button-mini-checkout-content span {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;

  color: inherit !important;
}

body.product-single
.s-add-product-button-mini-checkout-content svg {
  width: 18px !important;
  height: 18px !important;

  color: inherit !important;
}

body.product-single
.s-add-product-button-mini-checkout-content svg path {
  fill: currentColor !important;
}


body.product-single
.product-single__info
.s-social-share-btn.s-button-element,
body.product-single
.product-single__info
button.btn--wishlist.s-button-element {
  width: 42px !important;
  height: 42px !important;

  color: var(--rony-price) !important;
  background: var(--rony-white) !important;

  border: 1px solid var(--rony-border) !important;
  border-radius: 12px !important;

  box-shadow: none !important;
}

body.product-single
.product-single__info
.s-social-share-btn.s-button-element:hover,
body.product-single
.product-single__info
button.btn--wishlist.s-button-element:hover {
  color: var(--rony-orange) !important;
  background: var(--rony-soft) !important;

  border-color: var(--rony-orange) !important;
}


body.product-single
.sticky-cart-single {
  background: var(--rony-white) !important;

  border-top: 1px solid var(--rony-border) !important;

  box-shadow:
    0 -8px 24px rgba(48, 53, 54, 0.07) !important;
}

body.product-single
.sticky-cart-single
.item-thumb {
  overflow: hidden !important;

  background: var(--rony-soft) !important;

  border: 1px solid var(--rony-border) !important;
  border-radius: 10px !important;
}

body.product-single
.sticky-cart-single
.item-thumb img {
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;

  object-fit: contain !important;
  object-position: center !important;

  background: var(--rony-soft) !important;
}


@media (max-width: 767px) {

  body.product-single
  .product-single__slider,
  body.product-single
  .product-single__info {
    padding-right: 12px !important;
    padding-left: 12px !important;
  }

  body.product-single
  .product-single__main-media {
    border-radius: 16px !important;
  }

  body.product-single
  .product-single__main-media
  .promotion-title {
    top: 10px !important;
    right: 10px !important;

    padding: 6px 11px !important;

    font-size: 1rem !important;
  }

  body.product-single
  [data-selia="product-single-title"] {
    font-size: 1.25rem !important;
  }


  

  body.product-single
  #product-form
  .product-price-bottom {
    display: block !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    margin: 0 !important;
    padding: 14px 15px 10px !important;

    visibility: visible !important;
    opacity: 1 !important;

    background: var(--rony-white) !important;

    border: 1px solid var(--rony-border) !important;
    border-bottom: 0 !important;
    border-radius: 14px 14px 0 0 !important;
  }

  body.product-single
  #product-form
  .product-price-bottom
  > .center-between {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;

    width: 100% !important;
    gap: 12px !important;
  }

  body.product-single
  #product-form
  .product-price-bottom label {
    display: block !important;

    margin: 0 !important;

    color: var(--rony-title) !important;

    font-size: 0.9375rem !important;
    font-weight: 700 !important;
  }

  body.product-single
  #product-form
  .product-price-bottom
  .price_is_on_sale {
    display: flex !important;
    align-items: center !important;
    gap: 8px !important;
  }

  body.product-single
  #product-form
  .product-price-bottom
  .total-price {
    display: inline-flex !important;
    align-items: center !important;

    margin: 0 !important;

    color: var(--rony-price) !important;

    font-size: 1.0625rem !important;
    font-weight: 700 !important;
  }

  body.product-single
  #product-form
  .product-price-bottom
  .before-price {
    display: inline-flex !important;
    align-items: center !important;

    color: var(--rony-muted) !important;

    font-size: 0.8125rem !important;
    opacity: 0.75 !important;
  }


  

  body.product-single
  #product-form
  .sticky-product-bar {
    margin-top: 0 !important;
    padding: 10px 15px 15px !important;

    background: var(--rony-white) !important;

    border: 1px solid var(--rony-border) !important;
    border-top: 0 !important;
    border-radius: 0 0 14px 14px !important;
  }

  body.product-single
  #product-form
  .sticky-product-bar__quantity {
    margin-bottom: 12px !important;
  }


  

  body.product-single
  salla-add-product-button.sticky-product-bar__btn
  > .s-add-product-button-main {
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 8px !important;
  }

  body.product-single
  .sticky-product-bar__btn
  .s-add-product-button-main
  .s-button-element,
  body.product-single
  .s-add-product-button-mini-checkout-content {
    font-size: 0.875rem !important;
  }


  

  body.product-single
  .sticky-cart-single
  .content-bottom {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;

    width: 100% !important;
    min-width: 0 !important;
  }

  body.product-single
  .sticky-cart-single
  .content-bottom
  > .item-title {
    order: 1 !important;
    width: 100% !important;
  }

  body.product-single
  .sticky-cart-single
  .content-bottom
  > .mb-2 {
    order: 2 !important;

    display: flex !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 6px !important;

    width: 100% !important;
    height: auto !important;
    max-height: none !important;
    overflow: visible !important;

    margin: 4px 0 8px !important;

    visibility: visible !important;
    opacity: 1 !important;
  }

  body.product-single
  .sticky-cart-single
  .content-bottom
  > .mb-2
  .total-price {
    display: inline-flex !important;
    align-items: center !important;

    margin: 0 !important;

    color: var(--rony-price) !important;

    font-size: 1rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
  }

  body.product-single
  .sticky-cart-single
  .content-bottom
  > .mb-2
  .before-price {
    display: inline-flex !important;
    align-items: center !important;

    color: var(--rony-muted) !important;

    font-size: 0.75rem !important;
    opacity: 0.75 !important;
  }

  body.product-single
  .sticky-cart-single
  .content-bottom
  > salla-add-product-button.sticky-product-bar__btn {
    order: 3 !important;

    width: 100% !important;
    margin-top: 0 !important;
  }
}


/* ==========================================================
   قسم الباقات الجديد
   ========================================================== */

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value]) {
  --bundles-section-bg: #fcf3ff;
  --bundles-title-color: #3f3632;
  --bundles-text-color: #746b67;
  --bundles-orange: #f26522;
  --bundles-orange-dark: #d95518;
  --bundles-line: rgba(63, 54, 50, 0.12);
  --bundles-icon:
    url("https://cdn.salla.sa/wmbND/products/SHcfHmb5YmLmK5RXePNfyTJ6befOAqXSg28u9mFl.gif");
  --bundles-icon-size: 66px;
  --bundles-cards-gap: clamp(14px, 2vw, 20px);

  box-sizing: border-box !important;
  overflow: hidden !important;

  width: calc(100% - 32px) !important;
  max-width: 1180px !important;

  margin: clamp(48px, 6vw, 68px) auto !important;
  padding: clamp(30px, 3vw, 38px) clamp(18px, 2.5vw, 28px) !important;

  background: var(--bundles-section-bg) !important;
  border-radius: 28px !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value]) > .container,
section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value]) > .product-tab-content > .container {
  width: 100% !important;
  max-width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
}


section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.home-block-title {
  width: 100% !important;
  margin: 0 auto !important;
  padding-top: calc(var(--bundles-icon-size) + 14px) !important;

  background-image: var(--bundles-icon) !important;
  background-repeat: no-repeat !important;
  background-position: center top !important;
  background-size:
    var(--bundles-icon-size)
    var(--bundles-icon-size) !important;

  text-align: center !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
[data-selia="home-product-tabs-title"] {
  margin: 0 !important;

  color: var(--bundles-title-color) !important;

  font-size: clamp(1.7rem, 2.3vw, 2rem) !important;
  font-weight: 900 !important;
  line-height: 1.3 !important;
  letter-spacing: 0 !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
[data-selia="home-product-tabs-subtitle"] {
  max-width: 500px !important;
  margin: 7px auto 0 !important;

  color: var(--bundles-text-color) !important;

  font-size: clamp(0.95rem, 1.25vw, 1.1rem) !important;
  font-weight: 400 !important;
  line-height: 1.75 !important;
}


section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.enhanced-title-border {
  display: none !important;
}


section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tabs-container {
  width: 100% !important;
  margin: 26px auto 22px !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.btn-tabs-container {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-wrap: wrap !important;

  width: 100% !important;
  gap: 10px !important;

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

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab {
  appearance: none !important;
  -webkit-appearance: none !important;

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

  flex: 0 0 auto !important;

  min-width: 96px !important;
  min-height: 42px !important;

  margin: 0 !important;
  padding: 9px 16px !important;

  color: var(--bundles-title-color) !important;
  background: #ffffff !important;

  border: 1px solid var(--bundles-line) !important;
  border-radius: 12px !important;
  box-shadow: none !important;

  font: inherit !important;
  font-size: 0.875rem !important;
  font-weight: 700 !important;
  line-height: 1.2 !important;

  cursor: pointer !important;

  transition:
    background-color 0.18s ease,
    border-color 0.18s ease,
    color 0.18s ease !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab:hover {
  border-color: rgba(242, 101, 34, 0.38) !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab.active {
  color: #ffffff !important;
  background: var(--bundles-orange) !important;
  border-color: var(--bundles-orange) !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab:focus-visible {
  outline: 3px solid rgba(242, 101, 34, 0.22) !important;
  outline-offset: 2px !important;
}


section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab-content.active {
  width: 100% !important;
  margin-top: 2px !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.product-tab-content.active
salla-products-slider {
  display: block !important;
  width: 100% !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.s-slider-block__title {
  display: none !important;
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.s-slider-container {
  width: 100% !important;
  margin-inline: auto !important;
  padding-inline: 0 !important;
  overflow: visible !important;
}

@media (min-width: 768px) {

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .s-slider-swiper-wrapper {
    display: grid !important;
    grid-template-columns:
      repeat(auto-fit, minmax(250px, 320px)) !important;

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

    width: 100% !important;
    gap: var(--bundles-cards-gap) !important;

    margin-inline: auto !important;
    padding-inline: 0 !important;

    transform: none !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .s-products-slider-card {
    position: relative !important;

    right: auto !important;
    left: auto !important;

    box-sizing: border-box !important;

    width: 100% !important;
    max-width: 320px !important;
    min-width: 0 !important;
    height: auto !important;

    margin: 0 !important;

    transform: none !important;
  }
}

section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
.s-products-slider-card
> custom-salla-product-card {
  width: 100% !important;
  height: 100% !important;
  margin-inline: auto !important;
}


@media (min-width: 768px) and (max-width: 1023px) {
  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value]) {
    width: calc(100% - 32px) !important;
    padding-inline: 18px !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .s-slider-swiper-wrapper {
    grid-template-columns:
      repeat(auto-fit, minmax(220px, 280px)) !important;

    gap: 14px !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .s-products-slider-card {
    max-width: 280px !important;
  }
}


/* ==========================================================
   قسم الباقات الجديد — عرض الجوال والسلايدر
   ========================================================== */

@media (max-width: 767px) {

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value]) {
    --bundles-icon-size: 54px;

    width: calc(100% - 24px) !important;

    margin: 38px auto 48px !important;
    padding: 24px 12px 22px !important;

    border-radius: 22px !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  [data-selia="home-product-tabs-title"] {
    font-size: 1.55rem !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  [data-selia="home-product-tabs-subtitle"] {
    max-width: 310px !important;
    font-size: 0.9rem !important;
    line-height: 1.7 !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tabs-container {
    margin: 22px auto 18px !important;
    overflow: hidden !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .btn-tabs-container {
    justify-content: flex-start !important;
    flex-wrap: nowrap !important;

    gap: 8px !important;

    overflow-x: auto !important;
    overscroll-behavior-inline: contain !important;
    scroll-snap-type: x proximity !important;
    scrollbar-width: none !important;

    padding: 1px 0 6px !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .btn-tabs-container::-webkit-scrollbar {
    display: none !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab {
    min-width: 86px !important;
    min-height: 40px !important;

    padding: 8px 14px !important;

    border-radius: 11px !important;
    scroll-snap-align: start !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  > .container {
    overflow: hidden !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  .s-slider-container {
    width: 100% !important;
    overflow: hidden !important;
    padding-inline: 0 !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  .s-slider-swiper-wrapper {
    display: flex !important;
    align-items: stretch !important;
    justify-content: flex-start !important;

    width: 100% !important;
    gap: 0 !important;

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

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  salla-products-slider
  salla-slider
  .s-slider-swiper-wrapper
  .swiper-slide.s-products-slider-card {
    flex: 0 0 min(86%, 320px) !important;

    width: min(86%, 320px) !important;
    min-width: min(86%, 320px) !important;
    max-width: min(86%, 320px) !important;

    margin-right: 0 !important;
    margin-left: 12px !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  salla-products-slider
  salla-slider
  .s-slider-swiper-wrapper
  .swiper-slide.s-products-slider-card:last-child {
    margin-left: 0 !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab-content.active
  .s-products-slider-card
  > custom-salla-product-card {
    width: 100% !important;
    min-width: 0 !important;
    max-width: none !important;
    height: 100% !important;
  }

  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .s-slider-nav-arrow {
    display: none !important;
  }
}

@media (prefers-reduced-motion: reduce) {
  section.s-block--product-tabs:has(salla-products-slider[source="selected"][source-value])
  .product-tab {
    transition: none !important;
  }
}


@media (max-width: 640px) {

  salla-slider
  .swiper-slide:has(
    custom-salla-product-card.product-card.product-card--vertical
  ) {
    min-width: 70% !important;
  }

}


/* ==========================================================
   صفحة المنتج — إخفاء صندوق السعر السفلي
   ========================================================== */

.product-single__info .product-price-bottom {
  display: none !important;
}

/* ==========================================================
   قسم الباقات الجديد — ضبط الجوالات الأصغر
   ========================================================== */

@media (max-width: 480px) {

  section.s-block--product-tabs:has(
    salla-products-slider[source="selected"][source-value]
  )
  .product-tab-content.active
  salla-products-slider
  salla-slider
  .s-slider-swiper-wrapper
  .swiper-slide.s-products-slider-card {
    flex-basis: min(84%, 310px) !important;

    width: min(84%, 310px) !important;
    min-width: min(84%, 310px) !important;
    max-width: min(84%, 310px) !important;
  }
}