/* ==========================================================================
   Simple Peptide — static HTML edition additions
   These rules only cover demo-only UI; the storefront design is unchanged.
   ========================================================================== */

.static-notice {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin: 18px 0 0;
  padding: 14px 16px;
  border: 1px solid #f0dcc4;
  border-left: 4px solid var(--orange);
  border-radius: 6px;
  background: #fffaf4;
  color: #5c402a;
  font-size: 12px;
  line-height: 1.65;
}
.static-notice .icon {
  width: 18px;
  height: 18px;
  flex: none;
  margin-top: 1px;
  color: var(--orange);
}
.static-notice strong {
  display: block;
  color: #3f2a18;
  font-size: 12.5px;
  margin-bottom: 2px;
}
.static-notice a {
  color: #8a4a18;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.static-notice--inline {
  margin: 0 0 18px;
}
.static-notice--dark {
  border-color: rgba(255, 255, 255, .16);
  border-left-color: var(--orange-2);
  background: rgba(255, 255, 255, .06);
  color: #d7e2ee;
}
.static-notice--dark strong { color: #fff; }

.static-demo-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 3px 8px;
  border-radius: 999px;
  background: var(--orange-soft);
  color: #a3541c;
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .09em;
  text-transform: uppercase;
  white-space: nowrap;
}
.static-demo-tag i {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--orange);
}

.static-empty {
  padding: 22px 18px;
  border: 1px dashed var(--line);
  border-radius: 8px;
  background: var(--paper);
  text-align: center;
  color: var(--muted);
  font-size: 12px;
  line-height: 1.7;
}
.static-empty strong {
  display: block;
  color: var(--ink);
  font-size: 14px;
  margin-bottom: 4px;
}
.static-empty .btn { margin-top: 12px; }

.static-form-msg {
  margin-top: 12px;
  padding: 11px 13px;
  border: 1px solid #cde9db;
  border-radius: 5px;
  background: var(--green-soft);
  color: #176c48;
  font-size: 11.5px;
  line-height: 1.6;
}
.static-form-msg.is-error {
  border-color: #f2cbc7;
  background: var(--red-soft);
  color: #9b322c;
}

.field.has-error input,
.field.has-error select,
.field.has-error textarea {
  border-color: var(--red);
}
.check.has-error {
  color: var(--red);
}
.check.has-error .check__box {
  border-color: var(--red);
}

.static-toast {
  position: fixed;
  left: 50%;
  bottom: 24px;
  z-index: 300;
  transform: translate(-50%, 12px);
  max-width: min(420px, calc(100vw - 32px));
  padding: 11px 16px;
  border-radius: 6px;
  background: var(--ink);
  color: #fff;
  font-size: 12px;
  line-height: 1.55;
  text-align: center;
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s, transform .2s;
}
.static-toast.is-show {
  opacity: 1;
  transform: translate(-50%, 0);
}

.footer__staticnote {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--muted-2);
  font-size: 10px;
}
.footer__staticnote b {
  color: var(--orange);
  font-weight: 600;
}
.footer__staticnote a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Payment demo ------------------------------------------------------------- */
.paycard--demo .paycard__amountblock {
  border-bottom: 1px solid var(--line-2);
}
.demo-address {
  word-break: break-all;
}
.qr-placeholder {
  width: 220px;
  max-width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: #fff;
  padding: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}
.qr-placeholder svg {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 3px;
}
.qr-placeholder span {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: var(--muted-2);
}
.paycard__qr .qr-placeholder { margin: 0 auto; }

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
}
.demo-actions .btn { flex: 1 1 auto; }

.demo-timeline-note {
  margin-top: 14px;
  font-size: 10.5px;
  line-height: 1.65;
  color: var(--muted);
}

.paycard--demo .confirmbar { display: none; }

/* Order demo --------------------------------------------------------------- */
.order-demo-note {
  margin: 0 0 18px;
}
.orderitem__art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.order__aside .summary p { line-height: 1.7; }

/* Small screens ------------------------------------------------------------ */
@media (max-width: 720px) {
  .static-notice {
    margin-top: 12px;
    padding: 12px 13px;
    font-size: 11.5px;
  }
  .static-notice strong { font-size: 12px; }
  .qr-placeholder { width: 190px; }
  .demo-actions { flex-direction: column; }
  .demo-actions .btn { width: 100%; }
  .footer__staticnote { display: flex; margin-top: 4px; }
}

/* Real-address manual checkout -------------------------------------------- */
.paymethod[data-method="sol"] {
  grid-column: 1 / -1;
}
.order-address {
  word-break: break-all;
  font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
  font-size: 10px !important;
  line-height: 1.55 !important;
}
.qr-placeholder svg {
  width: 100%;
  height: auto;
  max-width: 220px;
  display: block;
}
.qr-placeholder > span {
  text-align: center;
}
@media (max-width: 720px) {
  .paymethod[data-method="sol"] { grid-column: auto; }
}

/* Mobile checkout: prevent long payment/shipping rows from widening the grid. */
@media (max-width: 760px) {
  .checkout { grid-template-columns: minmax(0, 1fr); }
  .checkout__form,
  .checkout__aside,
  .checkout .formcard,
  .checkout .summary { min-width: 0; }
  .checkout .shipoption,
  .checkout .paymethod { min-width: 0; flex-wrap: wrap; }
  .checkout .paymethod__body { min-width: 0; }
  .checkout .shipoption__price { margin-left: auto; }
}
@media (max-width: 760px) {
  .checkout .summary__pay { align-items: flex-start; }
  .checkout .summary__pay > div { flex-wrap: wrap; }
}

.qr-placeholder--sample {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  min-height: 180px;
  padding: 18px;
  text-align: center;
}
.qr-placeholder--sample strong { font-size: 13px; letter-spacing: .08em; text-transform: uppercase; }
.qr-placeholder--sample span { max-width: 210px; }
