/* V6.12 · Selectores refinados: tipografía limpia, títulos cortos y opciones legibles */
.premium-select-backdrop{padding:16px;background:rgba(47,36,41,.40);backdrop-filter:blur(5px);-webkit-backdrop-filter:blur(5px)}
.premium-select-dialog{width:min(440px,100%);max-height:min(75dvh,650px);background:#fffdfa;border:1px solid #e8d9d5;border-radius:24px;box-shadow:0 26px 70px rgba(54,35,43,.22);display:flex;flex-direction:column;overflow:hidden}
.premium-select-head{display:flex;align-items:flex-start;justify-content:space-between;gap:16px;padding:22px 22px 16px;border-bottom:1px solid #f0e6e2;background:linear-gradient(135deg,#fffaf8,#f9f1ef)}
.premium-select-heading{min-width:0;flex:1;display:flex;flex-direction:column;gap:5px}
.premium-select-title{display:block;font-family:Georgia,serif;font-size:clamp(18px,4.5vw,22px);line-height:1.27;font-weight:600;color:#553e42;overflow-wrap:anywhere}
.premium-select-subtitle{font-size:12px;letter-spacing:.02em;color:#9b8585;font-weight:500}
.premium-select-close{flex:0 0 36px;width:36px;height:36px;border-radius:50%;border:1px solid #e9d9d6;background:#fff;color:#815e65;font-size:22px;line-height:1;cursor:pointer}
.premium-select-options{padding:12px;overflow-y:auto;min-height:0;overscroll-behavior:contain;display:flex;flex-direction:column;gap:5px}
.premium-select-option{display:flex;align-items:center;justify-content:space-between;gap:14px;width:100%;min-height:52px;padding:13px 16px;text-align:left;border:1px solid transparent;border-radius:14px;background:#fff;color:#594b49;font-family:inherit;font-size:15px;font-weight:500;line-height:1.4;white-space:normal;overflow-wrap:anywhere;cursor:pointer}
.premium-select-option-text{display:block;min-width:0;flex:1}
.premium-select-option:hover,.premium-select-option:focus-visible{background:#f9f0ed;border-color:#efdfdb;outline:none}
.premium-select-option[aria-selected="true"]{background:#f8e9eb;border-color:#eed5da;color:#885462;font-weight:650}
.premium-select-option[aria-selected="true"]::after{content:'✓';flex:0 0 auto;font-size:18px;color:#a46d7d}
.premium-select-option:disabled{opacity:.45;cursor:not-allowed}
.premium-select-anchor{position:relative;display:block;width:100%;min-width:0}
.premium-select-native{position:absolute!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;clip-path:inset(50%)!important}
.premium-select-trigger{display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:48px;padding:12px 15px;text-align:left;border:1px solid #e3d3cf;border-radius:14px;background:#fffdfa;color:#594b49;font:inherit;box-shadow:0 4px 14px rgba(88,58,62,.035);cursor:pointer}
.premium-select-trigger .ps-value{display:block;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.premium-select-trigger .ps-chevron{flex:none;width:9px;height:9px;border-right:2px solid #aa8186;border-bottom:2px solid #aa8186;transform:rotate(45deg) translateY(-3px)}
.premium-select-trigger:focus-visible{outline:2px solid #b78290;outline-offset:2px}
.premium-select-trigger:disabled{opacity:.55;cursor:not-allowed}
@media(max-width:600px){.premium-select-backdrop{align-items:flex-end;padding:0}.premium-select-dialog{width:100%;max-height:78dvh;border-radius:24px 24px 0 0;padding-bottom:env(safe-area-inset-bottom,0px)}.premium-select-head{padding:20px 20px 15px}.premium-select-options{padding:10px 14px 14px}.premium-select-option{min-height:52px;padding:12px 14px;font-size:15px}}

/* V6.13 · La capa debe estar anclada a la ventana, no al final del documento. */
.premium-select-backdrop{
  position:fixed!important;
  inset:0!important;
  z-index:2147483000!important;
  box-sizing:border-box;
  width:100%;
  height:100vh;
  height:100dvh;
  display:flex!important;
  align-items:center;
  justify-content:center;
  overflow:hidden;
  isolation:isolate;
}
.premium-select-dialog{
  position:relative;
  margin:0 auto;
  flex:0 1 auto;
  min-width:0;
  max-height:calc(100dvh - 32px);
}
@media(max-width:600px){
  .premium-select-backdrop{
    align-items:flex-end!important;
    justify-content:center!important;
    padding:0!important;
  }
  .premium-select-dialog{
    margin:0;
    flex:0 1 auto;
    max-height:calc(100dvh - 12px);
  }
}
html.ps-modal-open{overflow:hidden!important;overscroll-behavior:none}
