/* Order Center refresh — stacks cleanly on small screens, strengthens CTAs */

.order-center--streamlined {
  grid-template-columns: 1fr;
}

@media (min-width: 900px) {
  .order-center--streamlined {
    grid-template-columns: minmax(260px, 0.95fr) minmax(300px, 1.15fr);
  }

  .order-center--streamlined .order-center__left {
    position: sticky;
    top: 0;
  }
}

@media (max-width: 899px) {
  .order-center {
    grid-template-columns: 1fr !important;
  }

  .order-center__left {
    position: relative !important;
    top: auto !important;
  }

  .drawer-body {
    overflow-x: hidden;
  }
}

/* Optional lightweight ID fields (cart) */
.ely-optional-ids {
  margin-bottom: 14px;
}

.ely-optional-ids-card {
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(139, 92, 246, 0.28);
  background: rgba(8, 7, 18, 0.72);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ely-opt-field {
  display: flex;
  flex-direction: column;
  gap: 4px;
  min-width: 0;
}

.ely-opt-label {
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(183, 176, 223, 0.78);
}

.ely-opt-input {
  min-height: 40px;
  border-radius: 8px;
  border: 1px solid rgba(139, 92, 246, 0.35);
  background: rgba(14, 12, 24, 0.95);
  color: var(--text);
  padding: 0 12px;
  font-weight: 650;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
}

.ely-opt-input::placeholder {
  color: rgba(183, 176, 223, 0.45);
  font-weight: 500;
}

.ely-opt-input:focus {
  outline: none;
  border-color: rgba(253, 230, 138, 0.45);
  box-shadow: 0 0 0 1px rgba(139, 92, 246, 0.25);
}

/* Clear cart in drawer header */
.btn-clear-cart-head {
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 0 14px;
  min-height: 38px;
  margin-right: 8px;
  border-color: rgba(248, 113, 113, 0.45) !important;
  color: rgba(254, 205, 211, 0.95) !important;
  background: rgba(127, 29, 29, 0.22) !important;
}

.btn-clear-cart-head:hover {
  border-color: rgba(248, 113, 113, 0.75) !important;
  background: rgba(127, 29, 29, 0.35) !important;
}

.order-actions-tertiary:empty {
  display: none;
}

/* Larger header cart control */
.cart-button {
  width: 56px !important;
  min-width: 56px !important;
  height: 52px !important;
  min-height: 52px !important;
  border-radius: 12px !important;
  border: 1px solid rgba(139, 92, 246, 0.45) !important;
  background: linear-gradient(165deg, rgba(22, 16, 42, 0.95), rgba(8, 7, 18, 0.92)) !important;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.38), 0 0 22px rgba(139, 92, 246, 0.18) !important;
}

.cart-button .cart-icon-svg {
  width: 30px !important;
  height: 30px !important;
}

.cart-count {
  right: -4px !important;
  top: -5px !important;
  min-width: 24px !important;
  height: 24px !important;
  font-size: 12px !important;
}

/* Bottom-right sticky order chip */
.ely-sticky-order__btn {
  min-height: 54px !important;
  padding: 0 18px !important;
  font-size: 13px !important;
  border-radius: 14px !important;
  box-shadow: 0 18px 46px rgba(0, 0, 0, 0.48), 0 0 28px rgba(139, 92, 246, 0.22) !important;
}

/* Coming Soon — home cards use existing .home-game-card.coming-soon */
.home-coming-soon-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 3;
  padding: 4px 8px;
  border-radius: 999px;
  font-family: var(--display);
  font-size: 9px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #fde68a;
  border: 1px solid rgba(253, 230, 138, 0.45);
  background: rgba(88, 28, 135, 0.55);
  pointer-events: none;
}

.game-menu-item.is-coming-soon {
  opacity: 0.55;
  cursor: not-allowed;
  position: relative;
}

.game-menu-item.is-coming-soon::after {
  content: "Soon";
  margin-left: auto;
  padding: 2px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: rgba(253, 230, 138, 0.95);
  border: 1px solid rgba(253, 230, 138, 0.35);
  background: rgba(88, 28, 135, 0.35);
}
