/* Add custom CSS styles below */ 

/* Add custom CSS styles below */ 
.custom-card-bottom {
display: flex;
justify-content: space-between; 
align-items: center;
gap: 12px;
margin-top: 10px;
}

.custom-card-bottom .s-product-card-sale-price {
display: flex;
align-items: baseline;
gap: 6px;
}

.custom-card-bottom .s-product-card-sale-price h4 {
font-size: 1.1rem;
font-weight: 700;
}

.custom-card-bottom .s-product-card-sale-price span {
font-size: 0.9rem;
text-decoration: line-through;
color: #9ca3af;
}
.custom-card-bottom {
display: flex;
justify-content: center;
align-items: center;
gap: 1px;
margin-top: 1px !important;
flex-direction: row-reverse;
}
.s-product-card-entry .s-add-product-btn .s-button-outline {
border-radius: 0px !important;
border-width: 0px !important;
background-color: #00000000 !important;
color: #000000 !important;
}
.s-product-card-image{
background-color: rgb(243 244 246 / 0%);
}
.s-button-element .sicon-shopping-bag2 {
font-size: 20px; 
}
.s-product-card-entry .s-product-card-content{
padding-top:0.1rem !important;
}
.s-product-card-entry .s-product-card-content-subtitle{
display:none;
}
.s-product-card-content-footer {
display: flex;
justify-content: center; 
align-items: center;
gap: 6px; 
}

.s-product-card-sale-price,
.s-product-card-content-sub {
margin: 0;
padding: 0;
display: flex;
align-items: center;
}

.s-product-card-sale-price h4,
.s-product-card-price {
font-size: 1rem;
font-weight: 700;
margin: 0;
}

.custom-card-bottom .s-product-card-sale-price h4 {
color: #000000 !important; 
}
.s-product-card-entry .s-add-product-btn .s-button-outline{
padding:10px;
} 
.testimonial__inner {
display: flex;
align-items: center; 
gap: 12px; 
padding: 1rem;
border: 2px solid #000000 !important;
border-radius: 0.75rem;
background-color: #ffffff;
transition: all 0.3s ease;
overflow: hidden;
}


.testimonial__avatar {
width: 48px;
height: 48px;
flex-shrink: 0; 
color: #9ca3af;
}


.testimonial__content {
display: flex;
align-items: center;
gap: 16px;
flex-grow: 1;
overflow: hidden; 
}

/* 4. عمود معلومات العميل */
.testimonial__info {
display: flex;
flex-direction: column;
align-items: flex-start;
flex-shrink: 0;
}

.testimonial__info h4 {
font-size: 0.875rem; /* 14px */
font-weight: 600;
color: #1f2937;
white-space: nowrap;
}


.testimonial__text {
flex-grow: 1;
min-width: 0; 
}

.testimonial__text p {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
font-size: 0.875rem;
color: #6b7280;
margin: 0;
}


.swiper-slide-active .testimonial__inner {
z-index: 99 !important;
background-color: #000000;
border-color: #000000;
transform: scale(1.05);
}

.swiper-slide-active .testimonial__avatar,
.swiper-slide-active .testimonial__info h4,
.swiper-slide-active .testimonial__text p {
color: #ffffff;
}

.swiper-slide-active .testimonial__rating svg path {
fill: #f59e0b;
}



.testimonial {
background: transparent !important;
}

.customer-reviews-block .reviewsSwiper .testimonial__header,
.customer-reviews-block .testimonialSwiper .testimonial__header {
border-bottom: none !important;
}
/* الكارد العادي */
.testimonial__inner {
display: flex;
align-items: center;
gap: 12px;
padding: 1rem;
border: 1px solid #e5e7eb;
border-radius: 0.75rem;
background-color: #ffffff;
transition: all 0.3s ease;
overflow: hidden;
flex-direction: row;
}


.swiper-slide-active .testimonial__inner {
background-color: #000000;
border-color: #000000;
transform: scale(1.05);
box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2); 
}


.swiper-slide-active .testimonial__avatar,
.swiper-slide-active .testimonial__info h4,
.swiper-slide-active .testimonial__text p {
color: #ffffff;
}

.swiper-slide-active .testimonial__rating svg path {
fill: #f59e0b;
}

.swiper-slide-active .testimonial__inner {
background-color: #000000;
border-color: #000000;
transform: scale(1.08) translateY(-10px);
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.6),
0 10px 10px rgba(0, 0, 0, 0.4); 
transition: all 0.4s ease;
z-index: 2; 
border-radius: 1rem; 
}


.swiper-slide-active .testimonial__info h4 {
color: #ffffff;
}

/* النص */
.swiper-slide-active .testimonial__text p {
color: #e5e7eb;
}

/* النجوم */
.swiper-slide-active .testimonial__rating svg path {
fill: #f59e0b;
}

/* تنسيق أيقونة SVG الجديدة */
.custom-product-card-bottom .custom-cart-icon {
width: 100%;
height: 100%;
}


.testimonial__inner {
display: flex;
align-items: center;
gap: 12px;
padding: 1rem;
border: 1px solid #e5e7eb;
border-radius: 0.75rem;
background-color: #ffffff;
transition: all 0.3s ease;
overflow: hidden;
flex-direction: row;
position: relative; 
z-index: 1; 
}


.swiper-slide-active .testimonial__inner {
background-color: #000000;
border-color: #000000;
transform: scale(1.08) translateY(-10px); 
box-shadow: 0 20px 30px rgba(0, 0, 0, 0.4),
0 10px 10px rgba(0, 0, 0, 0.2); 
transition: all 0.4s ease;
border-radius: 1rem;
position: relative;
z-index: 10; 
}

.swiper-pagination {
position: relative;
margin-top: 25px;
text-align: center;
display: flex;
justify-content: center;
align-items: center;
gap: 8px; 
}

.swiper-pagination-bullet {
background: #cbd5e1; 
width: 6px;
height: 6px;
border-radius: 50%;
opacity: 1;
transition: all 0.3s ease-in-out;
}


.swiper-pagination-bullet-active {
background: #000; 
width: 20px; 
height: 6px;
border-radius: 999px;
box-shadow: 0 3px 6px rgba(0,0,0,0.3);
}
.customer-reviews-block .reviewsSwiper .testimonial, .customer-reviews-block .testimonialSwiper .testimonial{
padding: 1px !important;

}

.s-product-card-image{
background-color: rgb(243 244 246 / 0%);
}


.s-product-card-entry .s-add-product-btn .s-button-outline{
background-color: #00000000 !important;
color: #000000 !important;
}

.price-and-cart-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    flex-direction: row-reverse; }
    
    .custom-grid  {
    display: grid
;
    grid-template-columns: 1fr 1fr;
    gap: 0;
   
    margin: 40px auto;
    align-items: stretch; }
    

[id="1498749550"].s-product-card-fit-height .s-product-card-image{
height:auto !important;
max-height:none !important;
}
[id="138120567"].s-product-card-fit-height .s-product-card-image{
height:auto !important;
max-height:none !important;
}
[id="1029647955"].s-product-card-promotion-title{
display:none !important;
}

[id="550056849"].s-product-card-fit-height .s-product-card-image{
height:auto !important;
max-height:none !important;
}
.grid-image{
max-height:none !important;
}
@media (max-width: 768px) {
  /* أول كارد → أول صورة داخله بالضبط */
  .custom-grid .grid-item:first-child .s-product-card-image img.s-product-card-image-contain.lazy.loaded {
    margin-top: 4rem !important;
  }
 

}


.swiper-pagination{
display:none !important;
}
.custom-grid{
margin:0.2px auto;
}
.s-product-card-sale-price, .s-product-card-content-sub{
align-items: center;
    justify-content: center;
}


custom-salla-product-card#1498749550 .price-and-cart-wrapper {
  display: flex !important;
  align-items: center !important;   /* توسيط عمودي */
  justify-content: center !important; /* توسيط أفقي */
  gap: 1rem !important; /* مسافة بين السعر والزر */
}

.price-and-cart-wrapper{
flex-wrap:wrap;
}
salla-slider[type]:not(.hydrated) > div:where([dir="rtl"], [dir="rtl"] *), salla-slider[type]:not(.hydrated) .swiper > div > div:where([dir="rtl"], [dir="rtl"] *), .carousel-slider .swiper:where([dir="rtl"], [dir="rtl"] *){
padding-left:1px !important; 
}