/* Cosmetic Point Mobile Homepage Cleanup v3 */
@media (max-width: 760px) {
  /* Header: true left alignment for hamburger */
  .cp11-header__main{
    grid-template-columns:44px minmax(0,1fr) auto!important;
    padding-left:8px!important;
    padding-right:10px!important;
    column-gap:6px!important;
  }
  .cp11-mobile-menu-btn{
    grid-column:1!important;
    justify-self:start!important;
    align-self:center!important;
    width:42px!important;
    min-width:42px!important;
    height:42px!important;
    margin:0!important;
    padding:0!important;
    display:flex!important;
    align-items:center!important;
    justify-content:flex-start!important;
    font-size:31px!important;
    line-height:1!important;
    transform:none!important;
  }

  /* Mobile category rail directly after search */
  .cp-mobile-category-rail{
    display:block!important;
    padding:10px 0 9px!important;
    background:#fff!important;
    border-bottom:1px solid rgba(80,15,99,.08)!important;
    overflow:hidden!important;
  }
  .cp-mobile-category-rail__track{
    display:flex!important;
    gap:13px!important;
    overflow-x:auto!important;
    padding:0 12px 5px!important;
    scroll-snap-type:x proximity!important;
    scrollbar-width:none!important;
    -webkit-overflow-scrolling:touch!important;
  }
  .cp-mobile-category-rail__track::-webkit-scrollbar{display:none!important}
  .cp-mobile-category-rail__item{
    flex:0 0 72px!important;
    min-width:72px!important;
    display:flex!important;
    flex-direction:column!important;
    align-items:center!important;
    gap:6px!important;
    color:#211126!important;
    text-decoration:none!important;
    scroll-snap-align:start!important;
  }
  .cp-mobile-category-rail__icon{
    width:58px!important;
    height:58px!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    overflow:hidden!important;
    background:linear-gradient(145deg,#f7e8fb,#f1d9f5)!important;
    border:1px solid rgba(101,17,123,.12)!important;
    box-shadow:0 4px 12px rgba(65,12,81,.07)!important;
  }
  .cp-mobile-category-rail__icon img{
    width:100%!important;
    height:100%!important;
    object-fit:cover!important;
  }
  .cp-mobile-category-rail__icon span{
    width:36px!important;
    height:36px!important;
    border-radius:50%!important;
    display:flex!important;
    align-items:center!important;
    justify-content:center!important;
    color:#fff!important;
    background:linear-gradient(135deg,#601078,#9f1c91)!important;
    font-size:18px!important;
  }
  .cp-mobile-category-rail__item strong{
    width:100%!important;
    font-size:10px!important;
    line-height:1.2!important;
    font-weight:700!important;
    text-align:center!important;
    display:-webkit-box!important;
    -webkit-line-clamp:2!important;
    -webkit-box-orient:vertical!important;
    overflow:hidden!important;
  }

  /* Desktop-style category grid is redundant on mobile */
  .cp-home-categories-desktop{display:none!important}

  /* Hero follows category rail with compact spacing */
  .cp-mobile-category-rail + .cp-hero-carousel{margin-top:8px!important}
  .cp-hero-carousel{margin-left:10px!important;margin-right:10px!important;width:auto!important}

  /* Remove both floating commerce/chat buttons on mobile; header/bottom cart remains */
  .cpf-cart__fab,
  .cp-whatsapp-float,
  .whatsapp-float,
  .floating-whatsapp,
  .cp-floating-chat,
  [data-whatsapp-float],
  [data-chat-float]{display:none!important}

  /* Remove promotional trust blocks and close footer gap */
  .cp-feature-grid{display:none!important}
  .cp-footer-benefits{display:none!important}
  .cp-footer-premium{padding-bottom:0!important;margin-bottom:0!important}
  .cp-footer-bottom{margin-bottom:0!important;padding-bottom:0!important}
  .cp-footer-bottom-inner{padding-bottom:14px!important}
  .cp-payment-row{margin-bottom:0!important;padding-bottom:0!important}

  /* Keep footer above fixed navigation without blank white area */
  body{padding-bottom:72px!important}
  .cp-mobile-bottom-nav{z-index:1000!important}
}
@media (min-width: 761px){.cp-mobile-category-rail{display:none!important}}
