/* v491 · Selectores de gustos estables y táctiles */
#productModal[data-type="multi-gustos"] .modal-card,
#productModal[data-type="multi-gustos"] .product-modal-card {
  width: min(720px, calc(100vw - 24px)) !important;
  max-height: min(860px, calc(100dvh - 24px)) !important;
  overflow: hidden !important;
}
#productModal[data-type="multi-gustos"] #modalBody {
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-gutter: stable;
}
.multi-choice-shell { display:grid; gap:14px; min-width:0; }
.multi-choice-head { display:flex; align-items:flex-start; justify-content:space-between; gap:12px; padding:14px; border:1px solid var(--line, rgba(255,145,32,.22)); border-radius:18px; background:var(--surface, rgba(255,255,255,.72)); }
.multi-choice-eyebrow { display:block; margin-bottom:4px; color:var(--accent, #ff8a16); font-size:.72rem; font-weight:900; letter-spacing:.08em; text-transform:uppercase; }
.multi-choice-head h4 { margin:0; font-size:1.05rem; line-height:1.2; }
.multi-choice-head p { margin:5px 0 0; opacity:.72; font-size:.84rem; line-height:1.35; }
.multi-choice-counter { flex:0 0 auto; display:flex; align-items:baseline; gap:3px; min-width:64px; justify-content:center; padding:9px 10px; border-radius:14px; border:1px solid rgba(255,138,22,.28); background:rgba(255,138,22,.09); }
.multi-choice-counter strong { font-size:1.35rem; line-height:1; }
.multi-choice-counter span { font-size:.78rem; font-weight:800; opacity:.7; }
.multi-choice-counter.ok { color:#fff; background:#1f9d55; border-color:#1f9d55; }
.multi-selection-panel { padding:12px; border-radius:16px; background:rgba(255,138,22,.055); border:1px solid rgba(255,138,22,.16); }
.multi-selection-title { display:flex; align-items:center; justify-content:space-between; gap:10px; margin-bottom:8px; font-size:.82rem; }
.multi-selection-title button { min-height:34px; padding:5px 10px; border-radius:999px; border:1px solid currentColor; background:transparent; color:var(--accent, #e86f00); font:inherit; font-weight:800; }
.multi-selection-title button:disabled { opacity:.35; }
.multi-selected-list { display:flex; flex-wrap:wrap; gap:7px; }
.multi-selected-chip { display:flex; align-items:center; gap:7px; max-width:100%; min-height:38px; padding:7px 10px; border:1px solid rgba(31,157,85,.35); border-radius:12px; background:rgba(31,157,85,.1); color:inherit; text-align:left; font:inherit; font-weight:750; }
.multi-selected-chip span { overflow:hidden; text-overflow:ellipsis; }
.multi-selected-chip b { color:#cc2e2e; font-size:1.05rem; }
.multi-empty-selection { margin:0; opacity:.62; font-size:.82rem; }
.multi-option-grid { display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:9px; }
.multi-option { display:grid; grid-template-columns:32px minmax(0,1fr) 34px; align-items:center; gap:9px; min-height:58px; padding:8px 9px; border:1px solid rgba(120,85,52,.2); border-radius:15px; background:var(--surface, #fff); color:inherit; text-align:left; font:inherit; touch-action:manipulation; -webkit-tap-highlight-color:transparent; }
.multi-option:active { transform:scale(.985); }
.multi-option[aria-disabled="true"]:not(.selected) { opacity:.46; }
.multi-option.selected { border-color:#ff8a16; background:linear-gradient(135deg,rgba(255,138,22,.18),rgba(255,185,85,.08)); box-shadow:0 0 0 2px rgba(255,138,22,.1); }
.multi-option-index,.multi-option-check { display:grid; place-items:center; width:32px; height:32px; border-radius:10px; font-weight:900; }
.multi-option-index { background:rgba(255,138,22,.09); font-size:.75rem; }
.multi-option-check { background:#ff8a16; color:#17100b; font-size:1.1rem; }
.multi-option.selected .multi-option-check { background:#1f9d55; color:white; }
.multi-option-label { min-width:0; font-size:.88rem; font-weight:800; line-height:1.22; }
.multi-note-box { padding:12px; border-radius:16px; border:1px solid rgba(120,85,52,.16); }
.multi-note-box label { display:flex; align-items:center; justify-content:space-between; gap:8px; margin-bottom:8px; font-size:.82rem; }
.multi-note-box label span { opacity:.6; }
.multi-note-box .note-area { width:100%; min-height:78px; resize:vertical; }
#productModal[data-type="multi-gustos"] #modalAddBtn:disabled { opacity:.48 !important; cursor:not-allowed; filter:saturate(.45); }
@media (max-width:600px) {
  #productModal[data-type="multi-gustos"] { padding:0 !important; align-items:stretch !important; }
  #productModal[data-type="multi-gustos"] .modal-card,
  #productModal[data-type="multi-gustos"] .product-modal-card { width:100vw !important; max-width:none !important; height:100dvh !important; max-height:100dvh !important; border-radius:0 !important; }
  #productModal[data-type="multi-gustos"] #modalBody { padding:10px 12px 18px !important; }
  .multi-choice-shell { gap:10px; }
  .multi-choice-head { padding:11px; border-radius:14px; }
  .multi-choice-head p { font-size:.78rem; }
  .multi-option-grid { grid-template-columns:1fr; gap:7px; }
  .multi-option { min-height:54px; border-radius:13px; }
  .multi-option-label { font-size:.86rem; }
  .multi-selection-panel { padding:10px; }
}
html[data-theme="dark"] .multi-choice-head,
body.dark .multi-choice-head,
html[data-theme="dark"] .multi-option,
body.dark .multi-option,
html[data-theme="dark"] .multi-note-box,
body.dark .multi-note-box { background:#241a14; border-color:rgba(255,151,48,.25); }
html[data-theme="dark"] .multi-selection-panel,
body.dark .multi-selection-panel { background:rgba(255,145,32,.08); }
