dialog.oh-order {
  box-sizing: border-box;
  position: fixed;
  inset: 0;
  width: min(540px, calc(100% - 32px));
  max-width: 100%;
  max-height: min(90vh, 880px);
  max-height: min(90dvh, 880px);
  margin: auto;
  padding: 0;
  overflow: auto;
  overscroll-behavior: contain;
  color: #382c24;
  background: #fcfaf6;
  color-scheme: light;
  border: 1px solid #d5c9ba;
  border-radius: 15px;
  box-shadow: 0 24px 96px #251c1745;
  text-align: left;
  font: 400 15px/1.45 Arial, sans-serif;
}
dialog.oh-order:not([open]), .oh-order [hidden] { display: none !important; }
.oh-order::backdrop { background: rgb(36 28 23 / 55%); }
.oh-order * { box-sizing: border-box; }
.oh-order .oh-order-inner { padding: clamp(20px, 4.5vw, 32px); }
.oh-order .oh-order-head { position: static; display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; padding: 0 0 18px; margin: 0; background: none; border: none; }
.oh-order-head img { display: block; width: 82px; height: 21px; object-fit: contain; object-position: left; }
.oh-order .oh-order-head h2 { margin: 12px 0 0; color: #34281f; font: 400 clamp(30px, 5vw, 39px)/1.06 Georgia, serif; letter-spacing: -.04em; }
.oh-order button { cursor: pointer; font-family: inherit; }
.oh-order .oh-order-close { position: static; display: grid; place-items: center; width: 42px; min-height: 42px; margin: 0; padding: 0; color: #4c3f34; background: transparent; border: 1px solid #c8bfb3; border-radius: 50%; font-size: 24px; font-weight: 400; line-height: 1; }
.oh-order-item { padding: 14px; background: #f1ece4; border-radius: 9px; overflow-wrap: anywhere; }
.oh-order-item + .oh-order-item { margin-top: 8px; }
.oh-order-product { display: flex; align-items: center; gap: 14px; }
.oh-order-product img { flex: none; width: 82px; height: 66px; object-fit: cover; border-radius: 5px; }
.oh-order .oh-order-product h3 { margin: 1px 0 3px; color: #362a21; font: 400 24px/1.12 Georgia, serif; letter-spacing: -.025em; }
.oh-order .oh-order-product small, .oh-order-product p { margin: 0; color: #62564a; font-size: 13px; }
.oh-order-item dl { display: grid; grid-template-columns: minmax(85px, 1fr) 2fr; gap: 2px 14px; padding: 10px 0 0; margin: 10px 0 0; border-top: 1px solid #d9cfc2; font: 400 13px/1.5 Arial,sans-serif; }
.oh-order-item dt, .oh-order-item dd { margin: 0; padding: 0; color: #382c24; }
.oh-order-item dt { color: #6e5e51; }
.oh-order-item > p { margin: 10px 0 0; font-size: 12px; }
.oh-order-total { display: flex; justify-content: space-between; align-items: baseline; margin: 12px 0 20px; }
.oh-order-total strong { font-size: 19px; }
.oh-order .oh-order-form { display: block; margin: 0; padding: 0; max-width: none; }
.oh-order-fields { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.oh-order-fields label { display: block; min-width: 0; margin: 0; color: #3c3028; font: 600 13px/1.4 Arial,sans-serif; }
.oh-order-fields small { font-size: 11px; font-weight: 400; color: #685b50; }
.oh-order-wide { grid-column: 1 / -1; }
.oh-order .oh-order-fields input, .oh-order .oh-order-fields textarea { display: block; width: 100%; min-width: 0; height: auto; min-height: 44px; margin: 4px 0 0; padding: 8px 10px; border: 1px solid #bfb1a2; border-radius: 5px; background: #fff; color: #33281f; font: 400 16px/1.4 Arial,sans-serif; text-align: left; }
.oh-order .oh-order-fields textarea { resize: vertical; }
.oh-order :focus-visible { outline: 2px solid #75553d; outline-offset: 2px; }
.oh-order .oh-order-hint { margin: 12px 0; color: #64564a; font-size: 13px; }
.oh-order .oh-order-submit, .oh-order .oh-order-done, .oh-order .oh-order-reload { width: 100%; min-height: 48px; padding: 12px 16px; color: #fff; background: #4f3c2e; border: 0; border-radius: 6px; font-size: 15px; font-weight: 600; }
.oh-order-submit span { float: right; }
.oh-order button:disabled { opacity: .65; cursor: wait; }
.oh-order .oh-order-message { margin: 14px 0 0; font-size: 14px; }
.oh-order .oh-order-message:empty { margin: 0; }
.oh-order-message > * { display: block; margin: 3px 0; }
.oh-order-message strong { color: #453526; font: 400 26px/1.25 Georgia, serif; }
.oh-order .oh-order-message.is-error { color: #863a2e; }
.oh-order-done, .oh-order-reload { margin-top: 16px; }
.oh-order-trap { position: absolute; left: -10000px; width: 1px; height: 1px; overflow: hidden; }
#order-send.order-send { width: 100%; cursor: pointer; font-family: inherit; }
@media (max-width: 480px) {
  dialog.oh-order { width: calc(100% - 16px); max-height: calc(100dvh - 20px); }
  .oh-order .oh-order-inner { padding: 18px; }
  .oh-order-fields { grid-template-columns: 1fr; gap: 9px; }
  .oh-order-total { margin-bottom: 15px; }
}
