/* Add custom CSS styles below */ 
:root{
    --one:#02cc6d;
    --two:#ffffff;
    --thr:#0092da;
    --back: whitesmoke;
    --grid:4;
    --gridmob:2;
    --logo: url();
}

/* Slider */
section.s-block.s-block--photos-slider salla-slider.photos-slider .swiper-slide,
 [dir=rtl] salla-slider.photos-slider .swiper,
 salla-slider.photos-slider .swiper:where([dir=rtl],[dir=rtl] *),
 section.s-block.s-block--photos-slider:first-of-type
 {
    width: 100%;
    margin: 0;
    padding:0;
}
/*--------------------*/

/* unset  */
section.s-block.s-block--fixed-banner.wide-placeholder,  .banner--fixed img, .banner-entry {
    background-color: unset;
}
/*--------------------*/

/* grid */
.two-row .banner-entry:first-child {
    grid-column: span 1/span 1;
    grid-row: 1/2;
}

.md\:grid-cols-3 {
    grid-template-columns: repeat(var(--grid),minmax(0,1fr));
}

.banner-entry {
    height: 225px;
}

section.s-block.s-block--banners.container .lazy__bg.lazy.entered.loaded {
    background-size: contain;
    background-repeat: no-repeat;
}
/*--------------------*/

/*center*/
.flex.mb-6, .s-product-card-content-sub, .store-footer a, .s-product-card-content-title a, .store-footer .contact-social ul {
    text-align: center!important;
    justify-content: center !important;

}
/*--------------------*/

/*prouduct*/
/* .s-slider-block__title h2:where([dir=rtl],[dir=rtl] *) {
    display: none;
}
#slider-with-bg-4 > div.s-slider-block__title > div.s-slider-block__title-right > h2 {
    display: none;
}

.s-button-element:not(:disabled):not([loading]) {
    background-color: var(--one);
    border: 2px solid var(--one);
    color: var(--two);
}

button.undefined.s-button-element.s-button-btn.s-button-outline.s-button-wide.s-button-primary-outline.s-button-loader-center {
    color: var(--two);
}

/* button.s-product-card-wishlist-btn.animated.s-button-element.s-button-icon.s-button-outline.s-button-light-outline.s-button-loader-center {
    color: var(--one) !important;
    } 

.s-product-card-content {
    background-color: var(--two);
    border-bottom-right-radius: 30px;
    border-bottom-left-radius: 30px;
}

.s-product-card-vertical {
    border: 3px solid var(--one);
    box-shadow: 0 0 5px var(--one);
}

.s-product-card-entry {
    height: 97%;
} */
/*--------------------*/

/*footer*/
.footer-is-light .store-footer .store-footer__inner {
    text-align: center!important;
    justify-content: center !important;
    background-color: var(--one);
    color: var(--two);
}
/*--------------------*/

/*media*/
@media (max-width:767px){
    .swiper-wrapper>div {
        width: 56%;
    }
    .banner-entry {
    height: 114px;

    }
    .md\:grid-cols-3 {
      grid-template-columns: repeat(var(--gridmob),minmax(0,1fr));
    }
    #app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20 > div {
        justify-content: center;
    }
}

@media (min-width:768px) and (max-width:1200px){
    .banner-entry {
    height: 360px;
    }
        #app > div.app-inner.flex.flex-col.min-h-full > footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pr-20.ltr\:lg\:pl-20 > div {
        justify-content: center;
    }
}
/*--------------------*/

/* transition */
.lazy__bg.lazy.entered.loaded {
    transition: transform .5s;
}
.lazy__bg.lazy.entered.loaded:hover {
    transform: scale(.9);
}

.s-product-card-vertical {
    transition: transform .5s;
}

.s-product-card-vertical:hover  {
    transform: scale(.9);
}

.s-button-element:not(:disabled):not([loading]):hover {
    color: var(--two);
    border: var(--thr) solid 3px;
}

/* .s-product-card-vertical:hover {
    box-shadow: -11px 10px 16px var(--thr);
} */

.store-footer a {
    transition: all .3s ease-in-out;
}

.store-footer a:hover {
    transition: all .3s;
    background-color: var(--thr);
    border-radius: 50px;
    padding-left: 108px;
    padding-right: 70px;
    padding-bottom: 5px;
    padding-top: 4px;
}
/*end transition */

/* icon */
/* Card container */
.s-product-card-entry.s-product-card-vertical {
  background: #f4fbfa;
  border-radius: 0;
  border: none;
  box-shadow: none;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

/* Image section */
.s-product-card-image {
  position: relative;
  background: #f4fbfa;
  aspect-ratio: 1 / 1;
  overflow: hidden;
}

.s-product-card-image-cover {
  width: 100%;
  height: 100%;
  object-fit: contain;
  padding: 12px;
}

/* Category badge - يحاكي "مكملات" */
.s-product-card-image::after {
  content: attr(data-category);
  position: absolute;
  top: 50%;
  right: 0;
  transform: translateY(-50%);
  background: transparent;
  color: #3aada0;
  font-size: 11px;
  font-weight: 700;
  writing-mode: vertical-rl;
  text-orientation: mixed;
  padding: 4px 2px;
  border-right: 2px solid #3aada0;
}

/* Wishlist button */
.s-product-card-wishlist-btn {
  display: none !important;
}

/* Content area */
.s-product-card-content {
  background: #f4fbfa;
  padding: 10px 12px 8px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.s-product-card-content-main {
  margin: 0;
}

/* Product title */
.s-product-card-content-title a,
.s-product-card-content-title {
  font-size: 13px;
  font-weight: 600;
  color: #222;
  text-align: right;
  line-height: 1.4;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* Price + Button row */
.s-product-card-content-sub {
  display: flex;
  align-items: center;
  justify-content: flex-end;
}

.s-product-card-price {
  font-size: 17px;
  font-weight: 800;
  color: #111;
  margin: 0;
  display: flex;
  align-items: center;
  gap: 3px;
}

.s-product-card-price .sicon-sar {
  font-size: 14px;
  color: #333;
}

/* Footer - Add to cart button */
.s-product-card-content-footer {
  display: flex;
  justify-content: flex-start;
  margin-top: 2px;
}

/* Hide default wide button, show icon-style green circle */
.s-product-card-content-footer salla-add-product-button,
.s-product-card-content-footer salla-button,
.s-product-card-content-footer .s-button-element {
  all: unset;
  cursor: pointer;
}

.s-product-card-content-footer .s-button-element {
  width: 36px !important;
  height: 36px !important;
  border-radius: 50% !important;
  background: #2db57a !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: none !important;
  box-shadow: 0 2px 6px rgba(45,181,122,0.35) !important;
  transition: background 0.2s;
}

.s-product-card-content-footer .s-button-element:hover {
  background: #25a06b !important;
}

/* Show only "+" icon, hide bag icon and text */
.s-product-card-content-footer .s-button-text {
  display: flex;
  align-items: center;
  justify-content: center;
}

.s-product-card-content-footer .sicon-shopping-bag {
  display: none !important;
}

.s-product-card-content-footer span:last-child {
  display: none !important;
}

.s-product-card-content-footer .s-button-element::after {
  content: "+";
  color: white;
  font-size: 22px;
  font-weight: 300;
  line-height: 1;
      margin-top: -7px;
}

/* Row layout for price + button together */
.s-product-card-content-sub,
.s-product-card-content-footer {
  flex-direction: row;
}

/* Combine price and button on same line */
.s-product-card-content {
  padding-bottom: 12px;
}