/* Add custom CSS styles below */ 
/* Add custom CSS styles below */ 
.details {
    background-color: rgb(244 243 238);
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
}
.mob\:container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0px;
    padding-left: 0px;
}
.store-footer h3 {
    color: #414042;
    color: #ffffff;
}
.dark .da-cp {
    color: #414042 !important;
    color: #ffffff !important;
}
.special-product salla-add-product-button button {  border-color: rgb(0 0 0);
    background-color: rgb(0 0 0);
  }
  
.details.product-options, .details.product-reviews {
    padding-top: 0rem;
    padding-bottom: 0rem;
    padding-right: 1.5rem;
    padding-left: 1.5rem;
}

salla-slider:not(.hydrated), .carousel-slider {
    display: none;
    visibility: visible;
}

[dir="rtl"] .pe-2 {
    padding-right: 1rem;
}
-------------



.s-block {
    padding-top: 2rem;
    padding-bottom: 0.75rem;
}



.promotion-title {
    background-color: #b20500 !important;

}

div.promotion-title {
  background-color: #bb0d08;
}


body .promotion-title {
  background-color: #bb0d08;
}

element.style { background-color: #f87e7e; }
element.style {
    background-color: #cd180f;
}

.p-5 {
    padding: 0rem;
}


.bg-gray-100 {
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: rgb(255 255 255);
}

.s-comments-container {
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}


.mob\:container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 0px;
    padding-left: 0px;
}

.leading-normal 
    line-height: 1.5;
    padding-right: 1rem;
}

[dir="rtl"] .pe-2 {
    padding-right: 1rem;
}
[dir="rtl"] .pe-16 {
    padding-left: 4rem;
    background-color: #ffff;
}
.w-max {
    width: -moz-max-content;
    width: max-content;
    padding-right: 0.5rem;
}

.whitespace-nowrap {
    white-space: nowrap;
    padding-right: 0.5rem;
}

.text-gray-400 {
    padding-right: 0rem;
}

.text-gray-500 {
    padding-right: 0rem;
}



.styles__snippetWrapper--d68e9 {
    background-color: #f4f3ee;
    border: 1px solid #f4f3ee;
}

.details {
    background-color: rgb(244 243 238);
    padding-left: 0rem;
    padding-right: 0rem;
    padding-top: 0rem;
    padding-bottom: 0rem;
}


salla-slider[type]:not(.hydrated) > div, salla-slider[type]:not(.hydrated) .swiper > div > div, .carousel-slider .swiper {
    margin-left: -0.625rem;
    margin-right: -0.625rem;
    display: flex;
    padding-left: 5px;
    padding-right: 10px;
}
.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-right: 0.5rem;
}

.tabs .tab-trigger.is-active {
    padding-right: 1rem;
    padding-left: 1rem;
}

.tabs__product .tab-trigger {
    padding-right: 1rem;
    padding-left: 1rem;
}

.container {
    width: 100%;
    margin-right: auto;
    margin-left: auto;
    padding-right: 15px;
    padding-left: 15px;
}

.space-x-2 > :not([hidden]) ~ :not([hidden]){ 
    --tw-space-x-reverse: 0; 
    margin-right: calc(0rem * var(--tw-space-x-reverse));
    margin-left: calc(0.5rem * (1 - var(--tw-space-x-reverse)));
    margin-left: calc(0.1rem * calc(1 - var(--tw-space-x-reverse)));
}

.mm-spn.mm-spn--navbar ul:before {
    border-top: 1px solid rgb(244 243 238);
}

-----------------------


.s-quantity-input-container {
    display: flex;
    height: 2.5rem;
    align-items: center;
    justify-content: space-around;
    border-radius: 0.675rem;
    border-width: 1px;
    font-size: 0.875rem;
    line-height: 1.25rem;
}

----------------


[dir="rtl"] .pe-2 {
    padding-right: 1rem;
}

---------



.is-sticky-product-bar .sticky-product-bar {
    padding: 0.5rem;
}

.custom-before-price {
    font-size: 1.3rem;
}
.custom-total-price {
    font-size: 1.55rem;
}

.px-2 {
    padding-left: 0rem;
    padding-right: 0rem;
}

.animate__fadeIn,
.angel_anime,
.animate__ {
  animation: none !important;
  animation-delay: 0s !important;
}

.is-sticky-product-bar .sticky-product-bar {
    padding: 0.5rem;
    background-color: #F4F3EE;
}


.s-button-btn {
    border-radius: 0.375rem;

}

.s-add-product-button-main .s-add-product-button-mini-checkout {
    border-radius: .25rem !important;
    --salla-fast-checkout-button-border-radius: 0.375rem !important;
}
.custom-qty-price-row .s-quantity-input-container {
    width: 100%;
    background-color: #ffffff;
}

.mb-3 {
    margin-bottom: 0rem;
}

-----
.tabs .tab-trigger.is-active {
   
    padding-right: 1rem;
    padding-left: 1rem;
}





.text-red-400 {
    --tw-text-opacity: 1;
    color: rgba(248, 113, 113, 1);
    color: rgb(225 29 72);
}

.btn {
    border-radius: 0.5rem;
    padding-top: 0.5rem;
}

.special-product .btn--primary {
    max-width: 100%;
}

.s-button-btn {
    padding-top: 0.5rem;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-right: 0.5rem;
    
}

[dir="rtl"] .rounded-ts-none {
    border-top-right-radius: 0px;
    
}


.custom-qty-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem; /* فراغ بين السعر والكمية */
}



/* ضبط السعرين */
.custom-total-price {
  font-size: 1.25rem;
  font-weight: bold;
  color: #e11d48;
  white-space: nowrap;
}

.custom-before-price {
  font-size: 0.875rem;
  color: #9ca3af;
  text-decoration: line-through;
  white-space: nowrap;
}

/* زر الكمية ياخذ 50% */
.custom-qty-price-row .sticky-product-bar__quantity {
  flex: 0 0 50%;
  max-width: 50%;
}

.custom-qty-price-row .s-quantity-input-container {
  width: 100%;
}

.custom-total-price {
    font-size: 1.55rem;
    font-weight: bold;
    color: #e11d48;
    white-space: nowrap;
}

.custom-before-price {
    font-size: 1rem;
    color: #9ca3af;
    text-decoration: line-through;
    white-space: nowrap;
}

.bg-red-500 {
    --tw-bg-opacity: 1;
    background-color: rgba(239, 68, 68, 1);
    background-color: rgb(225 29 72);
}

.s-comments-container {
    padding-left: 5px;
    padding-right: 5px;
    padding-bottom: 0.5rem;
    padding-top: 1.5rem;
}

.s-comments-item-inner .s-comments-flex-1 {
    background-color: #F2f2f2;
}

.details.total {
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: rgb(244 243 238);
}

.bg-cover {
    DISPLAY: NONE;
    background-size: cover;
}

.form-input, input, textarea, select, .tel-input, .s-login-modal-input, .s-product-availability-input, .s-verify-input, .s-comment-form-input {
    background-color: #f2f2f2;
}

.altumcode-promo-image-content {
    max-width: 100% !important;
}

[dir="rtl"] .start-4 {
    right: 1rem;
    width: 6rem;
    height: 6rem;
}

.s-comments-container {
    padding-left: 25px;
    padding-right: 25px;
    padding-bottom: 1rem;
    padding-top: 2rem;
}




.details.total {
    display: none;
    --tw-bg-opacity: 1;
    background-color: rgba(243, 244, 246, 1);
    background-color: rgb(244 243 238);
}

.details.product-options, .details.product-reviews {
    padding-top: 0rem;
    padding-bottom: 0.5rem;
    padding-right: 1rem;
    padding-left: 1rem;
}

--------------------------------------------------


.details__wrapper {
    padding-right: 6rem;
    display: flex;
    min-height: 2rem;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.details__container {
    width: 80%;
    padding-right: 1rem;
    padding-left: 8rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}


.details__title span {
  font-size: 0.875rem;
  font-weight: 700 !important;
  line-height: 1.25rem;
  color: #000; /* لو تبغى تأكد وضوح الخط */
}

.details__title i {
    font-size: 0.75rem;
    line-height: 1rem;
    color: #e11d48;
}


.tabs {
    justify-content: center !important;
}

.tabs__product .tab-trigger {
    background-color: #ffffff !important;
    color: #000000 !important;
}

.tabs__product .tab-trigger.is-active {
    background-color: #000000 !important;
    color: #ffffff !important;
}

.special-product .btn--primary {
    max-width: 100%;
    padding-right: 1.5rem;
}

.s-slider-block__title h2:where([dir="rtl"], [dir="rtl"] *) {
    padding-right: 0rem;
}


.s-slider-block__title-right:where([dir="rtl"], [dir="rtl"] *) {
  display: flex !important;
  justify-content: center !important;
  align-items: center;
  padding: 0 !important;
}

.s-slider-block__title-right h2 {
  text-align: center !important;
  margin: 0 auto !important;
}

.flex-center {
    padding-top: 0.5rem;
    padding-bottom: 0rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.sicon-cancel:before {
    display: none;
    content: "\ea47";
}

----


/* توزيع السعر والكمية بشكل ذكي */
.custom-qty-price-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  gap: 10px;
  flex-wrap: nowrap;
}

/* مجموعة السعر: تسمح باللف ولا تقطع الرقم */
.custom-qty-price-row .flex.items-center {
  flex-shrink: 1;
  max-width: 50%;
  white-space: normal; /* 👈 يسمح باللف الكامل */
  overflow: visible;
}

/* زر الكمية: يتجاوب تلقائيًا */
.sticky-product-bar__quantity {
  flex-shrink: 1;
  flex-grow: 1;
  min-width: 60px;
  max-width: 120px;
  transition: all 0.2s ease;
  overflow: hidden;
}

/* تنسيق داخلي للأزرار والحقل */
.sticky-product-bar__quantity input,
.sticky-product-bar__quantity button {
  font-size: 14px !important;
  padding: 4px 6px;
}

/* دعم إضافي للشاشات الصغيرة */
@media (max-width: 500px) {
  .sticky-product-bar__quantity {
    max-width: 100px;
    min-width: 60px;
  }
}