/* UDLESS Pricing staging v0.2.41
   Mobile package carousel, custom editor-first flow, eight distinct
   category icons, lighter controls and gentle desktop visual stacking.
   No catalog changes and no ghost-card reparenting. */

/* Custom quote CTA — border and background ALWAYS share the same fill. */
.upe.upe-stage-public .upe-toolbar button[data-customquote]{
  background:#00ff99!important;
  border:2px solid #00ff99!important;
  color:#02271d!important;
  box-shadow:none!important;
}
.upe.upe-stage-public .upe-toolbar button[data-customquote]:hover{
  background:#b4ffdd!important;
  border-color:#b4ffdd!important;
  color:#03291e!important;
  box-shadow:none!important;
  filter:none!important;
}
.upe.upe-stage-public .upe-toolbar button[data-customquote]:focus-visible{
  outline:2px solid #d7ffec!important;
  outline-offset:3px!important;
}

/* Text contrast: shared with the calmer, established customizer palette. */
.upe.upe-stage-public .upe-card .upe-card-desc,
.upe.upe-stage-public .upe-card .upe-features li,
.upe.upe-stage-public .upe-customizer .upe-editor-heading>p:last-child,
.upe.upe-stage-public .upe-customizer .upe-addon-info small{
  color:#d3e0df!important;
}
.upe.upe-stage-public .upe-card .upe-best,
.upe.upe-stage-public .upe-card .upe-features li strong{
  color:#b6ffd6!important;
}
.upe.upe-stage-public .upe-card h3,
.upe.upe-stage-public .upe-customizer h3,
.upe.upe-stage-public .upe-summary .upe-summary-row strong{
  color:#f7fff9!important;
}
.upe.upe-stage-public .upe-card .upe-card-price span,
.upe.upe-stage-public .upe-customizer .upe-editor-planline span,
.upe.upe-stage-public .upe-summary .upe-planning-stats span,
.upe.upe-stage-public .upe-summary .upe-summary-note{
  color:#d4e3df!important;
}
.upe.upe-stage-public .upe-customizer .upe-config-disclaimer,
.upe.upe-stage-public .upe-summary .upe-quick-validation p,
.upe.upe-stage-public .upe-summary .upe-plan-caution{
  color:#c6d8d9!important;
}

/* Desktop visual depth (a quiet card stack behind the editor, not fake
   duplicate cards). The actual cards stay in one normal DOM layout. */
@container (min-width:851px){
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable{
    --upe-card-enter-x:-20px;
    --upe-panel-enter-x:42px;
    position:relative!important;
    isolation:isolate!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-center{
    --upe-card-enter-x:22px;
    --upe-panel-enter-x:-34px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right{
    --upe-card-enter-x:22px;
    --upe-panel-enter-x:-42px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after{
    content:"";
    position:absolute;
    pointer-events:none!important;
    border:0!important;
    border-radius:27px!important;
    z-index:0!important;
    opacity:0;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-edit-right)::before{
    left:calc(33.333% + 19px);right:11px;top:12px;bottom:-10px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-edit-right)::after{
    left:calc(33.333% + 28px);right:20px;top:21px;bottom:-17px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right::before{
    left:10px;right:calc(33.333% + 20px);top:12px;bottom:-10px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right::after{
    left:19px;right:calc(33.333% + 29px);top:21px;bottom:-17px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before{
    background:#173a35!important;
    animation:upe-v241-stack-enter .42s cubic-bezier(.22,1,.36,1) both;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after{
    background:#102b35!important;
    animation:upe-v241-stack-enter .50s cubic-bezier(.22,1,.36,1) both;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable>.upe-fixed-card,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable>.upe-customizer{
    position:relative!important;
    z-index:1!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-editor-is-closing)>.upe-fixed-card{
    animation-duration:400ms!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable:not(.upe-editor-is-closing)>.upe-customizer{
    animation-duration:450ms!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-editor-is-closing::before,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-editor-is-closing::after{
    opacity:.22;
    animation:upe-v241-stack-exit .30s ease-in both!important;
  }
}
@keyframes upe-v241-stack-enter{
  0%{opacity:0;transform:translateY(21px) scale(.985)}
  100%{opacity:.28;transform:translateY(0) scale(1)}
}
@keyframes upe-v241-stack-exit{
  0%{opacity:.28;transform:translateY(0)}
  100%{opacity:0;transform:translateY(-9px)}
}

/* Custom dropdown is its own tonal surface, not four concentric borders.
   Keep the six compact icon tabs unchanged: their borders already work. */
@container (max-width:760px){
  .upe.upe-stage-public .upe-nav-menu-trigger{
    background:#0b2c2a!important;
    border:2px solid #0b2c2a!important;
    box-shadow:none!important;
  }
  .upe.upe-stage-public .upe-nav-menu-trigger:hover,
  .upe.upe-stage-public .upe-nav-menu[data-open=true] .upe-nav-menu-trigger{
    background:#15473a!important;
    border-color:#15473a!important;
  }
  .upe.upe-stage-public .upe-nav-menu-chevron{
    background:#154838!important;
    border:2px solid #154838!important;
    color:#b6ffdc!important;
  }
  .upe.upe-stage-public .upe-nav-menu-trigger:hover .upe-nav-menu-chevron,
  .upe.upe-stage-public .upe-nav-menu[data-open=true] .upe-nav-menu-chevron{
    background:#22664a!important;
    border-color:#22664a!important;
    color:#00ff99!important;
  }
  .upe.upe-stage-public .upe-nav-menu-options{
    background:#0d1c2a!important;
    border:2px solid #0d1c2a!important;
    box-shadow:0 15px 34px #00000048!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option{
    background:transparent!important;
    border:2px solid transparent!important;
    color:#e9f5f0!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option:hover,
  .upe.upe-stage-public .upe-nav-menu-option:focus-visible{
    background:#1a4338!important;
    border-color:#1a4338!important;
    color:#fff!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option[aria-checked=true]{
    background:#164f39!important;
    border-color:#164f39!important;
    color:#d7ffe8!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option[aria-checked=true]:hover{
    background:#226249!important;
    border-color:#226249!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option:focus-visible{
    outline:2px solid #00ff99!important;
    outline-offset:-2px!important;
  }
  .upe.upe-stage-public .upe-nav-menu-option-icon{color:#abf3cf!important}

  /* Genuine swipeable pricing cards. The next card peeks 29px into view. */
  .upe.upe-stage-public .upe-cards{
    box-sizing:border-box!important;
    display:flex!important;
    grid-template-columns:none!important;
    align-items:flex-start!important;
    justify-content:flex-start!important;
    gap:12px!important;
    width:100%!important;
    max-width:100%!important;
    min-width:0!important;
    min-height:0!important;
    overflow-x:auto!important;
    overflow-y:hidden!important;
    scroll-snap-type:x mandatory!important;
    scroll-padding-inline:0!important;
    overscroll-behavior-inline:contain;
    -webkit-overflow-scrolling:touch;
    scrollbar-width:none;
    padding:2px 0 3px!important;
    margin:0!important;
    transition:height .22s cubic-bezier(.22,1,.36,1)!important;
  }
  .upe.upe-stage-public .upe-cards::-webkit-scrollbar{display:none}
  .upe.upe-stage-public .upe-cards>.upe-card{
    box-sizing:border-box!important;
    flex:0 0 calc(100% - 29px)!important;
    width:calc(100% - 29px)!important;
    max-width:calc(100% - 29px)!important;
    min-width:0!important;
    min-height:0!important;
    height:auto!important;
    align-self:flex-start!important;
    scroll-snap-align:start!important;
    scroll-snap-stop:normal;
    margin:0!important;
  }
  .upe.upe-stage-public .upe-carousel-progress{
    display:flex!important;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:12px 0 5px!important;
    margin:0!important;
    min-height:22px;
  }
  .upe.upe-stage-public .upe-carousel-progress-dot{
    box-sizing:border-box!important;
    display:block!important;
    flex:0 0 19px!important;
    width:19px!important;
    height:5px!important;
    min-width:19px!important;
    min-height:5px!important;
    padding:0!important;
    border:0!important;
    border-radius:999px!important;
    background:#37665a!important;
    box-shadow:none!important;
    transition:background-color .18s ease,width .18s ease,flex-basis .18s ease!important;
    cursor:pointer;
  }
  .upe.upe-stage-public .upe-carousel-progress-dot[aria-current=true]{
    width:31px!important;
    flex-basis:31px!important;
    background:#00e39a!important;
  }
  .upe.upe-stage-public .upe-carousel-progress-dot:hover{
    background:#7dffd0!important;
  }
  .upe.upe-stage-public .upe-carousel-progress-dot:focus-visible{
    outline:2px solid #00ff99!important;
    outline-offset:4px!important;
  }
  /* Remove an otherwise long vertical stretch after a short visible slide. */
  .upe.upe-stage-public .upe-cards + .upe-carousel-progress + .upe-footer-note{
    margin-top:11px!important;
  }
  .upe.upe-stage-public .upe-footer-note{
    margin-top:11px!important;
    padding-top:13px!important;
  }

  /* On mobile, the original customizer comes FIRST.
     The original package remains fully accessible beneath, at 95% width. */
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable.upe-edit-right{
    display:flex!important;
    flex-direction:column!important;
    align-items:stretch!important;
    gap:9px!important;
    width:100%!important;
    min-width:0!important;
    overflow:visible!important;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable>.upe-customizer{
    box-sizing:border-box!important;
    order:0!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:100%!important;
    max-width:100%!important;
    align-self:stretch!important;
    margin:0!important;
    scroll-margin-top:90px;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable>.upe-fixed-card{
    box-sizing:border-box!important;
    order:1!important;
    grid-column:auto!important;
    grid-row:auto!important;
    width:95%!important;
    max-width:95%!important;
    align-self:center!important;
    margin:9px auto 0!important;
    opacity:.96;
  }
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable>.upe-fixed-card>.upe-card{
    width:100%!important;
    max-width:100%!important;
  }
  .upe.upe-stage-public .upe-cards{scroll-margin-top:90px}
}
@container (max-width:375px){
  .upe.upe-stage-public .upe-cards>.upe-card{
    flex-basis:calc(100% - 25px)!important;
    width:calc(100% - 25px)!important;
    max-width:calc(100% - 25px)!important;
  }
}
@media(prefers-reduced-motion:reduce){
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::before,
  .upe.upe-stage-public .upe-edit-layout.upe-editor-stable::after{
    animation:none!important;
    transition:none!important;
    opacity:.15!important;
  }
  .upe.upe-stage-public .upe-cards{
    scroll-behavior:auto!important;
    transition:none!important;
  }
  .upe.upe-stage-public .upe-carousel-progress-dot{
    transition:none!important;
  }
}