/*
 * تنسيقات مخصصة لقسم العروض.
 * هذا الملف يتم تضمينه بواسطة ملف الإضافة الرئيسي.
 */
.section-promo-personnalise {
  position: relative;
  z-index: 1;
}
.conteneur-promo {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}
.grille-cartes {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}
.carte-promo {
  background: #fff;
  border-radius: 15px;
  overflow: hidden;
  min-height: 400px;
}
.carte-promo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.carte-texte {
  background: #fff;
  border-radius: 15px;
  padding: 30px;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(74, 144, 226, 0.15) !important;
  box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1) !important;
  transition: all 0.4s ease;
}
.carte-texte h3 {
  color: #318ea1;
  font-size: 24px;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}
.carte-texte p {
  color: #25aec0;
  margin-bottom: 25px;
  line-height: 1.6;
  position: relative;
  z-index: 2;
}
.carte-texte a {
  display: inline-block;
  background: #25aec0;
  color: #ffff;
  padding: 12px 35px;
  border-radius: 30px;
  text-decoration: none;
  font-weight: bold;
  transition: 0.3s;
  position: relative;
  z-index: 2;
}
.wave-glow {
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: repeating-linear-gradient(45deg, rgba(74, 144, 226, 0.08) 0%, rgba(74, 144, 226, 0.15) 5%, transparent 10%, transparent 15%);
  animation: wave-drift 24s infinite linear;
  opacity: 0.6;
  mix-blend-mode: screen;
  pointer-events: none;
}
@keyframes wave-drift {
  0% { transform: translate(0%, 0%) rotate(0deg); }
  25% { transform: translate(25%, 15%) rotate(8deg); }
  50% { transform: translate(-15%, 20%) rotate(-5deg); }
  75% { transform: translate(10%, -10%) rotate(3deg); }
  100% { transform: translate(0%, 0%) rotate(0deg); }
}
.carte-texte:hover .wave-glow {
  animation-duration: 18s;
  opacity: 0.8;
}
.carte-texte:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(74, 144, 226, 0.2) !important;
}
@media (max-width: 768px) {
  .grille-cartes {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
  }
  .carte-promo,
  .carte-texte {
    flex: 0 0 85% !important;
    margin-right: 15px !important;
    scroll-snap-align: start;
  }
  .section-promo-personnalise {
    padding: 15px 0 !important;
  }
}
@media (min-width: 1024px) {
  .conteneur-promo {
    max-width: 100% !important;
    padding: 20px !important;
  }
  .grille-cartes {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)) !important;
    padding: 0 20px !important;
  }
}
@media (min-width: 1024px) and (max-height: 600px) {
  .grille-cartes {
    grid-template-columns: none !important;
    display: flex !important;
    overflow-x: auto !important;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    padding: 0 20px !important;
  }
  .carte-promo,
  .carte-texte {
    flex: 0 0 60% !important;
    margin-right: 15px !important;
    scroll-snap-align: start;
  }
}
a[href="https://routsi.ma/product-category/paquets/"]:hover {
  background: #318ea1 !important;
  transform: translateY(-2px);
}

