/* V154 — cute youthful desktop 2/4 view controls */

@media (min-width:721px){
  body.order-redesign .result-head{
    min-height:66px!important;
  }

  body.order-redesign .result-head-right{
    gap:12px!important;
  }

  /* cute segmented control */
  body.order-redesign .mobile-view-toggle{
    display:inline-flex!important;
    align-items:center!important;
    justify-content:center!important;
    gap:6px!important;
    padding:5px!important;
    margin:0!important;
    border:1px solid color-mix(in srgb,var(--ref-accent,#a779cf) 35%,#ffffff)!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#fff7fc 0%,#f3efff 54%,#fff8dc 100%)!important;
    box-shadow:
      0 5px 14px rgba(102,75,126,.12),
      inset 0 1px 0 rgba(255,255,255,.92)!important;
    white-space:nowrap!important;
  }

  body.order-redesign .view-toggle-btn{
    position:relative!important;
    min-width:78px!important;
    height:38px!important;
    min-height:38px!important;
    padding:0 15px!important;
    margin:0!important;
    border:1px solid transparent!important;
    border-radius:999px!important;
    background:transparent!important;
    color:#5f5b70!important;
    font:800 13px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
    letter-spacing:.1px!important;
    white-space:nowrap!important;
    box-shadow:none!important;
    transition:transform .16s ease, box-shadow .16s ease, background .16s ease, color .16s ease!important;
  }

  body.order-redesign .view-toggle-btn[data-mobile-view-mode="2"]::before{
    content:"▥";
    margin-right:6px;
    font-size:13px;
    opacity:.78;
  }
  body.order-redesign .view-toggle-btn[data-mobile-view-mode="4"]::before{
    content:"▦";
    margin-right:6px;
    font-size:13px;
    opacity:.78;
  }

  body.order-redesign .view-toggle-btn:hover{
    background:rgba(255,255,255,.82)!important;
    color:#3c3650!important;
    transform:translateY(-1px)!important;
  }

  body.order-redesign .view-toggle-btn:focus-visible{
    outline:3px solid color-mix(in srgb,var(--ref-accent,#a779cf) 30%,transparent)!important;
    outline-offset:2px!important;
  }

  body.order-redesign .view-toggle-btn.is-active{
    border-color:#e8b93f!important;
    background:linear-gradient(135deg,#ffe37b 0%,#ffd0dc 52%,#d9c8ff 100%)!important;
    color:#2c2438!important;
    box-shadow:
      0 5px 12px rgba(174,119,160,.20),
      inset 0 1px 0 rgba(255,255,255,.75)!important;
    transform:none!important;
  }

  /* item count as a soft cute badge */
  body.order-redesign #resultCount,
  body.order-redesign .result-head .count{
    min-height:38px!important;
    height:38px!important;
    padding:0 15px!important;
    border:1px solid #ead4e9!important;
    border-radius:999px!important;
    background:linear-gradient(135deg,#fff7fb 0%,#f7f1ff 100%)!important;
    color:#70667a!important;
    font:800 11px/1 system-ui,-apple-system,"Segoe UI",sans-serif!important;
    box-shadow:0 4px 10px rgba(107,76,120,.08)!important;
  }

  html[data-theme="dark"] body.order-redesign .mobile-view-toggle{
    border-color:#58627a!important;
    background:linear-gradient(135deg,#242b3a 0%,#2e2940 55%,#33301f 100%)!important;
    box-shadow:0 6px 16px rgba(0,0,0,.28),inset 0 1px 0 rgba(255,255,255,.05)!important;
  }

  html[data-theme="dark"] body.order-redesign .view-toggle-btn{
    color:#d7dbea!important;
  }

  html[data-theme="dark"] body.order-redesign .view-toggle-btn:hover{
    background:#343b4d!important;
    color:#ffffff!important;
  }

  html[data-theme="dark"] body.order-redesign .view-toggle-btn.is-active{
    border-color:#d7ae45!important;
    background:linear-gradient(135deg,#f1cc58 0%,#d995b8 55%,#8e80cf 100%)!important;
    color:#201a2a!important;
  }

  html[data-theme="dark"] body.order-redesign #resultCount,
  html[data-theme="dark"] body.order-redesign .result-head .count{
    border-color:#51596e!important;
    background:linear-gradient(135deg,#242a38 0%,#2f2a3b 100%)!important;
    color:#e7e9f2!important;
    box-shadow:0 4px 10px rgba(0,0,0,.22)!important;
  }
}

@media (min-width:721px) and (max-width:980px){
  body.order-redesign .mobile-view-toggle{gap:4px!important;padding:4px!important;}
  body.order-redesign .view-toggle-btn{min-width:68px!important;height:36px!important;min-height:36px!important;padding:0 11px!important;font-size:12px!important;}
  body.order-redesign #resultCount,
  body.order-redesign .result-head .count{height:36px!important;min-height:36px!important;padding:0 12px!important;font-size:10px!important;}
}
