@import url("https://fonts.googleapis.com/css2?family=Cairo:wght@200..1000&display=swap");

:root {
  --footer-bg: #1a0508;
  --footer-text-color: white;
  --second-footer-bg: #1a0508;
  --second-footer-text: white;
  --store-feature-bg: #f9fafb;
  --store-feature-border: white;
  --store-feature-text: #231f1eb2;
  --store-feature-text-size: 16px;
  --store-feature-title: #5a111d;
  --store-feature-title-size: 42px;
  --store-feature-icon-bg: #5a111d1a;
  --store-feature-icon-color: #5a111d;
  --store-feature-icon-size: 24px;
  --add-to-cart-bg: #ffffff;
  --add-to-cart-text: #5a111d;
  --header-categories-bg: white;
  --hedaer-categories-text: black;
  --footer-logo-max-size: 200px;
  --footer-logo-size: 120px;
  --display-all-btn: black;
  --display-all-btn-bg: #f3f4f6;
  --product-card-border: white;
  --section-titles-header: 28px;
  --navbar-brand-img-max-height: 7rem;
  --body-bg: #f9fafb;
}

body {
  font-family: "Cairo", sans-serif;
  background-color: var(--body-bg) !important;
}

.sub-menu li,
.sub-menu a,
.sub-menu a span {
  color: black !important;
}

.s-block--testimonials {
  padding-bottom: 20px !important;
}

.navbar-brand {
  transition: transform 0.35s cubic-bezier(0.22, 0.61, 0.36, 1);
  will-change: transform;
}

.navbar-brand img {
  max-height: var(--navbar-brand-img-max-height) !important;
}

.s-block--fixed-banner:nth-child(2) {
  margin: 0 !important;
}
.s-block--fixed-banner:nth-child(2) .container {
  max-width: 100% !important;
  padding: 0 !important;
}
.s-block--fixed-banner:nth-child(2) img {
  border-radius: 0 !important;
}
/* Search in Center Start */
.header-search {
  padding: 12px;
  order: -1;
  display: flex;
  align-items: center;
  width: 100%;
}
salla-search {
  width: 100%;
}

@media (max-width: 768px) {
  .header-search {
    order: 2 !important;
  }
}

.main-nav-container .inner .container > div:first-child {
  flex-wrap: wrap !important;
}

.main-nav-container .inner .container > div:first-child > div:first-child {
  order: -1;
}
/* .top-navbar {
  display: none !important;
} */
.main-menu {
  justify-content: center !important;
}
/* Search in Center End*/

/* Catirors More Than 4 Start */
.banner-entry.square-photos {
  background-color: transparent !important;
}

.s-block.s-block--photos-slider .swiper-slide {
  flex-basis: 100% !important;
  max-width: 100% !important;
  margin: 0 !important;
  padding: 0 !important;
}
.s-block--photos-slider .s-slider-container {
  margin: 0 !important;
  padding: 0 !important;
}
/* Catirors More Than 4 End */

/* Add To Sall Button Start */
.s-product-card-content-footer button {
  background-color: var(--add-to-cart-bg) !important;
  color: var(--add-to-cart-text) !important;
}
/* Add To Sall Button End*/

/* Hedaer Cateroreis Start */
#mobile-menu {
  background-color: var(--header-categories-bg) !important;
  color: var(--hedaer-categories-text) !important;
}
/* Hedaer Cateroreis End */

/* Footer Logo Start */
.copied-image-container {
  max-width: var(--footer-logo-max-size);
}
.copied-img {
  object-fit: cover;
  width: var(--footer-logo-size);
}
.store-footer__inner .container > div:first-child {
  display: flex !important;
  flex-direction: column !important;
}
.store-footer__inner .container > div:first-child .copied-image-container {
  order: -1 !important;
  padding-bottom: 10px;
}
.store-footer__inner .container > div:first-child > a:first-child {
  display: none !important;
}

.banner--fixed img {
  background-color: white !important;
}
.s-slider-block__display-all {
  color: var(--display-all-btn) !important;
  background-color: var(--display-all-btn-bg) !important;
  padding: 15px;
}

.store-footer__inner .container > div:first-child {
  display: flex !important;
  flex-direction: column !important;
}
.store-footer__inner .container > div:first-child .copied-img {
  order: -1 !important;
}
.box-shadow {
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.15);
}

.store-footer,
.store-footer p,
.store-footer h3,
.store-footer a {
  color: var(--footer-text-color) !important;
}

/* IF Footer Have Banner  */
.store-footer {
  margin: 0 !important;
}

.sub-menu a span {
  color: black !important;
}

.s-products-slider-card {
  border: 1px solid var(--product-card-border);
  border-radius: 12px;
  margin-inline: 5px;
}

.s-slider-block__title-right h2 {
  font-size: 35px !important;
  /* text-align: center; */
}
/* .s-slider-block__title-left {
  display: none !important;
} */

.s-slider-block__title-right {
  padding: 0 !important;
  position: relative !important;
  /* margin-left: auto; */
  /* margin-right: auto; */
}
.s-slider-block__title-right h2 {
  padding: 0 !important;
}

.s-reviews-header {
  padding: 0 !important;
  position: relative !important;
  margin-left: auto;
  margin-right: auto;
}
.s-reviews-header h2 {
  padding: 0 !important;
  text-align: center;
}

.feature-title,
.s-block--banners .s-block__title .right-side {
  position: relative;
}

.s-slider-block__title-right h2,
.s-reviews-header,
.s-block--banners .s-block__title .right-side h2 {
  font-size: var(--section-titles-header) !important;
}
.s-block--banners .s-block__title .right-side {
  margin-left: auto;
  margin-right: auto;
  text-align: center;
}
.s-reviews-swiper-slide {
  box-shadow: 1px 3px 4px #32326926;
  margin-block: 5px;
}
.s-block--categories .swiper-slide a {
  border: none !important;
}
.s-block--categories .swiper-slide img {
  width: 12rem;
  height: 12rem;
}
.s-block--categories .swiper-wrapper {
  padding: 3rem;
}
.s-block--features__item {
  justify-content: center !important;
  gap: 10px;
  align-items: center !important;
}
.s-block--banners .grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr) !important;
}
.s-block--banners .right-side {
  padding: 0 !important;
}

html[lang="en"] .s-block--banners .s-block__title .right-side::after {
  left: 50% !important;
}

.slide--cat-entry {
  background-color: black !important;
  box-shadow: 1px 3px 4px #32326926 !important;
}

.s-fast-checkout-button,
.s-fast-checkout-button.outline {
  color: #6d702a !important;
  border: 1px solid #6d702a !important;
}

/* Feature Start */
.s-block--features {
  background-color: white !important;
}

.s-block--features__item {
  padding: 40px;
  display: flex !important;
  border-radius: 15px;
  flex-direction: column !important;
  background-color: var(--store-feature-bg) !important;
  border: 1px solid var(--store-feature-border) !important;
  box-shadow: 1px 3px 4px #0000001a;
}

.s-block--features__item p {
  text-align: center;
  color: var(--store-feature-text) !important;
  font-size: var(--store-feature-text-size);
}
.s-block--features__item h2 {
  font-size: var(--store-feature-title-size);
  text-align: center;
  color: var(--store-feature-title) !important;
}

.s-block--features__item .feature-icon {
  padding: 12px;
  border-radius: 50%;
  background-color: var(--store-feature-icon-bg) !important;
  color: var(--store-feature-icon-color) !important;
}
.s-block--features__item .feature-icon i {
  background-color: var(--store-feature-icon-bg) !important;
  color: var(--store-feature-icon-color) !important;
  font-size: var(--store-feature-icon-size);
  font-weight: 600;
}
/* Feature End */

/* Footer Start */
.store-footer {
  margin-top: 25px !important;
}

.store-footer__inner .container > div:first-child > div:first-of-type {
  display: none !important;
}
.store-footer__inner {
  background: var(--footer-bg) !important;
}
.s-block--fixed-banner:first-child .container {
  max-width: 100%;
}

.store-footer > div:nth-child(2) {
  background: var(--second-footer-bg) !important;
  color: var(--second-footer-text) !important;
  max-width: 100% !important;
}

.store-footer > div:nth-child(2) p {
  color: var(--second-footer-text) !important;
}
/* Footer End */
.s-block--photos-slider {
  margin-top: 0 !important;
}
.slide--cat-entry {
  background-color: transparent !important;
  box-shadow: none !important;
}
.slide--cat-entry img {
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
}
.slide--cat-entry h2 {
  display: none !important;
}
@media (min-width: 768px) {
  .s-block--categories .swiper-wrapper {
    justify-content: center !important;
  }
  salla-slider .slide--one-sixth {
    width: 30% !important;
  }
  .s-block--categories .swiper-slide a {
    height: 24rem !important;
  }
}
.s-block--categories .s-slider-block__title-right {
  margin-inline: auto !important;
}
.s-block--categories .s-slider-block__title-left {
  display: none !important;
}
.s-block--features__item .feature-icon i {
  background: none !important;
}
.s-block--testimonials{
  padding: 20px !important;
  background-color: #F9FAFB !important;
}
@media (min-width: 768px) {
  .s-block--features{
    padding: 40px !important;
    max-width: 100% !important;
    width: 100% !important;
  }
}
.s-reviews-container .swiper-slide{
  padding-inline:0 !important;
  margin-inline: 10px !important;
  background-color: white !important;
  border-radius: 12px !important;
}

/* new code  */

 
.s-reviews-testimonial {
  background: #fff;
  border: 1px solid #ececec;
  border-radius: 16px;
  padding: 22px 24px;
  box-shadow: 0 1px 2px rgba(16, 24, 40, .04);
  height: 100%;
  box-sizing: border-box;
}
 
.s-reviews-testimonial__inner {
  display: grid;
  grid-template-columns: 48px 1fr;
  grid-template-areas:
    "avatar info"
    "stars  stars"
    "text   text";
  column-gap: 12px;
  row-gap: 10px;
}
 
/* hide the decorative quote icon — not part of the target design */
.s-reviews-testimonial__icon {
  display: none;
}
 
/* ---------- avatar -> solid colored circle with initial ---------- */
.s-reviews-testimonial__avatar {
  grid-area: avatar;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: #6d1f3f; /* wine/maroon to match the star color */
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
 
.s-reviews-testimonial__avatar img {
  display: none; /* the real photo isn't used in this design, JS injects the initial instead */
}
 
.s-reviews-testimonial__avatar .testimonial-avatar-initial {
  color: #fff;
  font-weight: 700;
  font-size: 18px;
  line-height: 1;
}
 
/* ---------- lift nested children up into the grid ---------- */
/* .text contains <p> and .name_wrapper as DOM children even though
   visually the paragraph must come LAST and the name/rating FIRST —
   display:contents removes .text's own box so its children become
   direct grid items of .inner and can be placed by grid-area. */
.s-reviews-testimonial__text {
  display: contents;
}
 
.s-reviews-testimonial__text > p {
  grid-area: text;
  margin: 0;
  font-size: 14px;
  line-height: 1.85;
  color: #4b5563;
  text-align: right;
}
 
/* same trick for .name_wrapper -> lifts .info and .rating up */
.s-reviews-testimonial__name_wrapper {
  display: contents;
}
 
.s-reviews-testimonial__info {
  grid-area: info;
  align-self: center;
}
 
.s-reviews-testimonial__info h2 {
  margin: 0 0 2px;
  font-size: 15px;
  font-weight: 700;
  color: #111827;
}
 
/* only rendered by JS if real review-date data exists — see .js file */
.testimonial-review-date {
  display: block;
  font-size: 12.5px;
  color: #9ca3af;
  font-weight: 400;
}
 
.s-reviews-testimonial__rating {
  grid-area: stars;
  margin: 0;
}
 
.s-reviews-testimonial__rating .s-rating-stars-wrapper {
  display: flex;
  gap: 2px;
}
 
.s-reviews-testimonial__rating svg {
  fill: #6d1f3f !important;
  width: 15px;
  height: 15px;
}

@media(max-width:768px){
  .s-block--categories .swiper-wrapper{
    padding: 0 !important;
  }
  .s-block--categories .swiper-slide a{
    height: 14rem !important;
  }
}
.s-offer-wrapper{
      border: 1px solid lightgray;
    margin-block: 20px;
    background: transparent;
    box-shadow: 1px 1px 1px lightgray;
}
.s-advertisement{
  background-color: #5A111D !important;
}
#viewed-section{
  display: none !important;
}
@media(max-width:480px){
  .s-reviews-testimonial__text > p{
   max-width: 255px; 
  }
}