#sheet[data-order] {
  --receipt-ink: #22392d;
  --receipt-rule: #a5aa99;
  --receipt-type: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace;
  color: var(--receipt-ink);
  background: linear-gradient(100deg, #f9f7ef, #fffdf7 40%, #faf8f1);
  font-family: system-ui, sans-serif;
  width: min(416px, calc(100% - 28px));
  max-height: 90dvh;
  border-radius: 5px 5px 0 0;
  padding: 21px clamp(18px, 5vw, 26px) 22px;
  overscroll-behavior: contain;
  box-shadow: 0 9px 36px #10201738;
  /* A solid sheet with a five-pixel torn edge, including on older WebKit. */
  --paper-mask: linear-gradient(#000 0 0) top / 100% calc(100% - 4px) no-repeat,
    conic-gradient(from -45deg at 50% 100%, #000 90deg, transparent 0) bottom / 10px 5px repeat-x;
  -webkit-mask: var(--paper-mask);
  mask: var(--paper-mask);
}
#sheet[data-order] .sheet-head {
  align-items: flex-start;
  padding-bottom: 13px;
  border-bottom: 1px dashed var(--receipt-rule);
  margin-bottom: 8px;
}
#sheet[data-order] .sheet-head h2 {
  font: 750 27px/1.12 system-ui, sans-serif;
  letter-spacing: -.05em;
}
.receipt-brand {
  display: block;
  margin: 1px 0 7px;
  color: #4c6455;
  font: 650 11px/1.2 var(--receipt-type);
  text-transform: uppercase;
  letter-spacing: .17em;
}
#sheet[data-order] .close {
  width: 38px; height: 38px;
  border: 1px solid #d8dad0;
  background: transparent;
}
#sheet[data-order] .close svg {width:18px;height:18px}
.added-line,.cart-item {display:flex;align-items:center;gap:11px;padding:8px 0 14px}
.added-line img,.cart-item img {width:52px;height:54px;object-fit:cover;border-radius:13px}
.added-line strong,.item-detail strong {display:block;font-size:16px;letter-spacing:-.035em}
.add-status {display:block;font-size:12px;font-weight:650;color:#426642;margin-bottom:2px}
.unit-price {margin-left:auto;white-space:nowrap;font-size:14px;font-weight:650;font-variant-numeric:tabular-nums}
.pair-card {position:relative;isolation:isolate;display:grid;align-items:end;height:clamp(155px,28dvh,230px);overflow:hidden;background:#224233;color:white;border-radius:19px}
.pair-card > img {position:absolute;inset:0;z-index:-2;width:100%;height:100%;object-fit:cover;object-position:50% 53%}
.pair-card[data-side="fritas"] > img {object-position:50% 12%}
.pair-card::after {content:"";position:absolute;inset:0;z-index:-1;background:linear-gradient(0deg,#061a11f2,rgba(7,20,14,.55) 57%,transparent 100%)}
.pair-card > div {padding:16px 18px}
.pair-note {font-size:11px;font-weight:750;letter-spacing:.09em;text-transform:uppercase;color:#dafaac}
.pair-card h3 {font:500 33px/1.1 Georgia,serif;letter-spacing:-.05em;margin:3px 0}
.pair-card p {font-size:13px;line-height:1.4;max-width:37ch}
.order-primary,.bag-link {width:100%;display:flex;align-items:center;gap:9px;min-height:49px;border-radius:15px;font-size:15px;font-weight:720;padding:12px 15px}
.order-primary {justify-content:space-between;margin-top:12px;background:#154e36;color:white}
.order-primary span:last-child {color:#d6fa9d}
.bag-link {border:1px solid #cdd5c6;margin-top:9px;background:white}
.bag-link span {margin-left:auto}
.browse {display:block;min-height:42px;margin:3px auto 0;color:#36533d;font-size:14px;font-weight:650}
.cart-item {border-bottom:1px dashed var(--receipt-rule);padding:13px 0}
.cart-item img {width:64px;height:71px}
.item-detail small,.order-total small {display:block;color:#566a59;font-size:13px;margin-top:3px}
.quantity-step {display:inline-flex;align-items:center;gap:6px;margin-top:6px;border:1px solid #d5dbcb;border-radius:24px;background:white;font-size:13px}
.quantity-step button {height:33px;width:35px;font-size:18px}
.order-total {display:flex;align-items:center;justify-content:space-between;margin:18px 0 5px}
.order-total strong {font-size:24px;letter-spacing:-.045em}
.order-note,.empty-bag p {font-size:14px;line-height:1.5;color:#516654}
.promo-note {margin-top:12px;font-size:13px;font-weight:650;color:#365f37}
.empty-bag {text-align:center;padding:15px 10px}
.empty-bag img {height:70px;width:auto;margin-bottom:9px}
#sheet[data-order] :is(.unit-price,.order-total,.item-detail small,.bag-link span,.order-primary span:last-child,.quantity-step span) {
  font-family: var(--receipt-type);
  font-variant-numeric: tabular-nums;
}
#sheet[data-order] .added-line {padding-top:3px}
#sheet[data-order] .added-line:not(:has(+ .pair-card)) {border-bottom:1px dashed var(--receipt-rule)}
#sheet[data-order] .order-total {padding:9px 0 4px}
#sheet[data-order] .bag-link {background:transparent}
@media (max-width:740px) {
  #sheet[data-order] {
    margin: auto auto max(12px,env(safe-area-inset-bottom));
    max-height: calc(100dvh - max(18px,env(safe-area-inset-top)) - max(16px,env(safe-area-inset-bottom)));
  }
}
@media (prefers-reduced-motion:no-preference) {
  #sheet[data-order][open] {animation:receipt-rise .32s cubic-bezier(.2,.75,.25,1)}
  .order-primary:active,.bag-link:active {transform:scale(.985)}
  @keyframes receipt-rise {
    from {opacity:.3; transform:translateY(64px)}
    to {opacity:1; transform:translateY(0)}
  }
}
