.catalog-tools {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  justify-content: space-between;
}
.catalog-tools .catalog-search {flex: 1; min-width: 0;}
.order-launch, .order-add, #mi-pedido button, .basket-send {font-family: inherit; cursor: pointer;}
.order-launch {
  display: inline-flex; align-items: center; justify-content: space-between; gap: 24px;
  border: 1px solid var(--orange); border-radius: 0; padding: 0 16px; min-height: 50px;
  font-size: 15px; font-weight: 700; line-height: 1.2;
}
.order-launch[hidden], #mi-pedido [hidden] {display: none;}
.order-launch > span:first-child {display: inline-flex; align-items: center; gap: 9px;}
.order-inline {margin-top: 29px; background: var(--ink); color: var(--paper);}
.order-count {font-size: 13px; font-variant-numeric: tabular-nums;}
.order-inline .order-count {color: var(--orange);}
.order-float {
  position: fixed; right: max(20px, env(safe-area-inset-right)); bottom: max(20px, env(safe-area-inset-bottom));
  z-index: 15; color: var(--ink); background: var(--orange); box-shadow: 0 3px 18px #0006;
}
.order-float .order-amount {border-left: 1px solid #381d0d70; padding-left: 18px;}
body.has-order-items .footer {padding-bottom: max(85px, calc(env(safe-area-inset-bottom) + 80px));}
.order-add {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  min-height: 44px; padding: 8px 12px; margin-top: auto;
  border: 1px solid #78756d; border-radius: 0; color: var(--paper); background: transparent;
  font-size: 13px; line-height: 1.25; font-weight: 700; text-align: left;
}
.order-add .add-icon {color: var(--orange); font-size: 19px; line-height: 1;}
.order-add.is-added {border-color: var(--orange);}
.order-add.is-added .add-icon {font-size: 13px;}
.order-add + .product-order {border-top: 0; margin-top: 2px; padding-top: 0;}
.order-add:hover, .order-inline:hover {border-color: var(--orange); background: #29241f;}
.order-sr {position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap;}
body:has(#mi-pedido[open]) {overflow: hidden;}
#mi-pedido {
  position: fixed; inset: 0 0 0 auto; margin: 0;
  width: min(100%, 480px); max-width: 100%; height: 100%; height: 100dvh; max-height: 100dvh;
  box-sizing: border-box; padding: 0; overflow: hidden; border: 0; border-left: 1px solid var(--line);
  background: var(--panel); color: var(--paper); text-align: left;
}
#mi-pedido[open] {display: flex; flex-direction: column;}
#mi-pedido::backdrop {background: rgb(0 0 0 / .69);}
.basket-head, .basket-foot {flex: none; padding: 20px 24px;}
.basket-head {display: flex; align-items: center; justify-content: space-between; gap: 12px; border-bottom: 1px solid var(--line);}
.basket-head h2 {font-size: clamp(28px, 4vw, 38px); margin: 0; line-height: 1; letter-spacing: -.055em;}
.basket-head h2 span {color: var(--orange);}
.basket-close,.basket-continue,.basket-remove,#basket-copy {
  border: 0; border-radius: 0; background: transparent; color: var(--paper); min-height: 44px;
}
.basket-close {padding: 0; min-width: 44px; font-size: 28px; line-height: 1;}
.basket-body {flex: 1 1 auto; min-height: 0; overflow: auto; overscroll-behavior: contain; padding-inline: 24px;}
#basket-empty {margin: 24px 0; color: var(--muted); line-height: 1.5;}
#basket-items {list-style: none; padding: 0; margin: 0;}
.basket-line {
  display: grid; grid-template-columns: 56px minmax(0,1fr) auto; align-items: start;
  gap: 10px 12px; padding: 18px 0; border-bottom: 1px solid var(--line);
}
.basket-line:last-child {border-bottom: 0;}
.basket-photo {width: 56px; height: 56px; object-fit: contain; background: white;}
.basket-product {display: grid; gap: 4px; min-width: 0; overflow-wrap: anywhere;}
.basket-name {font-size: 13px; line-height: 1.4;}
.basket-size,.basket-unit {font-size: 12px; color: var(--muted); line-height: 1.45;}
.basket-line-total {font-size: 15px; line-height: 1.4; white-space: nowrap; font-variant-numeric: tabular-nums;}
.basket-controls {display: flex; align-items: center; grid-column: 2 / -1; gap: 12px;}
.basket-stepper {display: inline-flex; align-items: center; border: 1px solid #76736b;}
.basket-stepper button {width: 42px; min-height: 42px; padding: 0; background: transparent; color: var(--paper); border: 0; font-size: 20px;}
.basket-stepper button:hover,.basket-close:hover {background: #33322f;}
.basket-quantity {min-width: 22px; text-align: center; font-size: 14px; font-variant-numeric: tabular-nums;}
.basket-remove, .basket-continue, #basket-copy {text-decoration: underline; text-underline-offset: 3px; font-size: 13px;}
.basket-remove {color: var(--muted);}
.basket-foot {border-top: 1px solid var(--line); background: var(--ink); padding-bottom: max(10px, env(safe-area-inset-bottom));}
.basket-total,.basket-send {display: flex; justify-content: space-between; align-items: baseline; gap: 12px;}
.basket-total {font-size: 17px; font-weight: 600;}
.basket-total strong {font-size: 25px; font-variant-numeric: tabular-nums;}
.basket-foot p {color: var(--muted); font-size: 13px; line-height: 1.45; margin: 5px 0 15px;}
.basket-send {align-items: center; background: var(--orange); color: var(--ink); min-height: 48px; padding: 10px 16px; font-size: 15px; font-weight: 700; text-decoration: none;}
.basket-send:hover, .order-float:hover {background: #ff892e;}
.basket-continue {display: block; margin-inline: auto;}
#basket-long {font-size: 13px; margin-bottom: 10px;}
#basket-message {display: block; width: 100%; margin-top: 5px; font: inherit;}
@media (max-width: 600px) {
  .catalog-tools {display: grid; grid-template-columns: minmax(0,1fr); gap: 0;}
  .order-inline {justify-self: start; min-height: 44px; margin: -2px 0 14px;}
  #mi-pedido {border-left: 0;}
  .basket-head,.basket-foot {padding-inline: 18px;}
  .basket-body {padding-inline: 18px;}
  .order-float {right: max(14px, env(safe-area-inset-right)); bottom: max(14px, env(safe-area-inset-bottom));}
}
@media(max-height: 480px) {
  .basket-head,.basket-foot {padding-block: 6px;}
  #mi-pedido:has(#basket-long:not([hidden])) {overflow: auto;}
  #mi-pedido:has(#basket-long:not([hidden])) .basket-body {flex: 1 0 60px;}
}
