/* assets/css/56-hourly-mobile-info-sheet.css
   Hourly / Daily mobile info sheet.
   Alcance:
   - solo móvil
   - compacta Incluye / Suplementos posibles como triggers
   - muestra el detalle en sábana informativa
   - no toca desktop
   - no toca pricing ni payload
*/

@media (max-width:720px){
  body[data-hourly-mobile-info-sheet-active="true"]{
    overflow:hidden;
  }

  .hourly-mobile-route .services-hourly-panel__disclaimers-groups{
    display:grid !important;
    grid-template-columns:repeat(2, minmax(0, 1fr)) !important;
    gap:8px !important;
  }

  .hourly-mobile-route .services-hourly-panel__disclaimer-group{
    min-width:0 !important;
    min-height:42px !important;
    display:flex !important;
    align-items:center !important;
    justify-content:center !important;
    padding:0 10px !important;
    border:1px solid rgba(236,220,189,.30) !important;
    border-radius:9px !important;
    background:rgba(15,17,19,.40) !important;
    cursor:pointer !important;
  }

  .hourly-mobile-route .services-hourly-panel__disclaimer-title{
    width:100% !important;
    margin:0 !important;
    padding:0 !important;
    border:0 !important;
    color:rgba(255,245,228,.78) !important;
    font-size:11.5px !important;
    line-height:1.2 !important;
    font-weight:800 !important;
    letter-spacing:0 !important;
    text-align:center !important;
  }
  
    .hourly-mobile-route .services-hourly-panel__config[data-services-hourly-mode-active="custom_long_term"] .services-hourly-panel__disclaimers-groups{
    grid-template-columns:1fr !important;
    justify-items:center !important;
  }

  .hourly-mobile-route .services-hourly-panel__config[data-services-hourly-mode-active="custom_long_term"] .services-hourly-panel__disclaimer-group.services-hourly-panel__disclaimer-group--includes-wide{
    width:max-content !important;
    max-width:calc(100vw - 36px) !important;
    justify-self:center !important;
  }

  .hourly-mobile-route .services-hourly-panel__config[data-services-hourly-mode-active="custom_long_term"] .services-hourly-panel__disclaimer-group.services-hourly-panel__disclaimer-group--includes-wide .services-hourly-panel__disclaimer-title{
    position:static !important;
    left:auto !important;
    width:auto !important;
    max-width:100% !important;
    transform:none !important;
    text-align:center !important;
  }

  .hourly-mobile-route .services-hourly-panel__disclaimers-columns,
  .hourly-mobile-route .services-hourly-panel__disclaimers{
    display:none !important;
  }

  .hourly-mobile-info-sheet[hidden]{
    display:none !important;
  }

  .hourly-mobile-info-sheet{
    position:fixed;
    top:calc(64px + env(safe-area-inset-top));
    right:0;
    bottom:0;
    left:0;
    z-index:91;
    display:block;
    padding:0;
    background:#0f1113;
    overflow:hidden;
    transform:translateY(0);
    opacity:1;
    transition:
      transform .28s cubic-bezier(.2,.8,.2,1),
      opacity .20s ease;
  }

  .hourly-mobile-info-sheet[aria-hidden="true"]{
    transform:translateY(28px);
    opacity:0;
    pointer-events:none;
  }

  .hourly-mobile-info-sheet__panel{
    display:flex;
    flex-direction:column;
    width:100%;
    height:100%;
    min-height:0;
    overflow:hidden;
    border-top:1px solid rgba(236,220,189,.16);
    background:#0f1113;
  }

  .hourly-mobile-info-sheet__panel::before{
    content:"";
    display:block;
    width:38px;
    height:4px;
    margin:10px auto 8px;
    border-radius:999px;
    background:rgba(255,245,228,.22);
    flex:0 0 auto;
  }

  .hourly-mobile-info-sheet__header{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap:12px;
    min-height:40px;
    padding:0 16px;
    background:#0f1113;
    flex:0 0 auto;
  }

  .hourly-mobile-info-sheet__title{
    margin:0;
    color:rgba(255,249,238,.94);
    font-size:14px;
    line-height:1.2;
    font-weight:750;
    letter-spacing:-.01em;
  }

  .hourly-mobile-info-sheet__close{
    min-width:44px;
    min-height:34px;
    padding:0 8px;
    border:0;
    border-radius:8px;
    background:transparent;
    color:rgba(255,245,228,.78);
    font:inherit;
    font-size:13px;
    line-height:1;
    font-weight:700;
  }

  .hourly-mobile-info-sheet__close:focus-visible{
    outline:2px solid rgba(31,122,109,.95);
    outline-offset:0;
  }

  .hourly-mobile-info-sheet__body{
    min-height:0;
    flex:1 1 auto;
    padding:10px 16px calc(16px + env(safe-area-inset-bottom));
    overflow:auto;
    background:#0f1113;
    -webkit-overflow-scrolling:touch;
  }

  .hourly-mobile-info-sheet__list{
    display:grid;
    gap:10px;
    margin:0;
    padding:0;
    list-style:none;
  }

  .hourly-mobile-info-sheet__list li{
    margin:0;
    padding:12px;
    border:1px solid rgba(236,220,189,.18);
    border-radius:9px;
    background:rgba(15,17,19,.46);
    color:rgba(255,249,238,.88);
    font-size:13.5px;
    line-height:1.35;
    font-weight:650;
  }
}