/* css/panier.css */
.cart-hero {
  background: linear-gradient(135deg, #f9f3e9 0%, #e8dfca 100%);
  padding: 60px 0 40px;
  text-align: center;
}

.cart-hero-content h1 {
  font-family: "Playfair Display", serif;
  font-size: 2.5rem;
  color: #2c3e50;
  margin-bottom: 10px;
}

.cart-hero-content h1 i {
  margin-right: 15px;
  color: #e74c3c;
}

.cart-subtitle {
  font-size: 1.1rem;
  color: #7f8c8d;
  margin-bottom: 30px;
}

.cart-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  z-index: 1;
}

.progress-step.active .step-number {
  background: #e74c3c;
  color: white;
}

.progress-step.active .step-text {
  color: #e74c3c;
  font-weight: 600;
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #ecf0f1;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  color: #95a5a6;
  margin-bottom: 8px;
  transition: all 0.3s ease;
}

.step-text {
  font-size: 0.9rem;
  color: #95a5a6;
  white-space: nowrap;
}

.progress-line {
  height: 2px;
  width: 80px;
  background: #ecf0f1;
  margin: 0 10px;
  position: relative;
  top: -20px;
}

.cart-page {
  padding: 40px 0 80px;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  margin-bottom: 60px;
}

@media (max-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-main {
  background: white;
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 30px;
  padding-bottom: 20px;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  font-family: "Playfair Display", serif;
  font-size: 1.8rem;
  color: #2c3e50;
}

.cart-header h2 i {
  margin-right: 10px;
  color: #3498db;
}

.cart-items-wrapper {
  margin-bottom: 30px;
}

.cart-items {
  min-height: 200px;
}

.cart-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 60px 20px;
  text-align: center;
}

.cart-empty i {
  color: #bdc3c7;
  margin-bottom: 20px;
}

.cart-empty h3 {
  font-family: "Playfair Display", serif;
  color: #7f8c8d;
  margin-bottom: 10px;
}

.cart-empty p {
  color: #95a5a6;
  margin-bottom: 25px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto auto 50px;
  gap: 20px;
  padding: 20px 0;
  border-bottom: 1px solid #eee;
  align-items: center;
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto;
    gap: 15px;
  }

  .cart-item-quantity,
  .cart-item-total,
  .cart-item-remove {
    grid-column: 2;
  }
}

.cart-item:last-child {
  border-bottom: none;
}

.cart-item-image {
  width: 100px;
  height: 100px;
  border-radius: 10px;
  overflow: hidden;
  background: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cart-item-details {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.cart-item-title {
  font-family: "Playfair Display", serif;
  font-size: 1.1rem;
  color: #2c3e50;
  margin-bottom: 5px;
}

.cart-item-ref {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin-bottom: 8px;
}

.cart-item-price-unit {
  font-size: 0.95rem;
  color: #e74c3c;
  font-weight: 500;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #f8f9fa;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 1rem;
  color: #2c3e50;
  transition: all 0.2s;
}

.quantity-btn:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.quantity-input {
  width: 60px;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 5px;
  font-size: 1rem;
}

.quantity-input:focus {
  outline: none;
  border-color: #3498db;
}

.cart-item-total {
  font-weight: 600;
  font-size: 1.1rem;
  color: #2c3e50;
}

.cart-item-remove {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #fee;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}

.cart-item-remove:hover {
  background: #fdd;
}

.cart-extra-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
  padding-top: 30px;
  border-top: 1px solid #eee;
}

.extra-info-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.extra-info-card i {
  font-size: 1.5rem;
  color: #3498db;
  margin-bottom: 15px;
}

.extra-info-card h4 {
  font-family: "Playfair Display", serif;
  color: #2c3e50;
  margin-bottom: 10px;
}

.extra-info-card p {
  color: #7f8c8d;
  font-size: 0.9rem;
  margin-bottom: 15px;
}

.gift-wrap-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-label {
  font-size: 0.9rem;
  color: #2c3e50;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 34px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #2ecc71;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

.cart-sidebar {
  position: sticky;
  top: 20px;
  height: fit-content;
}

.sidebar-card {
  background: white;
  border-radius: 15px;
  padding: 25px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
  margin-bottom: 20px;
}

.sidebar-card h3 {
  font-family: "Playfair Display", serif;
  color: #2c3e50;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.sidebar-card h3 i {
  margin-right: 10px;
  color: #e74c3c;
}

.summary-details {
  margin-bottom: 25px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  margin-bottom: 12px;
  font-size: 0.95rem;
}

.summary-row span:first-child {
  color: #7f8c8d;
}

.summary-row span:last-child {
  font-weight: 500;
}

.summary-row.total {
  font-size: 1.2rem;
  font-weight: 600;
  color: #2c3e50;
  margin-top: 15px;
}

.summary-divider {
  height: 1px;
  background: #eee;
  margin: 15px 0;
}

.free-shipping {
  color: #2ecc71;
  font-weight: 500;
}

.promo-code-section {
  margin-bottom: 25px;
}

.promo-code-input {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.promo-code-input input {
  flex: 1;
  padding: 10px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
}

.promo-code-input input:focus {
  outline: none;
  border-color: #3498db;
}

.btn-promo {
  padding: 10px 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #2c3e50;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.2s;
}

.btn-promo:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

.promo-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
  font-size: 0.9rem;
}

.promo-success i {
  color: #28a745;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 25px;
}

.btn-checkout {
  padding: 15px;
  font-size: 1rem;
  font-weight: 600;
}

.btn-checkout i {
  margin-right: 10px;
}

.guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  padding: 20px 0 0;
  border-top: 1px solid #eee;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #7f8c8d;
}

.guarantee-item i {
  color: #3498db;
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 15px;
  background: #f8f9fa;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.security-notice i {
  font-size: 1.5rem;
  color: #3498db;
}

.security-notice h4 {
  font-size: 0.95rem;
  color: #2c3e50;
  margin-bottom: 5px;
}

.security-notice p {
  font-size: 0.85rem;
  color: #7f8c8d;
}

.suggested-products {
  margin-top: 60px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.suggested-products h3 {
  font-family: "Playfair Display", serif;
  color: #2c3e50;
  margin-bottom: 30px;
  text-align: center;
}

.suggested-products h3 i {
  margin-right: 10px;
  color: #e74c3c;
}

.suggested-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.suggested-product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.suggested-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.12);
}

.suggested-product-image {
  position: relative;
  height: 180px;
  overflow: hidden;
}

.suggested-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.suggested-product-card:hover .suggested-product-image img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.suggested-product-info {
  padding: 20px;
}

.suggested-product-info h4 {
  font-family: "Playfair Display", serif;
  color: #2c3e50;
  margin-bottom: 10px;
  font-size: 1.1rem;
  height: 50px;
  overflow: hidden;
}

.suggested-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 15px;
}

.original-price {
  text-decoration: line-through;
  color: #95a5a6;
  font-size: 0.9rem;
}

.current-price {
  font-size: 1.2rem;
  font-weight: 600;
  color: #e74c3c;
}

.btn-add-to-cart {
  width: 100%;
  padding: 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.btn-add-to-cart:hover {
  background: #2980b9;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: 8px;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s;
  border: none;
  cursor: pointer;
  font-size: 0.95rem;
}

.btn i {
  font-size: 0.9rem;
}

.btn-primary {
  background: #3498db;
  color: white;
}

.btn-primary:hover {
  background: #2980b9;
  transform: translateY(-1px);
}

.btn-secondary {
  background: #f8f9fa;
  color: #2c3e50;
  border: 1px solid #ddd;
}

.btn-secondary:hover {
  background: #e9ecef;
  border-color: #adb5bd;
}

/* Styles spécifiques à la page panier */
.cart-hero {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  padding: 60px 0;
  text-align: center;
}

.cart-hero h1 {
  font-size: 2.5rem;
  margin-bottom: 10px;
}

.cart-subtitle {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 30px;
}

.cart-progress {
  display: flex;
  justify-content: center;
  align-items: center;
  max-width: 500px;
  margin: 0 auto;
}

.progress-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.step-number {
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  margin-bottom: 8px;
  border: 2px solid rgba(255, 255, 255, 0.3);
}

.progress-step.active .step-number {
  background: white;
  color: #667eea;
  border-color: white;
}

.step-text {
  font-size: 0.9rem;
  opacity: 0.8;
}

.progress-line {
  width: 80px;
  height: 2px;
  background: rgba(255, 255, 255, 0.3);
  margin: 0 15px;
}

.cart-page {
  padding: 40px 0;
  background: #f8f9fa;
  min-height: 60vh;
}

.cart-layout {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
}

@media (max-width: 992px) {
  .cart-layout {
    grid-template-columns: 1fr;
  }
}

.cart-main {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.cart-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.cart-header h2 {
  margin: 0;
  color: #2c3e50;
  font-size: 1.5rem;
}

.cart-items-wrapper {
  margin-bottom: 30px;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.cart-item {
  display: grid;
  grid-template-columns: 100px 1fr auto 100px 50px;
  gap: 20px;
  align-items: center;
  padding: 20px;
  background: #f9f9f9;
  border-radius: 10px;
  border: 1px solid #eee;
  transition: all 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

@media (max-width: 768px) {
  .cart-item {
    grid-template-columns: 80px 1fr;
    grid-template-rows: auto auto auto;
  }

  .cart-item-image {
    grid-column: 1;
    grid-row: 1;
  }

  .cart-item-details {
    grid-column: 2;
    grid-row: 1;
  }

  .cart-item-quantity {
    grid-column: 1;
    grid-row: 2;
  }

  .cart-item-total {
    grid-column: 2;
    grid-row: 2;
    text-align: right;
  }

  .cart-item-remove {
    grid-column: 1 / span 2;
    grid-row: 3;
    justify-self: center;
    margin-top: 10px;
  }
}

.cart-item-image img {
  width: 100%;
  height: 100px;
  object-fit: cover;
  border-radius: 8px;
}

.cart-item-details h4 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1.1rem;
}

.cart-item-ref {
  font-size: 0.85rem;
  color: #7f8c8d;
  margin: 0 0 5px 0;
}

.cart-item-price-unit {
  color: #e74c3c;
  font-weight: 500;
  margin: 0;
}

.cart-item-quantity {
  display: flex;
  align-items: center;
  gap: 10px;
}

.quantity-btn {
  width: 35px;
  height: 35px;
  border: 1px solid #ddd;
  background: white;
  border-radius: 6px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.quantity-btn:hover:not(:disabled) {
  background: #f8f9fa;
  border-color: #3498db;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input {
  width: 60px;
  height: 35px;
  text-align: center;
  border: 1px solid #ddd;
  border-radius: 6px;
  font-size: 1rem;
}

.quantity-input:focus {
  outline: none;
  border-color: #3498db;
}

.cart-item-total {
  font-weight: 700;
  font-size: 1.2rem;
  color: #2c3e50;
}

.cart-item-remove {
  background: none;
  border: none;
  color: #e74c3c;
  cursor: pointer;
  font-size: 1.2rem;
  padding: 5px;
  border-radius: 6px;
  transition: all 0.2s ease;
}

.cart-item-remove:hover {
  background: #ffeaea;
}

.cart-empty {
  text-align: center;
  padding: 60px 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.cart-empty i {
  color: #ddd;
  margin-bottom: 20px;
}

.cart-empty h3 {
  color: #7f8c8d;
  margin-bottom: 10px;
}

.cart-empty p {
  color: #95a5a6;
  margin-bottom: 25px;
}

.cart-extra-info {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

.extra-info-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 10px;
  border-left: 4px solid #3498db;
}

.extra-info-card i {
  font-size: 1.5rem;
  color: #3498db;
  margin-bottom: 10px;
}

.extra-info-card h4 {
  margin: 0 0 10px 0;
  color: #2c3e50;
}

.extra-info-card p {
  color: #666;
  font-size: 0.9rem;
  margin: 0 0 15px 0;
}

.gift-wrap-toggle {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.toggle-label {
  font-weight: 500;
  color: #2c3e50;
}

.toggle-switch {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 24px;
}

.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  transition: 0.4s;
  border-radius: 24px;
}

.toggle-slider:before {
  position: absolute;
  content: "";
  height: 16px;
  width: 16px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  transition: 0.4s;
  border-radius: 50%;
}

input:checked + .toggle-slider {
  background-color: #27ae60;
}

input:checked + .toggle-slider:before {
  transform: translateX(26px);
}

/* Sidebar */
.cart-sidebar {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.sidebar-card {
  background: white;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
  margin: 0 0 20px 0;
  color: #2c3e50;
  font-size: 1.3rem;
  padding-bottom: 15px;
  border-bottom: 1px solid #eee;
}

.summary-details {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.summary-row span:first-child {
  color: #666;
}

.summary-row span:last-child {
  font-weight: 500;
  color: #2c3e50;
}

.summary-row.total {
  font-size: 1.3rem;
  font-weight: 700;
  color: #2c3e50;
  margin-top: 10px;
}

.summary-divider {
  height: 1px;
  background: #eee;
  margin: 10px 0;
}

.free-shipping {
  color: #27ae60 !important;
  font-weight: 600 !important;
}

.promo-code-section {
  margin: 25px 0;
}

.promo-code-input {
  display: flex;
  gap: 10px;
  margin-bottom: 15px;
}

.promo-code-input input {
  flex: 1;
  padding: 12px 15px;
  border: 1px solid #ddd;
  border-radius: 8px;
  font-size: 0.9rem;
}

.promo-code-input input:focus {
  outline: none;
  border-color: #3498db;
}

.btn-promo {
  padding: 12px 20px;
  background: #f8f9fa;
  border: 1px solid #ddd;
  border-radius: 8px;
  color: #3498db;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-promo:hover {
  background: #e9ecef;
}

.promo-success {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 15px;
  background: #d4edda;
  border: 1px solid #c3e6cb;
  border-radius: 8px;
  color: #155724;
}

.promo-success i {
  color: #28a745;
}

.cart-actions {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin: 20px 0;
}

.btn-checkout {
  background: linear-gradient(135deg, #27ae60 0%, #2ecc71 100%);
  border: none;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 600;
}

.btn-checkout:hover {
  background: linear-gradient(135deg, #219653 0%, #27ae60 100%);
}

.guarantees {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid #eee;
}

.guarantee-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: #666;
}

.guarantee-item i {
  color: #3498db;
}

.security-notice {
  display: flex;
  align-items: center;
  gap: 15px;
  padding: 20px;
  background: #f8f9fa;
  border-radius: 10px;
  border: 1px solid #e9ecef;
}

.security-notice i {
  font-size: 1.8rem;
  color: #3498db;
}

.security-notice h4 {
  margin: 0 0 5px 0;
  color: #2c3e50;
  font-size: 1rem;
}

.security-notice p {
  margin: 0;
  color: #666;
  font-size: 0.85rem;
}

/* Produits suggérés */
.suggested-products {
  margin-top: 50px;
  padding-top: 40px;
  border-top: 1px solid #eee;
}

.suggested-products h3 {
  color: #2c3e50;
  margin-bottom: 25px;
  text-align: center;
}

.suggested-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 25px;
}

.suggested-product-card {
  background: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.08);
  transition: all 0.3s ease;
}

.suggested-product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.12);
}

.suggested-product-image {
  height: 180px;
  position: relative;
  overflow: hidden;
}

.suggested-product-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.suggested-product-card:hover .suggested-product-image img {
  transform: scale(1.05);
}

.discount-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: #e74c3c;
  color: white;
  padding: 5px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
}

.suggested-product-info {
  padding: 20px;
}

.suggested-product-info h4 {
  margin: 0 0 10px 0;
  color: #2c3e50;
  font-size: 1.1rem;
  height: 50px;
  overflow: hidden;
}

.suggested-product-price {
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 15px 0;
}

.original-price {
  text-decoration: line-through;
  color: #95a5a6;
  font-size: 0.9rem;
}

.current-price {
  font-size: 1.3rem;
  font-weight: 700;
  color: #e74c3c;
}

.btn-add-to-cart {
  width: 100%;
  padding: 12px;
  background: #3498db;
  color: white;
  border: none;
  border-radius: 8px;
  font-weight: 600;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all 0.2s ease;
}

.btn-add-to-cart:hover {
  background: #2980b9;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes slideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .cart-hero {
    padding: 40px 0;
  }

  .cart-hero h1 {
    font-size: 2rem;
  }

  .cart-progress {
    flex-wrap: wrap;
    gap: 15px;
  }

  .progress-line {
    width: 40px;
  }

  .cart-main,
  .sidebar-card {
    padding: 20px;
  }

  .cart-extra-info {
    grid-template-columns: 1fr;
  }

  .suggested-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  }
}

/* Styles pour les vraies infos produits */
.cart-item-category {
  font-size: 0.8rem;
  color: #3498db;
  margin: 5px 0;
  font-weight: 500;
}

.cart-item-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 5px 0;
  line-height: 1.3;
}

.cart-item-rating {
  margin: 5px 0;
}

.cart-item-rating .stars {
  color: #f1c40f;
  font-size: 0.9rem;
}

.stock-info {
  display: block;
  font-size: 0.75rem;
  color: #7f8c8d;
  margin-top: 5px;
  text-align: center;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.quantity-input:disabled {
  background-color: #f5f5f5;
  cursor: not-allowed;
}

/* Style pour l'image produit */
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Notification améliorée */
.cart-notification {
  animation: notificationSlideIn 0.3s ease;
  font-family: "Poppins", sans-serif;
}

@keyframes notificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Styles pour les vraies infos produits */
.cart-item-category {
  font-size: 0.8rem;
  color: #3498db;
  margin: 5px 0;
  font-weight: 500;
}

.cart-item-desc {
  font-size: 0.85rem;
  color: #666;
  margin: 5px 0;
  line-height: 1.3;
  max-height: 40px;
  overflow: hidden;
  text-overflow: ellipsis;
}

.cart-item-rating {
  margin: 5px 0;
}

.cart-item-rating .stars {
  color: #f1c40f;
  font-size: 0.9rem;
}

.stock-info {
  display: block;
  font-size: 0.75rem;
  color: #7f8c8d;
  margin-top: 5px;
  text-align: center;
}

.quantity-btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* Notification améliorée */
@keyframes notificationSlideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@keyframes notificationSlideOut {
  from {
    transform: translateX(0);
    opacity: 1;
  }
  to {
    transform: translateX(100%);
    opacity: 0;
  }
}

/* Animation du compteur */
@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.2);
  }
  100% {
    transform: scale(1);
  }
}

.cart-count.pulse {
  animation: pulse 0.6s ease-in-out;
}

/* Image produit */
.cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 8px;
}

/* Responsive */
@media (max-width: 768px) {
  .cart-item-desc {
    display: none;
  }

  .cart-item-category {
    font-size: 0.7rem;
  }
}
