/* RA Sticky Order Bar (v1.0.4) */
.ra-sticky-order-bar {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #F7F8FA;
  border-top: 1px solid #DFE3E6;
  box-shadow: 0 -6px 16px rgba(0,0,0,.08);
  z-index: 9999;
  padding: 12px 18px;
  box-sizing: border-box;
  transform: translateY(100%);
  transition: transform .25s ease, opacity .25s ease;
  opacity: 0;
}

.ra-sticky-order-bar.is-visible {
  transform: translateY(0);
  opacity: 1;
}

.ra-sticky-order-bar__inner {
  display: flex;
  gap: 14px;
  align-items: center;
  justify-content: space-between;
  max-width: 1200px;
  margin: 0 auto;
}

.ra-sticky-order-bar__name {
  flex: 1 1 auto;
  font-weight: 600;
  color: #111111;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.ra-sticky-order-bar__price {
  flex: 0 0 auto;
  font-weight: 700;
  color: #000000;
  white-space: nowrap;
}

.ra-sticky-order-bar__btn {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 12px 28px;
  background: #FFD814;
  color: #111111;
  text-decoration: none;
  border-radius: 9999px; /* pill desktop */
  font-weight: 700;
  outline: none;
  border: none;
  cursor: pointer;
}

.ra-sticky-order-bar__btn:hover,
.ra-sticky-order-bar__btn:focus {
  background: #FFCC00;
}

.ra-sticky-order-bar__btn:focus-visible {
  box-shadow: 0 0 0 2px #000000;
}

/* Mobile ≤ breakpoint */
@media (max-width: 640px) {
  .ra-sticky-order-bar__inner {
    gap: 0;
  }
  .ra-sticky-order-bar__name,
  .ra-sticky-order-bar__price {
    display: none;
  }
  /* Bouton non pleine largeur, encapsulé et centré */
  .ra-sticky-order-bar__btn {
    width: auto;
    min-width: 68%;
    padding: 14px 22px;
    border-radius: 9999px; /* pill */
    display: block;
    margin: 0 auto;
  }
}
