.animated-logo {
transition: all 0.3s ease;
animation: logoFloat 3s ease-in-out infinite;
}

.animated-logo:hover {
transform: scale(1.1) rotate(5deg);
filter: brightness(1.2);
}

@keyframes logoFloat {
0%, 100% { transform: translateY(0px); }
50% { transform: translateY(-5px); }
}

/* Styles pour les liens de navigation */
.nav-link {
position: relative;
display: inline-block;
padding: 10px 15px;
color: #333;
text-decoration: none;
transition: all 0.3s ease;
overflow: hidden;
}

.nav-link::before {
content: '';
position: absolute;
bottom: 0;
left: 50%;
width: 0;
height: 3px;
background: linear-gradient(90deg, #f9c56a, #f7931e);
transition: all 0.4s ease;
transform: translateX(-50%);
}

.nav-link:hover::before,
.nav-link.active::before {
width: 80%;
}

.nav-link:hover {
color: #f9c56a;
transform: translateY(-2px);
text-shadow: 0 2px 8px rgba(255, 107, 53, 0.3);
}

.nav-link.active {
color: #f9c56a;
font-weight: 600;
}

/* Animation d'apparition des éléments de menu */
.nav-item {
opacity: 0;
transform: translateY(-10px);
animation: slideInDown 0.6s ease forwards;
z-index: 200;
}

.nav-item:nth-child(1) { animation-delay: 0.1s; }
.nav-item:nth-child(2) { animation-delay: 0.2s; }
.nav-item:nth-child(3) { animation-delay: 0.3s; }
.nav-item:nth-child(4) { animation-delay: 0.4s; }
.nav-item:nth-child(5) { animation-delay: 0.5s; }
.nav-item:nth-child(6) { animation-delay: 0.6s; }
.nav-item:nth-child(7) { animation-delay: 0.7s; }

@keyframes slideInDown {
to {
    opacity: 1;
    transform: translateY(0);
}
}

/* Animation du panier */
.cart-icon {
position: relative;
transition: all 0.3s ease;
}

.cart-icon:hover {
transform: scale(1.1);
color: #f9c56a;
}

.cart-number {
background: linear-gradient(135deg, #f9c56a, #f7931e);
color: white;
border-radius: 50%;
font-size: 12px;
position: absolute;
top: -20px;
right: -8px;
animation: pulse 2s infinite;
}

@keyframes pulse {
0% { transform: scale(1); }
50% { transform: scale(1.1); }
100% { transform: scale(1); }
}

/* Animation du dropdown */
.dropdown-menu {
opacity: 0;
transform: translateY(-10px);
transition: all 0.3s ease;
border: none;
box-shadow: 0 10px 30px rgba(0,0,0,0.1);
border-radius: 8px;
}

.dropdown.open .dropdown-menu {
opacity: 1;
transform: translateY(0);
}

/* Animation des éléments du panier */
.cart-item {
transition: all 0.3s ease;
border-bottom: 1px solid #f0f0f0;
padding: 10px;
}

.cart-item:hover {
transform: translateX(5px);
}

.ci-close {
transition: all 0.3s ease;
cursor: pointer;
}

.ci-close:hover {
color: #f9c56a;
transform: scale(1.2);
}

/* Bouton animé */
.btn-animated {
position: relative;
overflow: hidden;
transition: all 0.3s ease;
}

.btn-animated::before {
content: '';
position: absolute;
top: 0;
left: -100%;
width: 100%;
height: 100%;
background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
transition: left 0.5s;
}

.btn-animated:hover::before {
left: 100%;
}

.btn-animated:hover {
transform: translateY(-2px);
box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-link {
        padding: 8px 12px;
    }
}
.animated-logo {
    animation: none;
}
.home {
    position: relative;
    height: 60vh;
    width: 100%;
    background-size: cover;
    margin-top: 40px;
    animation: slideShow 15s infinite; /* 3 ../images/bgs × 5s */
}
.max8xl {
  max-width: 95rem;
}
@keyframes slideShow {
    0%, 33% {
        background: url('../images/bg1.jpg') no-repeat center center;
        background-size: cover;
    }
    34%, 66% {
        background: url('../images/bg4.jpg') no-repeat center center;
        background-size: cover;
    }
    67%, 100% {
        background: url('../images/bg3.jpg') no-repeat center center;
        background-size: cover;
    }
}

.menub {
    padding: 13px 0 10px 0px;
}
.menu22{
  color: #222;
  font-family: "Josefin Sans", sans-serif;
  transition: all 0.5s ease
}

/* Style pour le sous-menu dashboard */
.dashboard-submenu {
  background-color: white;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  z-index: 0 !important;
  padding: 10px 0;
  border-top: 1px solid #eee;
}
.dashboard-menu {
  background-color: #f9c56a;
}

.dashboard-menu-list {
  display: flex;
  list-style: none;
  padding: 0;
  margin: 0;
  justify-content: center;
  align-items: center;
}

.dashboard-menu-list li a {
  color: #222;
  padding: 10px 20px;
  font-family: "Josefin Sans", sans-serif;
  transition: all 0.5s ease
}

.dashboard-menu-list li a:hover,
.dashboard-menu-list li a.active {
  background-color: #f2ba57;
  color: #000;
}

/* Quand le dashboard est actif, la navbar n'est plus fixe */
.navbar.dashboard-active {
  position: static;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.navbar.dashboard-active .nav-link.active {
  color: #f9c56a;
  font-weight: bold;
}

/* Ajoutez un padding au body quand la navbar n'est pas fixe */
body.dashboard-active {
  padding-top: 0;
}

.has-submenu {
  position: relative;
}

.submenu {
  display: none;
  position: absolute;
  top: 20px;
  background: white;
  min-width: 200px;
  box-shadow: 0 2px 5px rgba(0,0,0,0.2);
  z-index: 200;
}

.has-submenu:hover .submenu {
  display: block;
}

.submenu li {
  padding: 0px;
}

.submenu a {
  display: block;
  color: #333;
  text-decoration: none;
}

.submenu a:hover {
  background: #f5f5f5;
}

@media (min-width: 1024px) {
  .container {
      max-width: 1084px !important;
  }
}
.textnormal {
  font-size: 1.325rem;
  font-family: "Josefin Sans", sans-serif;
}
.textnormal2 {
  font-size: 1.525rem;
  font-family: "Josefin Sans", sans-serif;
}
.body{
  font-family: "Josefin Sans", sans-serif;
  font-size: 16px;
}
.pagination>.active>a, .pagination>.active>span, .pagination>.active>a:hover, .pagination>.active>span:hover, .pagination>.active>a:focus, .pagination>.active>span:focus
{
    z-index: 2;
    color: #fff;
    cursor: default;
    background-color: #f9c56a;
    border-color: #f9c56a;
}
audio, canvas, embed, iframe, img, object, svg, video {
  display: inline !important;
  vertical-align: middle;
}
.navbar-brand {
  height: 80px !important;
}

/* Steps Progress */
.steps-progress {
  width: 100%;
  margin-bottom: 30px;
}

.steps {
  display: flex;
  justify-content: space-between;
  position: relative;
}

.steps::before {
  content: '';
  position: absolute;
  top: 15px;
  left: 0;
  right: 0;
  height: 2px;
  background: #e0e0e0;
  z-index: 1;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 2;
}

.step.disabled {
  opacity: 0.5;
}

.step-number {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #e0e0e0;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 8px;
  font-weight: bold;
}

.step.active .step-number {
  background: #4CAF50;
}

.step-label {
  font-size: 14px;
  color: #666;
}

.step.active .step-label {
  color: #4CAF50;
  font-weight: bold;
}

/* Styles pour les évaluations */
.product-reviews {
  margin-top: 20px;
}

.single-review {
  padding: 15px;
  border-bottom: 1px solid #eee;
}

.review-heading {
  margin-bottom: 10px;
}

.review-rating {
  display: inline-block;
}

.review-rating .fa-star {
  color: #ffc107;
  font-size: 16px;
}

.review-rating .fa-star:not(.active) {
  color: #ddd;
}

.review-body {
  color: #555;
}

/* Styles pour le formulaire d'avis */
.rating-input {
  display: flex;
  margin: 10px 0;
  flex-direction: row-reverse;
  justify-content: flex-end;
}

.rating-input input[type="radio"] {
  display: none;
}

.rating-input label {
  font-size: 24px;
  color: #ddd;
  cursor: pointer;
  margin-right: 5px;
  transition: color 0.2s;
}

.rating-input input[type="radio"]:checked ~ label,
.rating-input label:hover,
.rating-input label:hover ~ label {
  color: #ffc107;
}

.rating-input input[type="radio"]:checked + label {
  color: #ffc107;
}

.review-form .form-group {
  margin-bottom: 15px;
}

.review-form textarea {
  resize: vertical;
  min-height: 100px;
}
.form-control {
  font-size: 17px;
}
