/* Tiroir panier réorganisé (modal/cart-block.php) : une seule colonne,
   priorité à "voir les articles et les modifier facilement" — le
   compte-à-rebours et le gros encart livraison gratuite ont été retirés,
   Note/Livraison/Code promo sont de simples liens plutôt que des gros
   boutons, "Vous aimerez aussi" passe en bande discrète tout en bas. */
.modal-cart-main.oms-cart-sheet .oms-cart-drawer__body {
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: auto;
}

.modal-cart-main.oms-cart-sheet .oms-cart-drawer__ship {
  padding-bottom: 10px;
}

.oms-cart-drawer__ship-text {
  font-size: 12px;
  color: #6b7280;
  margin: 0 0 6px;
}

.oms-cart-drawer__ship-text strong {
  color: #0f172a;
  font-weight: 600;
}

.oms-cart-drawer__ship-track {
  height: 3px;
  background: var(--line, #e5e7eb);
  border-radius: 999px;
  overflow: hidden;
}

.oms-cart-drawer__ship-track .progress-line {
  height: 100%;
  background: var(--black, #1f1f1f);
  border-radius: 999px;
}

.modal-cart-main.oms-cart-sheet .list-product {
  max-height: 320px;
  overflow-y: auto;
  padding-top: 6px;
  padding-bottom: 4px;
}

.modal-cart-main.oms-cart-sheet .oms-cart-drawer__summary {
  padding-top: 14px;
  padding-bottom: 4px;
  border-top: 1px solid var(--line, #e5e7eb);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.oms-cart-drawer__summary-row {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 4px;
}

.oms-cart-drawer__ghost-btn {
  display: block;
  width: 100%;
  padding: 12px;
  border: 1px solid var(--line, #e5e7eb);
  border-radius: 999px;
  text-align: center;
  font-size: 12.5px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #0f172a;
}

.oms-cart-drawer__links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 14px 24px;
  border-top: 1px solid var(--line, #e5e7eb);
  font-size: 12.5px;
  color: #6b7280;
}

.oms-cart-drawer__link:hover {
  color: #0f172a;
  text-decoration: underline;
}

.oms-cart-drawer__link-sep {
  color: #d1d5db;
}

.oms-cart-drawer__cross {
  padding-top: 14px;
  padding-bottom: 18px;
  border-top: 1px solid var(--line, #e5e7eb);
}

.oms-cart-drawer__cross-label {
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: #9ca3af;
  margin: 0 0 10px;
}

.oms-cart-drawer__cross-list {
  display: flex;
  gap: 10px;
  overflow-x: auto;
}

.oms-cart-drawer__cross-item {
  flex-shrink: 0;
  width: 72px;
  text-align: center;
  cursor: pointer;
  border: none;
  background: none;
  padding: 0;
  font: inherit;
  color: inherit;
}

.oms-cart-drawer__cross-img {
  width: 72px;
  height: 72px;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 6px;
  background: var(--surface, #f4f2ef);
}

.oms-cart-drawer__cross-img img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.oms-cart-drawer__cross-price {
  font-size: 11px;
  font-weight: 600;
  color: #6b7280;
}

/* Panier vide : illustration + message, rien d'autre (pas de bouton
   Commander tant qu'il n'y a aucun article). */
.oms-cart-empty {
  padding-top: 8px;
  padding-bottom: 28px;
  text-align: center;
}

.oms-cart-empty__illus {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 10px;
}

.oms-cart-empty__wheel {
  animation: oms-cart-empty-spin 0.8s linear infinite;
}

@keyframes oms-cart-empty-spin {
  to { transform: rotate(360deg); }
}

.oms-cart-empty__ground {
  width: 60px;
  height: 3px;
  margin-top: 4px;
  transform: translateX(15px);
  border-radius: 999px;
  background-image: repeating-linear-gradient(
    90deg,
    #cbd5e1 0 12px,
    transparent 12px 24px
  );
  background-size: 24px 3px;
  animation: oms-cart-empty-ground 0.6s linear infinite;
}

@keyframes oms-cart-empty-ground {
  to { background-position-x: -24px; }
}

.oms-cart-empty__title {
  font-size: 15px;
  font-weight: 700;
  color: #0f172a;
  margin: 4px 0 4px;
}

.oms-cart-empty__text {
  font-size: 13px;
  color: #6b7280;
  margin: 0 0 18px;
}

@media (prefers-reduced-motion: reduce) {
  .oms-cart-empty__wheel,
  .oms-cart-empty__ground {
    animation: none !important;
  }
}
