.coffee-menu {
  width: 100%;
  background: #f5f2e9;
  border-radius: 50px;

  display: flex;
  align-items: center;
  justify-content: space-around;

  direction: rtl;
  padding: 16px 20px;
  box-sizing: border-box;
}

.coffee-menu a {
  flex: 1;
  text-align: center;
  text-decoration: none;

  color: #111;

  font-family: "Kufyan Arabic", sans-serif;
  font-size: 14px;
  font-weight: 700;

  white-space: nowrap;
  transition: 0.3s;
}

.coffee-menu a:hover,
.coffee-menu a.active {
  color: #d71920;
}


/* =========================
   تصميم الجوال
========================= */

@media (max-width: 600px) {

  .coffee-menu {
    width: calc(100% - 24px);
    margin: 0 auto;

    padding: 8px 10px;

    border-radius: 30px;

    justify-content: flex-start;
    gap: 5px;

    overflow-x: auto;
    scroll-behavior: smooth;

    -webkit-overflow-scrolling: touch;

    /* إخفاء شريط التمرير */
    scrollbar-width: none;
  }

  .coffee-menu::-webkit-scrollbar {
    display: none;
  }

  .coffee-menu a {
    flex: 0 0 auto;

    font-family: "Kufyan Arabic", sans-serif;
    font-size: 13px;
    font-weight: 700;

    padding: 10px 14px;

    white-space: nowrap;
    border-radius: 20px;
  }

  .coffee-menu a.active {
    color: #d71920;
    background: #ffffff;
  }
}
/* جسم كرت المنتج */
.s-product-card-entry {
    background: #f6f6f2 !important;
    border-radius: 14px !important;
    overflow: hidden !important;
}

/* منطقة صورة المنتج تبقى بيضاء */
.s-product-card-image,
.s-product-card-image img,
.s-product-card-image a {
    background: #ffffff !important;
}

/* الجزء اللي تحت الصورة */
.s-product-card-content {
    background: #f6f6f2 !important;
}
.s-slider-block__title h2 {
    position: relative;
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}
.s-block__title h2 {
    position: relative;
    font-size: 1.5rem;
    line-height: 1.75rem;
    font-weight: 700;
    line-height: 1.2;
}
.products-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 25px;
  direction: rtl;
}

.product-item {
  width: 250px;
  text-align: center;
  background: #fff;
  padding: 20px 15px 10px;
  border-radius: 12px;
}

.product-item img {
  width: 100%;
  height: 180px;
  object-fit: contain;
  display: block;
}

.product-line {
  width: 100%;
  height: 4px;
  background-color: #e51b23;
  margin: 10px 0 8px;
  border-radius: 10px;
}

.product-item h3 {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  color: #000;
}
@media (max-width: 768px) {
  .products-row {
    gap: 8px;
  }

  .product-item {
    width: 33.33%;
    padding: 10px 5px;
  }

  .product-item img {
    height: 100px;
  }

  .product-item h3 {
    font-size: 12px;
  }

  .product-line {
    height: 3px;
    width: 95%;
  }
}

/* wave hero */

.hero-wave-divider {
  width: 100% !important;
  height: 200px !important;
  pointer-events: none !important;
  z-index: 99 !important;
  position: relative !important;
  margin-top: -20px !important;
  line-height: 0 !important;
  /*background: #0E0606;*/
}

.hero-wave-divider svg {
  width: 100% !important;
  height: 100% !important;
  display: #0E0606 !important;
}


#fullscreen-banner-0 {
  background: #0E0606;
}
#fullscreen-banner-0 .swiper-slide-visible {
  max-height: 60vh;
}
#app #fullscreen-banner-0 .bg__image {
  max-height: 60vh;
  position: relative !important;
  direction: ltr
}

.s-block-fullscreen-banners .bg__image img.my-lazy {
  transition: .2s all !important;
  transform: scale(1) !important;
  max-height: 60vh !important;
  width: max-content;
  left: 0;
}

#fullscreen-banner-0 .floating-wrapper {
  position: absolute;
  left: auto !important;
  right: 5% !important; /* Ajustez ce pourcentage selon l'espace souhaité par rapport au bord droit */
  top: 5% !important;  /* Ajustez ce pourcentage pour le rapprocher du haut */
  transform: none !important;
  height: auto;
  width: 100%;
  max-width: 90vw;
  max-height: 80vh;
  margin: auto;
  text-align: right !important;
}
#fullscreen-banner-0 .floating-wrapper .floating_text {
  width: 100%;
}


.store-story__description {
  color: #000 !important;
}


/* */
/* Force l'affichage côte à côte et annule le flex-col sur les petits écrans */
  .store-story__inner {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
  }
  /* Optionnel : gère le sens d'affichage selon la langue (LTR / RTL) */
  .store-story__inner:not([dir="ltr"]) {
    flex-direction: row-reverse !important;
    padding: 0 !important;
  }
  /* Ajuste les largeurs des colonnes pour qu'elles restent proportionnelles sur mobile */
  .store-story__inner .store-story__media-col {
    width: 45% !important;
    flex: 0 0 45% !important;
  }
.store-story__inner .store-story__media-col img {
  border-radius: 0 !important;
}
  .store-story__inner .store-story__content-col {
    width: 45% !important;
    flex: 0 0 45% !important;
  }

.store-story.store-story--block {
  background: black !important;
  padding: 10px 0 !important;
}

.store-story.store-story--block .store-story__title {
  color: white !important;
}

.store-story.store-story--block .store-story__description {
  color: white !important;
}


/* les blocks par js */
/* Correction pour la balise mal fermée <dv> si elle sert de conteneur */
.raouadev {
    width: 100%;
    overflow: hidden;
}

/* Forcer l'affichage des 3 blocs sur la même ligne */
.raouadev .mood-grid {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    gap: 4px !important;
    width: 100%;
}

/* Rétrécir les cartes pour qu'elles tiennent toutes dans la largeur de l'écran */
.raouadev .mood-card {
    flex: 1 1 0 !important;
    min-width: 0 !important;
    padding: 7px 4px !important;
    box-sizing: border-box !important;
}

/* Optionnel : cacher les motifs si l'espace est trop restreint */
.raouadev .pattern-box {
    display: none !important;
}


.product-single .swiper-autoheight .swiper-wrapper {
  background: url('https://i.ibb.co/84L5vgV2/Identity-Stage.png') !important;
  background-position: center center !important;
  background-repeat: no-repeat !important;
  object-fit: cover !important;
}

.main-content.prod-main-content {
  box-shadow:
  12px -4px 8px -3px rgba(0, 0, 0, 0.04);
  padding: 15px !important;
  border-radius: 15px !important;
  box-shadow: 4px -9px 48px 0px rgba(89,82,82,0.6);
-webkit-box-shadow: 4px -9px 48px 0px rgba(89,82,82,0.6);
-moz-box-shadow: 4px -9px 48px 0px rgba(89,82,82,0.6);
}


body.pc-title-two-line custom-salla-product-card.product-block .title,
body.p-sub-last custom-salla-product-card .product-title p.product-subtitle
{
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
    overflow: hidden;
    line-height: 1.5;
    min-height: 3em;
}
/* */

#fullscreen-banner-0::before  {
    content: "";
    color: white;
    display: block;
    width: 100%;
    height: 10px;
    background: black url('https://i.ibb.co/KpHd20NV/Identity-Stripe.png');
    background-position: top right;
}

  /* Réduit légèrement la taille du texte sur mobile pour éviter que ça ne déborde */
  @media (max-width: 768px) {
    .store-story__title {
      font-size: 1.15rem !important;
    }
    .store-story__description {
      font-size: 0.8rem !important;
    }

/* Réduire la taille du texte pour éviter le débordement sur smartphone */
.raouadev .mood-card h3 {
    font-size: 11px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 4px 0 !important;
}

.raouadev .mood-card p {
    font-size: 9px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 0 !important;
}

.raouadev .card-number {
    font-size: 10px !important;
}

  }
/* */

@media screen and (max-width: 768px) {
  #fullscreen-banner-0 .floating-wrapper {
  position: absolute;
  left: auto !important;
  right: 5% !important;
  top: 55% !important;
  transform: none !important;
  height: auto;
  width: 100%;
  max-width: 90vw;
  max-height: 80vh;
  margin: auto;
  text-align: right !important;
}
  .s-slider-block__title {
  
  padding-top: 15px;
}
  .hero-wave-divider {
  height: 90px !important;
}
  #fullscreen-banner-0 .floating-wrapper .floating_text .title {
  font-size: 1.2rem
}

  section.s-block:nth-child(6),
.store-story.store-story--block
{
  margin: 0 !important;
}
section.s-block.s-block--one-wide-banner .container {
  min-width: 100% !important;
  padding: 0 !important;
}
section.s-block.s-block--one-wide-banner img {
  border-radius: 0 !important;
}
 .mood-card {
    width: 100%;
    height: 120px;
  }
  .arrow-icon {
  border: none !important;
}
}

/* ANIMATIONS */
.raouadev .mood-card:hover,
#app.product-card-bg-on custom-salla-product-card img:hover,
#app.product-card-bg-on custom-salla-product-card:hover
{
  animation: scaleRotateReset 2s ease-in-out !important;
  animation-fill-mode: forwards;
}

.raouadev .pattern-box {
  display: block !important;
}

@keyframes scaleRotateReset {
  0% {
    transform: scale(1) rotate(0deg);
  }
  30% {
    transform: scale(1.05) rotate(0deg);
  }
  60% {
    transform: scale(1.05) rotate(2deg);
  }
  100% {
    transform: scale(1) rotate(-2deg);
  }
}

@media screen and (min-width: 767px) {
  

.raouadev .mood-grid {
  display: grid !important;
  grid-template-columns: repeat(2, 45%);
  justify-content: space-around;
  max-width: 680px;
  margin: auto
}
}
@media screen and (max-width: 767px) {
  
  .raouadev .mood-grid {
    display: grid !important;
    grid-template-columns: repeat(2, 45%)
  }
  .pattern-box {
    margin-top: 1px !important;
  }
  .raouadev .mood-card h3 {
    font-size: 15px !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin: 4px 0 !important;
  }
  .card-content {
    margin-bottom: 5px !important;
  }
}
.raouadev .card-number {
  display: none !important;
}
.raouadevSection {
  margin-top: 10px
}