.miake-preorder-card {
  background: #fffaf3;
  border: 1px solid #f4d9b8;
  border-radius: 18px;
  padding: 22px;
  margin: 20px 0;
  box-shadow: 0 10px 25px rgba(17, 17, 17, 0.06);
  color: #1a1a1a;
}

.miake-preorder-top,
.miake-demand-label,
.miake-preorder-actions,
.miake-trust-row,
.miake-admin-cards {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.miake-preorder-top {
  align-items: center;
  margin-bottom: 14px;
}

.miake-preorder-badge,
.miake-preorder-status,
.miake-trust-item,
.miake-loop-preorder-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 999px;
  font-weight: 700;
}

.miake-preorder-badge,
.miake-loop-preorder-badge {
  background: linear-gradient(135deg, #ff9a1f, #ff6a00);
  color: #fff;
  font-size: 12px;
  padding: 7px 12px;
}

.miake-loop-preorder-badge {
  margin-bottom: 10px;
}

.miake-preorder-status {
  background: #fff;
  border: 1px solid #ffd49f;
  color: #d35400;
  font-size: 12px;
  padding: 7px 12px;
}

.miake-preorder-title {
  font-size: 22px;
  line-height: 1.3;
  font-weight: 700;
  margin: 0 0 8px;
  color: #111111;
}

.miake-preorder-desc,
.miake-preorder-delay span,
.miake-partial-highlight span,
.miake-partial-note {
  font-size: 14px;
  line-height: 1.7;
  color: #5f6368;
}

.miake-preorder-info-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 12px;
  margin-bottom: 18px;
}

.miake-preorder-info-item,
.miake-demand-wrap,
.miake-preorder-delay,
.miake-partial-highlight,
.miake-admin-card,
.miake-order-summary,
.miake-checkout-partial {
  background: #ffffff;
  border: 1px solid #f1e2cb;
  border-radius: 14px;
  padding: 14px;
}

.miake-preorder-info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.miake-preorder-info-item strong,
.miake-preorder-delay strong,
.miake-partial-highlight strong {
  display: block;
  font-size: 14px;
  color: #111111;
  margin-bottom: 2px;
}

.miake-preorder-info-item span,
.miake-demand-label,
.miake-tracker-step .text,
.miake-trust-item,
.miake-notify-form input,
.miake-notify-form button,
.miake-partial-toggle span {
  font-size: 13px;
}

.miake-icon {
  font-size: 18px;
  line-height: 1;
  margin-top: 2px;
}

.miake-demand-wrap {
  margin-bottom: 20px;
}

.miake-demand-label {
  justify-content: space-between;
  font-weight: 600;
  margin-bottom: 10px;
  color: #333;
}

.miake-demand-bar {
  width: 100%;
  height: 10px;
  background: #f1f1f1;
  border-radius: 999px;
  overflow: hidden;
}

.miake-demand-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, #ff9a1f, #ff5e00);
}

.miake-arrival-tracker {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  overflow-x: auto;
  padding-bottom: 6px;
  margin-bottom: 22px;
}

.miake-tracker-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
  text-align: center;
}

.miake-tracker-step .dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #d8d8d8;
  margin-bottom: 8px;
  border: 2px solid #d8d8d8;
}

.miake-tracker-step .text {
  color: #777;
  line-height: 1.4;
}

.miake-tracker-step.done .dot {
  background: #111111;
  border-color: #111111;
}

.miake-tracker-step.done .text,
.miake-tracker-step.active .text {
  color: #111111;
  font-weight: 600;
}

.miake-tracker-step.active .dot {
  background: #ff7a00;
  border-color: #ff7a00;
  box-shadow: 0 0 0 5px rgba(255, 122, 0, 0.12);
}

.miake-tracker-line {
  flex: 1;
  min-width: 35px;
  height: 2px;
  background: #dedede;
  margin: 0 4px 22px;
}

.miake-tracker-line.active {
  background: linear-gradient(90deg, #111111, #ff7a00);
}

.miake-preorder-actions {
  margin: 18px 0;
}

.miake-preorder-cart-form {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0 20px;
}

.miake-preorder-cart-form .quantity {
  margin: 0;
}

.miake-preorder-cart-form .qty {
  min-height: 46px;
}

.miake-btn-preorder,
.miake-btn-notify,
.miake-preorder-submit,
.miake-notify-form button,
.miake-preorder-grid-card .button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 12px 22px;
  border-radius: 12px;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.25s ease;
}

.miake-btn-preorder,
.miake-preorder-submit,
.miake-notify-form button,
.miake-preorder-grid-card .button {
  background: linear-gradient(135deg, #ff8c1a, #ff5a00);
  color: #fff;
  box-shadow: 0 8px 18px rgba(255, 106, 0, 0.18);
}

.miake-btn-notify {
  background: #fff;
  color: #111;
  border-color: #e5d7c3;
}

.miake-trust-item {
  background: #fff;
  border: 1px solid #f1e2cb;
  padding: 10px 14px;
  color: #333;
}

.miake-notify-form-wrap {
  margin-bottom: 18px;
}

.miake-notify-form {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.miake-notify-form input {
  flex: 1 1 220px;
  min-height: 44px;
  border-radius: 12px;
  border: 1px solid #e5d7c3;
  padding: 0 14px;
}

.miake-notify-response {
  margin-top: 8px;
  font-size: 13px;
}

.miake-notify-response.is-success {
  color: #0b7d32;
}

.miake-notify-response.is-error {
  color: #b42318;
}

.miake-preorder-grid {
  display: grid;
  gap: 18px;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.miake-preorder-grid-card {
  background: #fff;
  border: 1px solid #f1e2cb;
  border-radius: 16px;
  padding: 16px;
}

.miake-preorder-grid-card h4 {
  margin: 12px 0 8px;
}

.miake-checkout-partial h3,
.miake-order-summary h2 {
  margin-top: 0;
}

.miake-partial-toggle {
  display: flex;
  gap: 10px;
  align-items: flex-start;
}

.miake-admin-cards {
  margin: 20px 0;
}

.miake-admin-card {
  min-width: 180px;
}

.miake-admin-card strong {
  font-size: 24px;
}

@media (min-width: 768px) {
  .miake-preorder-info-list {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 767px) {
  .miake-preorder-card {
    padding: 16px;
    border-radius: 14px;
  }

  .miake-preorder-title {
    font-size: 18px;
  }

  .miake-preorder-actions,
  .miake-preorder-cart-form,
  .miake-notify-form,
  .miake-trust-row {
    flex-direction: column;
  }

  .miake-btn-preorder,
  .miake-btn-notify,
  .miake-preorder-submit,
  .miake-notify-form button,
  .miake-notify-form input {
    width: 100%;
  }

  .miake-trust-item {
    width: 100%;
    border-radius: 12px;
  }
}
