/* Order intake shares the package typography and stays within the dialog's viewport. */
.order-guidance {
  display:grid;
  align-items:center;
  width:fit-content;
  max-width:100%;
  margin-top:8px;
}
.order-guidance>* {grid-area:1 / 1}
.duo-offers .offer-heading .order-guidance p {margin:0}
.order-guidance[data-choosing]>p {visibility:hidden}
.order-announcement {
  position:absolute;width:1px;height:1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;
}
.order-prompt {
  display:flex;
  align-items:center;
  gap:8px;
  width:fit-content;
  max-width:100%;
  padding:8px 12px;
  border-radius:7px;
  background:#ffdc49;
  color:#1a1b14;
  font:700 16px/1.25 var(--sans);
  opacity:0;
  pointer-events:none;
}
.order-prompt .icon {width:16px;height:16px;flex:none;stroke-width:2.4;transform:rotate(90deg)}
.order-guidance[data-choosing] .order-prompt {opacity:1}
.order-sheet {
  --sheet-text:#f5f3ea;
  --sheet-muted:#c1c2b6;
  position:fixed;
  inset:0;
  box-sizing:border-box;
  width:min(840px,calc(100% - 40px));
  max-width:none;
  max-height:calc(100dvh - 32px);
  margin:auto;
  overflow-y:auto;
  overscroll-behavior:contain;
  border:1px solid #494a40;
  border-radius:17px;
  padding:clamp(27px,3vw,40px);
  background:#1c1d1a;
  color:var(--sheet-text);
  color-scheme:dark;
  box-shadow:0 24px 80px #0008;
  font:500 16px/1.4 var(--sans);
}
.order-sheet:not([open]) {display:none}
.order-sheet::backdrop {background:#0a0a09b8}
html:has(.order-sheet[open]),body:has(.order-sheet[open]) {overflow:hidden}
.order-sheet__header,.order-summary,.order-sheet__footer {
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:16px;
}
.order-sheet__header {margin-bottom:24px}
.order-sheet__header h2 {
  margin:0;
  color:var(--sheet-text);
  font:760 clamp(32px,3.4vw,46px)/1.08 var(--sans);
  letter-spacing:-.045em;
}
.order-sheet__header h2 span {color:#ffdc49}
.order-sheet__close {
  display:grid;
  place-items:center;
  flex:none;
  width:44px;
  height:44px;
  border:1px solid #45463e;
  border-radius:9px;
  background:transparent;
  color:var(--sheet-text);
  cursor:pointer;
}
.order-sheet__close .icon {width:18px;height:18px}
.order-sheet__close:hover {background:#33352d}
.order-sheet__form {display:grid;gap:22px}
.order-summary {
  align-items:flex-start;
  padding:20px 22px;
  border-radius:10px;
  background:#292a24;
}
.order-summary div {display:grid;gap:7px;min-width:0}
.order-summary__amount {text-align:right}
.order-summary__name,.order-summary__price {
  color:var(--sheet-text);
  font:740 clamp(26px,2.4vw,33px)/1.08 var(--sans);
  letter-spacing:-.035em;
}
.order-summary__name[data-main] {color:#ffdc49}
.order-summary__quantity,.order-summary__unit {color:var(--sheet-muted);font-size:16px}
.order-field {display:grid;align-content:start;gap:9px;min-width:0}
.order-field>span,.order-field>label {font:650 18px/1.2 var(--sans);color:var(--sheet-text)}
.order-field small {margin-left:5px;color:var(--sheet-muted);font:500 14px/1 var(--sans)}
.order-field :is(input,select,textarea) {
  box-sizing:border-box;
  min-width:0;
  width:100%;
  min-height:51px;
  margin:0;
  padding:12px 14px;
  border:1px solid #4a4b41;
  border-radius:8px;
  background:#151613;
  color:var(--sheet-text);
  font:500 18px/1.4 var(--sans);
}
.order-field textarea {resize:vertical}
.order-payment {position:relative}
.order-payment [hidden] {display:none}
.order-payment__trigger {
  display:flex;align-items:center;justify-content:space-between;gap:8px;
  width:100%;min-height:51px;padding:12px 14px;
  border:1px solid #4a4b41;border-radius:8px;background:#151613;color:var(--sheet-text);
  font:600 18px/1.4 var(--sans);text-align:left;cursor:pointer;
}
.order-payment__trigger[aria-expanded=true] {border-color:#b6a451}
.order-payment__value,.order-payment__option {display:flex;align-items:center;gap:10px}
.order-payment :is(.order-payment__value,.order-payment__option)>:is(img,svg) {
  width:18px;height:18px;flex:none;object-fit:contain;
}
.order-payment .paypal-icon {filter:brightness(0) invert(.92)}
.order-payment .wise-icon {filter:invert(90%) sepia(30%) saturate(600%) hue-rotate(32deg)}
.order-payment__chevron {width:15px;height:15px;color:#b9bbae}
.order-payment__trigger[aria-expanded=true] .order-payment__chevron {transform:rotate(180deg)}
.order-payment__list {
  position:absolute;inset:calc(100% + 5px) 0 auto;z-index:3;
  padding:4px;border:1px solid #54554b;border-radius:9px;background:#262722;
  box-shadow:0 10px 22px #0006;color:var(--sheet-text);
}
.order-payment__list[data-above] {inset:auto 0 calc(100% + 5px)}
.order-payment__option {
  min-height:44px;padding:7px 10px;border-radius:6px;
  font:600 16px/1.3 var(--sans);cursor:pointer;
}
.order-payment__option[data-active]:not([aria-selected=true]) {background:#373830}
.order-payment__option[aria-selected=true] {box-shadow:inset 0 0 0 1px #ffdc49}
.order-field :is(input,textarea)::placeholder {color:#9da096}
.order-sheet :is(input,textarea,select,button):focus-visible {outline:2px solid #ffdc49;outline-offset:2px}
.order-sheet__pair {display:grid;grid-template-columns:minmax(0,1.45fr) minmax(0,1fr);gap:18px}
.order-sheet__footer {margin-top:7px}
.order-sheet__footer p {margin:0;color:var(--sheet-muted);font:500 16px/1.4 var(--sans);max-width:36ch}
.order-sheet__submit {flex:none;min-height:51px;gap:14px;padding:12px 18px;cursor:pointer;font-size:17px}
.order-sheet__submit[aria-disabled="true"] {cursor:progress}
@media (min-width:961px) and (hover:hover) and (pointer:fine) {
  /* The landing's desktop density scales the root to 80%. */
  .order-sheet {max-height:calc(125dvh - 40px)}
}
@media (max-width:600px) {
  .order-sheet {width:calc(100% - 20px);max-height:calc(100dvh - 20px);padding:20px}
  .order-sheet__header {margin-bottom:18px}
  .order-sheet__form {gap:16px}
  .order-summary {padding:15px;gap:10px}
  .order-summary__name,.order-summary__price {font-size:22px}
  .order-summary__quantity,.order-summary__unit {font-size:13px}
  .order-sheet__pair {grid-template-columns:minmax(0,1fr);gap:16px}
  .order-field {gap:7px}
  .order-field>span,.order-field>label {font-size:16px}
  .order-field :is(input,select,textarea) {font-size:16px;min-height:46px}
  .order-payment__trigger {font-size:16px;min-height:46px}
  .order-sheet__footer {display:grid;gap:12px}
  .order-sheet__footer p {max-width:none}
  .order-sheet__submit {width:100%;justify-content:space-between}
}
@media (max-width:360px) {
  .order-summary__price {font-size:20px}
}
@media (prefers-reduced-motion:no-preference) {
  body:not([data-motion="paused"]) .order-prompt {transition:opacity .18s ease}
  body:not([data-motion="paused"]) .order-sheet[open] {animation:duo-order-in .18s ease-out}
}
@keyframes duo-order-in {
  from {opacity:0;transform:translateY(6px)}
  to {opacity:1;transform:translateY(0)}
}
