/* Opto Zero v4.34 — mobile-only floating cart + mobile success action placement */
.oc-mobile-follow-cart-v434{
  display:none;
}

@media(max-width:767px){
  /* Home already had its own floating button. Hide it only on phones so there is
     one consistent floating cart button across home/category/search/product pages. */
  .oc-home-floating-cart{
    display:none!important;
  }

  .oc-mobile-follow-cart-v434{
    position:fixed;
    right:9px;
    bottom:calc(12px + env(safe-area-inset-bottom, 0px));
    z-index:9350;
    min-width:112px;
    height:48px;
    display:flex;
    align-items:center;
    justify-content:center;
    gap:7px;
    padding:0 8px;
    border:1px solid rgba(255,255,255,.82);
    border-radius:16px;
    background:#0d5de6;
    color:#fff;
    box-shadow:0 12px 30px rgba(13,93,230,.28),0 3px 9px rgba(31,47,73,.13);
    font:inherit;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    touch-action:manipulation;
    transition:transform .18s ease,opacity .18s ease,box-shadow .18s ease;
  }

  .oc-mobile-follow-cart-v434[hidden],
  body.oc-lock .oc-mobile-follow-cart-v434{
    display:none!important;
  }

  .oc-mobile-follow-cart-v434:active{
    transform:scale(.97);
  }

  .oc-mobile-follow-cart-v434__icon{
    width:31px;
    height:31px;
    display:flex;
    align-items:center;
    justify-content:center;
    flex:0 0 31px;
    border-radius:10px;
    background:rgba(255,255,255,.15);
    color:#fff;
    font-size:15px;
  }

  .oc-mobile-follow-cart-v434__text{
    color:#fff;
    font-size:10.5px;
    line-height:1;
    font-weight:900;
    white-space:nowrap;
  }

  .oc-mobile-follow-cart-v434__count{
    min-width:24px;
    height:24px;
    display:inline-flex;
    align-items:center;
    justify-content:center;
    padding:0 6px;
    border-radius:999px;
    background:#fff;
    color:#0d5de6;
    font-size:10px;
    line-height:1;
    font-weight:950;
  }

  .oc-mobile-follow-cart-v434.is-updated{
    animation:ocMobileFollowCartPulseV434 .36s ease;
  }

  @keyframes ocMobileFollowCartPulseV434{
    0%{transform:scale(1)}
    45%{transform:scale(1.08)}
    100%{transform:scale(1)}
  }

  /* Success page only: move invoice/back-home actions directly under the
     confirmation block. Desktop is intentionally untouched. */
  .oc-success-v362 .oc-success-card{
    display:flex;
    flex-direction:column;
  }

  .oc-success-v362 .oc-success-status{order:1;}
  .oc-success-v362 .oc-success-actions{
    order:2;
    grid-template-columns:minmax(0,1.15fr) minmax(0,1fr)!important;
    gap:8px;
    padding:0 14px 14px;
  }
  .oc-success-v362 .oc-success-info{order:3;}
  .oc-success-v362 .oc-success-contacts{order:4;}
  .oc-success-v362 .oc-success-bottom-note{order:5;}

  .oc-success-v362 .oc-success-home{
    position:static!important;
    top:auto!important;
    left:auto!important;
    z-index:auto!important;
    min-height:43px;
    width:100%;
    padding:0 10px;
    font-size:10px;
  }

  .oc-success-v362 .oc-success-invoice-v412{
    width:100%;
    min-height:43px;
  }

  .oc-success-v362 .oc-success-manager{
    grid-column:1 / -1;
  }
}

@media(max-width:380px){
  .oc-mobile-follow-cart-v434{
    right:7px;
    min-width:106px;
    height:46px;
    padding:0 7px;
  }

  .oc-mobile-follow-cart-v434__text{
    font-size:10px;
  }
}
