/**
 * Footer simplifié pour le panier/checkout
 * Background: #003d60
 * Layout: Copyright et liens sur la même ligne
 */

.checkout-footer-simple {
  background-color: #003d60;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding: 20px 0;
  margin-top: 50px;
}

.checkout-footer-simple .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  max-width: 100%;
  padding: 0 60px;
}

/* Section copyright à gauche */
.footer-copyright {
  font-family: Poppins, Sans-serif;
  text-transform: uppercase;
  color: #ffffff;
  font-size: 12px;
  margin: 0;
}

.footer-copyright p {
  margin: 0;
    color: #fff;
  opacity: 0.9;
}

/* Section liens légaux à droite */
.footer-legal-links {
    font-family: Poppins, Sans-serif;
  flex: 1;
  display: flex;
  justify-content: flex-end;
}

.legal-links-list li a:hover {
    color: #2B8FF2 !important;
}

.legal-links-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 5px 15px;
}

.legal-links-list li {
  display: inline-block;
}

.legal-links-list li a {
  color: #ffffff;
  text-decoration: none;
  font-size: 13px;
  transition: all 0.3s ease;
  opacity: 0.9;
  white-space: nowrap;
}

.legal-links-list li a:hover {
  opacity: 1;
  text-decoration: underline;
}

/* Séparateur entre les liens */
.legal-links-list li:not(:last-child)::after {
  content: "|";
  color: rgba(255, 255, 255, 0.4);
  margin-left: 15px;
}

/* Responsive - Tablet */
@media (max-width: 992px) {
  .checkout-footer-simple .container {
    flex-direction: column;
    text-align: center;
  }

  .footer-copyright {
    order: 2;
    margin-top: 15px;
  }

  .footer-legal-links {
    order: 1;
    justify-content: center;
  }

  .legal-links-list {
    justify-content: center;
  }
}

/* Responsive - Mobile */
@media (max-width: 768px) {
  .checkout-footer-simple {
    padding: 15px 0;
      margin-top: 20px;
  }

  .legal-links-list {
    gap: 8px 10px;
    font-size: 12px;
  }

  .legal-links-list li a {
    font-size: 12px;
  }

  .legal-links-list li:not(:last-child)::after {
    margin-left: 10px;
  }

  .footer-copyright {
    font-size: 12px;
  }
}

@media (max-width: 576px) {
  .legal-links-list {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }

  .legal-links-list li {
    display: block;
  }

  /* Masquer le séparateur sur mobile */
  .legal-links-list li:not(:last-child)::after {
    display: none;
  }
}
