@import url("/direct-orders.css");

.sel-dialog, .sel-toast {
  --sel-ink: var(--ink, #073d40);
  --sel-paper: var(--paper, #faf5e9);
  --sel-orange: var(--orange, #b94424);
  --sel-line: #c8c2ac;
  --sel-soft: #ede8d9;
  --sel-muted: #465c54;
  font-family: var(--sans,"Segoe UI",sans-serif);
  color: var(--sel-ink);
}
.sel-dialog *, .sel-toast { box-sizing: border-box; }
.sel-dialog {
  box-sizing: border-box;
  padding: 0;
  width: min(48rem, calc(100% - 2rem));
  max-width: none;
  max-height: min(88vh, 55rem);
  max-height: min(88dvh, 55rem);
  overflow: hidden;
  border: 1px solid var(--sel-ink);
  border-radius: .6rem;
  background: var(--sel-paper);
  color-scheme: light;
  box-shadow: 0 1.5rem 6rem #052d3455;
  margin: auto;
}
.sel-dialog[open] { display: flex; flex-direction: column; }
.sel-dialog::backdrop { background: rgb(4 31 33 / 65%); }
.sel-dialog :is(a, button, input, textarea):focus-visible { outline: 3px solid var(--sel-orange); outline-offset: 2px; }
.sel-dialog :is(a, button) { -webkit-tap-highlight-color: transparent; }
.sel-dialog button, .sel-dialog input, .sel-dialog textarea { font: inherit; }
.sel-dialog button { cursor: pointer; }
.sel-head { display: flex; align-items: center; justify-content: space-between; gap: 1rem; padding: 1rem 1.45rem; flex: none; background: var(--sel-ink); color: #fff8e8; }
.sel-dialog .sel-title, .sel-dialog .sel-dish, .sel-dialog .sel-empty {
  margin: 0;
  text-wrap: pretty;
  font: 400 clamp(1.45rem, 2.1vw, 2rem)/1.18 var(--serif,Georgia,serif);
  color: inherit;
  letter-spacing: -.02em;
}
.sel-dialog .sel-dish { font-size: clamp(1.15rem, 2.1vw, 1.45rem); }
.sel-dialog .sel-empty { font-size: 1.3rem; margin: .65rem 0; }
.sel-dialog .sel-x {
  width: 2.75rem; height: 2.75rem; flex: none; display: grid; place-items: center;
  padding: 0; background: transparent; border: 1px solid #f6eed999; border-radius: 50%;
  font: 400 1.75rem/1 Georgia, serif; color: #fff6df;
}
.sel-dialog .sel-x:hover { background: #ffffff20; }
.sel-dialog .sel-x:focus-visible { outline-color: #f5c34d; }
.sel-body { padding: 1.35rem 1.45rem; overflow: auto; overscroll-behavior: contain; }
.sel-dialog p { margin: .45rem 0; }
.sel-lines { display: grid; gap: .8rem; }
.sel-line, .sel-compare-card { min-width: 0; padding: 1rem; background: #fffaf0; border: 1px solid var(--sel-line); border-radius: .25rem; overflow-wrap: anywhere; }
.sel-line-top, .sel-line-controls, .sel-bill { display: flex; justify-content: space-between; align-items: baseline; gap: .6rem 1rem; }
.sel-line-controls { align-items: center; justify-content: flex-start; margin: .5rem 0; }
.sel-price { font-variant-numeric: tabular-nums; }
.sel-meta, .sel-desc, .sel-note, .sel-values { font-size: 1rem; line-height: 1.45; }
.sel-meta { color: var(--sel-muted); }
.sel-stepper { display: inline-flex; align-items: center; border: 1px solid var(--sel-ink); border-radius: .2rem; }
.sel-dialog .sel-step {
  padding: 0; width: 2.8rem; height: 2.75rem; border: 0; color: var(--sel-ink);
  background: transparent; font: 600 1.2rem/1 "Segoe UI", sans-serif;
}
.sel-dialog .sel-step:hover { background: var(--sel-soft); }
.sel-quantity { min-width: 1.65rem; text-align: center; font-variant-numeric: tabular-nums; }
.sel-dialog .sel-text, .sel-dialog .sel-door {
  display: inline-flex; align-items: center; min-height: 2.75rem; min-width: 2.75rem; max-width: 100%;
  padding: .25rem .4rem; border: 0; background: none; color: var(--sel-ink);
  font: 600 .97rem/1.3 var(--sans,"Segoe UI",sans-serif); text-decoration: underline; text-underline-offset: .19em;
}
.sel-dialog .sel-text:hover, .sel-dialog .sel-door:hover { color: var(--sel-orange); }
.sel-note { display: grid; gap: .28rem; color: var(--sel-ink); }
.sel-dialog .sel-note input, .sel-dialog .sel-copy-field {
  display: block; width: 100%; min-width: 0; min-height: 2.75rem; padding: .65rem .75rem;
  color: var(--sel-ink); background: #fffef8; border: 1px solid #7b8a7d; border-radius: .2rem;
}
.sel-note input::placeholder { color: #56665c; }
.sel-total { padding: 1.15rem 0 .2rem; }
.sel-bill { border-top: 2px solid var(--sel-ink); padding: 1rem 0 .2rem; flex-wrap: wrap; }
.sel-bill h3, .sel-bill strong { margin: 0; font-size: 1.2rem; font-weight: 700; color: var(--sel-ink); }
.sel-actions, .sel-card-actions { display: flex; align-items: center; flex-wrap: wrap; gap: .5rem; margin: .8rem 0; }
.sel-dialog .sel-btn {
  display: inline-flex; justify-content: center; align-items: center; min-height: 2.85rem;
  margin: 0; padding: .6rem 1rem; border: 1px solid var(--sel-ink); border-radius: .22rem;
  background: var(--sel-paper); color: var(--sel-ink);
  font: 650 1rem/1.3 var(--sans,"Segoe UI",sans-serif); text-align: center; text-decoration: none;
}
.sel-dialog .sel-btn:hover { background: var(--sel-soft); }
.sel-dialog .sel-btn.sel-primary { background: var(--sel-ink); color: #fff8e7; }
.sel-dialog .sel-btn.sel-primary:hover { background: #155056; }
.sel-door { padding-inline: 0 !important; }
.sel-dialog .sel-copy-field { min-height: 8rem; margin-top: .75rem; }
.sel-compared { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 10rem), 1fr)); gap: .75rem; margin: 1rem 0; }
.sel-values { margin: .8rem 0; }
.sel-values dt { color: var(--sel-muted); font-size: .9rem; }
.sel-values dd { margin: 0 0 .5rem; color: var(--sel-ink); font-weight: 650; }
.sel-card-actions { gap: .2rem .5rem; }
.sel-modal-status { overflow-wrap: anywhere; background: #eee0bd; padding: .62rem 1.45rem; color: var(--sel-ink); }
.sel-dialog p.sel-modal-status { margin: 0; }
.sel-modal-status:empty { display: none; }
.sel-toast {
  position: fixed; z-index: 15; left: 50%; bottom: max(5.1rem, calc(env(safe-area-inset-bottom) + 4.5rem));
  transform: translateX(-50%); width: max-content; max-width: calc(100vw - 1.6rem); padding: .65rem 1rem;
  background: var(--sel-ink); color: #fff7e8; border: 1px solid #f3e7c5; border-radius: .3rem;
  box-shadow: 0 .3rem 1.5rem #062e3336; pointer-events: none; font-size: 1rem;
}
.sel-toast:empty { padding: 0; border: 0; box-shadow: none; }
@media (max-width: 36rem) {
  .sel-dialog { width: calc(100% - 1rem); max-height: 90vh; max-height: 92dvh; }
  .sel-head, .sel-body { padding: .9rem; }
  .sel-line, .sel-compare-card { padding: .8rem; }
  .sel-compared { grid-template-columns: 1fr; }
  .sel-actions .sel-btn { flex: 1 1 13rem; }
  .sel-line-top { flex-wrap: wrap; }
}
@media (forced-colors: active) {
  .sel-dialog :is(button, a, input, textarea) { border-color: ButtonText; }
}


.sel-other-options{margin-top:.65rem;border-top:1px solid var(--sel-line);padding:.2rem 0}
.sel-other-options summary{width:fit-content;min-height:44px;padding:.65rem 0;cursor:pointer;font-weight:650;color:var(--sel-ink)}
.sel-other-options .sel-btn,.sel-other-options .sel-door{margin:.25rem .45rem .25rem 0}
.sel-checkout-bar{display:flex;flex:none;align-items:center;justify-content:space-between;gap:.65rem 1.25rem;padding:.8rem clamp(.85rem,3vw,1.45rem);border-top:1px solid var(--sel-line);background:var(--sel-paper);box-shadow:0 -.4rem 1.1rem #143c350b}
.sel-checkout-bar[hidden]{display:none}
.sel-checkout-bar .sel-bill{display:grid;gap:.1rem;padding:0;border:0}
.sel-checkout-bar .sel-bill h3{font:650 .82rem/1.15 var(--sans,system-ui)}
.sel-checkout-bar .sel-bill strong{font-size:1.3rem}
.sel-checkout-bar .sel-btn{flex-shrink:0}
@media(max-width:360px){.sel-checkout-bar{gap:.5rem;padding:.65rem}.sel-checkout-bar .sel-btn{font-size:.86rem;padding-inline:.65rem}}

.sel-dialog{width:min(43rem,calc(100% - 1.5rem));border:1px solid #476762;border-radius:.9rem;background:#faf5e9}
.sel-head{min-height:5rem;padding:1rem clamp(1rem,3vw,1.7rem);border-bottom:3px solid #e9a763;background:linear-gradient(90deg,#073d40 18%,rgb(7 53 55 / .91) 55%,rgb(4 42 43 / .67)),url("/assets/pacifico.webp") right 78% / cover}
.sel-head-copy{display:flex;align-items:baseline;flex-wrap:wrap;gap:.25rem .8rem}
.sel-dialog .sel-title{font-size:clamp(1.85rem,3.8vw,2.6rem);line-height:1.04}
.sel-tally{font-weight:650;color:#ffe0a5}
.sel-body{padding:clamp(.9rem,3vw,1.65rem);scrollbar-color:#8c9c90 #faf5e9}
.sel-service{padding:0 0 1rem;margin:0 0 .9rem;border:0;border-bottom:1px solid #c8c5b1;min-width:0}
.sel-service legend{padding:0;margin-bottom:.5rem;font-size:1.08rem;font-weight:720}
.sel-modes{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:.45rem}
.sel-mode{display:flex;align-items:center;justify-content:center;gap:.45rem;min-width:0;min-height:48px;padding:.35rem .4rem;border:1px solid #7e9085;border-radius:.45rem;cursor:pointer;background:#fffcf3;font-size:.94rem;font-weight:620;line-height:1.17}
.sel-mode input{accent-color:#145044;width:1rem;height:1rem;margin:0;flex:none}
.sel-mode:has(:checked){color:#133e34;border:2px solid #245744;background:#e4eedf;padding:calc(.35rem - 1px) calc(.4rem - 1px)}
.sel-mode:has(:focus-visible){outline:3px solid #994326;outline-offset:2px}
.sel-service .sel-service-hint{margin:.52rem 0 0;font-size:.9rem;color:#435f58}
.sel-lines{gap:0;background:#fffcf3;border:1px solid #c5c7b4;border-radius:.65rem;overflow:hidden}
.sel-dialog .sel-line{display:grid;grid-template-columns:minmax(0,1fr) auto;column-gap:.65rem;align-items:center;border:0;border-bottom:1px solid #d5d2c0;border-radius:0;padding:clamp(.75rem,2.3vw,1.05rem);background:transparent}
.sel-dialog .sel-line:last-child{border-bottom:0}
.sel-line .sel-line-top{grid-column:1/-1;display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center}
.sel-line .sel-line-top:has(.selection-photo-bag){grid-template-columns:auto minmax(0,1fr) auto;gap:.7rem;align-items:center}
.sel-line-top:has(.selection-photo-bag) .selection-photo-bag{grid-row:auto;width:clamp(4.6rem,9vw,6rem);border-radius:.38rem;overflow:hidden}
.sel-line-top:has(.selection-photo-bag) .sel-price{grid-column:auto}
.sel-line .sel-meta{margin:.2rem 0 0;font-size:.9rem;line-height:1.32}
.sel-line .sel-dish{line-height:1.12}.sel-line .sel-price{white-space:nowrap;font-size:1.12rem}
.sel-line-controls{align-self:start;flex-wrap:wrap;gap:.25rem .65rem;margin:.55rem 0 0}
.sel-stepper{background:#f3f1e6;border-color:#87988b;border-radius:2rem}
.sel-dialog .sel-step{width:2.75rem;border-radius:2rem}
.sel-quantity{min-width:1.1rem;font-weight:700}
.sel-line-controls .sel-text,.sel-note-disclosure summary{font-size:.91rem}
.sel-note-disclosure{min-width:0;max-width:100%;align-self:start;margin-top:.55rem}
.sel-note-disclosure summary{min-height:44px;display:flex;align-items:center;gap:.35rem;color:#24534e;cursor:pointer;font-weight:650;text-decoration:underline;text-underline-offset:.24em;list-style:none}
.sel-note-disclosure summary::before{content:"+";font-size:1.12rem}.sel-note-disclosure[open] summary::before{content:"−"}
.sel-note-disclosure[open]{grid-column:1/-1;margin-top:.1rem}
.sel-note-disclosure summary::-webkit-details-marker{display:none}
.sel-note-disclosure summary:focus-visible{outline:3px solid #994326;outline-offset:1px}
.sel-total .sel-saving{font-weight:700;color:#22513e}
.sel-checkout-bar{padding: .8rem clamp(1rem,3vw,1.65rem) max(.8rem,env(safe-area-inset-bottom));border-top-color:#9aaca0;background:#f1e5ca}
.sel-checkout-bar .sel-bill h3{font-size:.88rem;font-weight:620}
.sel-checkout-bar .sel-bill strong{font-size:1.6rem;line-height:1.18;font-variant-numeric:tabular-nums}
.sel-dialog .sel-checkout-bar .sel-btn{min-height:3.05rem;border-radius:.45rem;background:#0b4344}
.sel-dialog .sel-checkout-bar .sel-btn:hover{background:#145b59}
@media(max-width:30rem){
  .sel-dialog{width:calc(100% - .7rem);max-height:95dvh}.sel-dialog .sel-head{min-height:3.85rem;padding:.55rem .85rem}
  .sel-body{padding:.85rem}.sel-mode{gap:.25rem;font-size:.88rem}
  .sel-line .sel-line-top:has(.selection-photo-bag){grid-template-columns:auto minmax(0,1fr);gap:.16rem .65rem}
  .sel-line-top:has(.selection-photo-bag) .selection-photo-bag{grid-row:1/3}.sel-line-top:has(.selection-photo-bag) .sel-price{grid-column:2}
  .sel-line-controls{gap:.15rem .32rem}.sel-line .sel-text,.sel-note-disclosure summary{font-size:.85rem}
  .sel-note-disclosure{grid-column:1/-1;margin:0}.sel-note-disclosure summary{min-height:44px}
  .sel-checkout-bar .sel-btn{font-size:.94rem;padding:.5rem .75rem}
}
@media(max-height:490px){.sel-dialog{max-height:99dvh}.sel-dialog .sel-head{min-height:3rem;padding-block:.25rem}.sel-head .sel-title{font-size:1.6rem}.sel-checkout-bar{padding-block:.3rem}}
@media(forced-colors:active){.sel-mode:has(:checked){outline:2px solid Highlight;outline-offset:-3px}.sel-note-disclosure summary{color:LinkText}}
.sel-head:has(.sel-visit-label:not([hidden])) {display:grid;grid-template-columns:minmax(0,1fr) auto auto;align-items:center;gap:.75rem}
.sel-head-copy .sel-visit-label {flex:0 0 100%;color:#f6d9a9;font:700 .66rem/1.1 var(--sans,system-ui);letter-spacing:.15em;text-transform:uppercase}
.sel-head-copy .sel-visit-label[hidden],.sel-head .sel-visit-seal[hidden] {display:none}
.sel-head-copy {row-gap:.36rem}
.sel-body>[data-visita-pasos] {margin:0 0 .95rem}
.sel-lines:has(.sel-stop) {gap:.75rem;overflow:visible;border:0;background:transparent}
.sel-stop {display:grid;min-width:0;border:1px solid #c5c7b4;border-radius:.65rem;background:linear-gradient(105deg,var(--parada-papel,#f4edda) -30%,#fffcf3 48%)}
.sel-stop-title {display:flex;align-items:center;gap:.55rem;padding:.38rem .78rem;margin:-1px -1px 0;border-radius:.65rem .65rem 0 0;color:#fff9e8;background:linear-gradient(105deg,var(--parada-noche,#123e3b),var(--parada-tinta,#245a4e));font:400 clamp(1.05rem,3.3vw,1.23rem)/1.12 var(--serif,Georgia,serif)}
.sel-stop-title .parada-icono {width:1.7rem;height:1.7rem;padding:.25rem;flex:none;border-radius:50%;color:var(--parada-noche,#123e3b);background:var(--parada-vivo,#ffc26c)}
.sel-stop-title::after {content:"";flex:auto;margin-inline-start:.1rem;border-top:1px dashed #ffffff66}
.sel-head {border-bottom:3px solid;border-image:linear-gradient(90deg,#137075,#e8ac50 42%,#c45a39 69%,#924960) 1}
.sel-dialog .sel-checkout-bar {border-top:1px dashed #998a69}
@media(max-width:24rem){.sel-head:has(.sel-visit-label:not([hidden])){gap:.4rem}.sel-head .sel-tally{font-size:.79rem}.sel-head .sel-visit-label{font-size:.6rem}}
.sel-station-jumps {display:flex;flex-wrap:wrap;gap:.25rem .35rem;margin:-.2rem 0 .7rem}
.sel-dialog .sel-station-jump {display:inline-flex;align-items:center;gap:.26rem;min-height:40px;max-width:100%;margin:0;padding:.25rem .5rem;border:1px solid var(--parada-tinta,#28544b);border-radius:.5rem;color:var(--parada-tinta,#28544b);background:var(--parada-papel,#e4eadb);font:680 .78rem/1.15 var(--sans,system-ui)}
.sel-station-jump .parada-icono {width:1.12rem;height:1.12rem;flex:none}
.sel-station-jump:hover {box-shadow:inset 0 -2px var(--parada-tinta,#28544b)}
.sel-stop-title:focus-visible {outline:3px solid var(--parada-vivo,#ffc16a);outline-offset:-3px}
@media(pointer:coarse){.sel-dialog .sel-station-jump{min-height:44px}}
