/* Add custom CSS styles below */ 
/* Global */
body {
  background-color: #FBF8FD !important;
}

.banner--fixed img {
  border-radius: 0;
  background-color: transparent;
}

@media (min-width: 1280px) {
    .container {
        max-width: 1400px;
    }
}

.s-cart-summary-count {
    background-color: #FE71A1;
}
/* End of Global */


/* Banners */
:nth-child(1 of section.s-block.s-block--fixed-banner) {
  margin-top: 0;
}
:nth-child(1 of section.s-block.s-block--fixed-banner) .container {
  max-width: 100%;
  padding-right: 0;
  padding-left: 0;
}
/* End of Banners */


/* Featured Images */
section.s-block.s-block--banners.container .square-photos-grid .banner-entry {
    background-color: transparent;
}

@media (min-width: 768px) {
  section.s-block.s-block--banners.container .square-photos-grid {
    grid-template-columns: repeat(6, minmax(0, 1fr));
  }
  section.s-block.s-block--banners.container .square-photos-grid .banner-entry {
    height: 184px;
  }
}

@media (max-width: 768px) {
  section.s-block.s-block--banners.container .square-photos-grid {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
  section.s-block.s-block--banners.container .square-photos-grid .banner-entry {
    height: 130px;
  }
}

.lazy__bg {
    background-size: contain;
    background-repeat: no-repeat;
}

/* Show title below the image */
.square-photos-grid .banner-entry {
    display: flex;
    flex-direction: column;
    height: auto;
    overflow: visible;
}

/* Image area */
.square-photos-grid .banner-entry .lazy__bg {
    position: relative;
    width: 100%;
    aspect-ratio: 1 / 1;
}

/* Title below image */
.square-photos-grid .banner-entry .text-with-border {
    position: static !important;
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
    display: block !important;
    width: 100%;
    margin: 10px 0 0;
    padding: 0;
    text-align: center;
    background: none !important;
    color: #322F35;
    border: unset;
    font-size: 14px
}

.banner-entry h3.text-with-border span {
  line-height: 20px
}

/* Remove hover effects from the title */
.square-photos-grid .banner-entry:hover .text-with-border {
    transform: none !important;
    opacity: 1 !important;
    visibility: visible !important;
}

/* Remove the overlay */
.square-photos-grid .banner-entry::before,
.square-photos-grid .banner-entry::after {
    display: none !important;
}

.s-block--banners+.s-block--banners, .s-block--features+.s-block--features, .s-block--fixed-banner+.s-block--fixed-banner {
    margin-top: 4em;
}

@media (min-width: 768px) {
    .s-block__title {
        margin-bottom: 1rem;
    }
}

/***************/


/* Product Tabs */
section.s-block--tabs-produtcs .tab-trigger {
  border-radius: 99px;
  border-color: #E4DFE7;
}

section.s-block--tabs-produtcs .tab-trigger.is-active {
  color: #fff;
}

section.s-block--tabs-produtcs {
  background-color: transparent;
}
/***************/


/* Products Section */
.s-slider-block__title {
  max-width: 1400px;
}

.s-slider-block__title-left .s-slider-block__title-nav {
  display: none !important;
}

@media(min-width: 768px) {
  .s-slider-block__title h2, .s-block__title h2 {
    font-size: 22px;
  }
}

.s-slider-block__title h2, .s-block__title h2 {
    color: #481861;
    position: relative;
    display: inline-block;
    padding-bottom: 5px;
}

.s-slider-block__title h2::after, .s-block__title h2::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: -11px;
    width: 105%;
    height: 10px;
    transform: translateX(-50%);
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 220 12' preserveAspectRatio='none'%3E%3Cpath d='M3 7.2 C18 5.8 27 8.1 40 6.8 C53 5.4 62 7.5 75 6.4 C88 5.3 96 7.7 109 6.2 C123 4.7 132 7.4 145 6.1 C158 4.8 168 7.2 181 5.9 C193 4.8 204 7.2 217 5.5' fill='none' stroke='%23F58BBD' stroke-width='3.2' stroke-linecap='round'/%3E%3Cpath d='M8 9 C25 7.8 34 9.2 48 8 C62 6.8 72 9 87 7.8 C102 6.7 112 9 126 7.7 C141 6.4 151 8.7 166 7.4 C180 6.2 191 8.6 211 7' fill='none' stroke='%23F58BBD' stroke-width='1.2' stroke-linecap='round' opacity='.55'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    background-position: center;
    pointer-events: none;
}

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

.s-product-card-fit-height.s-product-card-vertical .s-product-card-image {
  background-color: #fff;
}

.s-product-card-content {
  background-color: #fff;
  border-radius: .75rem;
}

.s-product-card-content-title {
  overflow: hidden;
   display: -webkit-box;
   -webkit-line-clamp: 2; /* number of lines to show */
           line-clamp: 2; 
   -webkit-box-orient: vertical;
}

.s-product-card-content-title a {
  color: #322F35;
  font-weight: 400;
}

.s-product-card-price, .s-product-card-sale-price h4 {
  color: #481861 !important;
  font-size: 22px;
}

.s-product-card-sale-price span {
  color: #656168;
  font-size: 14px;
}

.s-button-wide {
    background-color: #481861;
    color: #fff;
    border-radius: 99px;
}

.s-product-card-vertical img {
  transition: .5s;
  aspect-ratio: 1 / 1;
}

.s-product-card-vertical:hover img {
  opacity : .9;
  transform : translateY(10px);
  transform : scale(1.1);
}

.s-product-card-vertical {
  border: 1px solid #E4DFE7;
}

/* Discount Badge */
.s-product-card-entry {
    position: relative;
}

.s-product-card-entry .custom-discount-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    z-index: 10;

    background: #FE71A1;
    color: #481861;

    padding: 5px 9px;
    border-radius: 5px;

    font-size: 11px;
    font-weight: 600;
    line-height: 1;

    direction: rtl;
}

/* Discount Saving Text */
.s-product-card-entry .custom-discount-saving {
    display: block;

    margin-top: 2px;

    color: #8b5e34;
    font-size: 11px;
    font-weight: 500;

    direction: rtl;
}
/* End of Products Section */


/* Footer */
.footer-is-light .store-footer {
  background-color: #F3F0F5;
}

footer > div.store-footer__inner {
  background-color: transparent !important;
}

.store-footer__inner .container.grid>div:nth-of-type(1) h3 {
    display: none;
}

footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a::after {
    content: "";
    display: block;
    width: 156px;
    height: 50px;
    background-image: url(https://cdn.files.salla.network/theme/1527035619/989eabad-0892-4f56-b03c-aaf3b8286952-original.webp);
    background-size: cover;
}

footer > div.store-footer__inner > div > div.lg\:col-span-2.rtl\:lg\:pl-20.ltr\:lg\:pr-20 > a {
  padding-bottom: 10px;
}

@media (min-width: 992px) {
    footer.store-footer .container.grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
        justify-items: center;
    }
}

.store-footer__inner .container.grid>div p {
    margin: 10px auto;
}

@media (min-width: 1024px) {
    .store-footer__inner {
        padding-bottom: 1rem;
    }
}

.store-footer__inner .container.grid>div:nth-of-type(1) {
    padding-left: 0;
    grid-column: span 1 / span 2;
}
/* End of Footer */