/* AvlixBD 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}}

/* =========================================================
   CP_CATEGORY_BRAND_ONE_ROW_V12
   Homepage category + brand premium one-row UI
   Desktop: one row
   Mobile: horizontal one-row scroll
   ========================================================= */

.cp-home-categories-desktop,
.cp-brand-section-v4 {
    padding: 28px 3.2% !important;
    background: #fff !important;
    overflow: hidden !important;
}

.cp-home-categories-desktop .cp-home-head,
.cp-brand-section-v4 .cp-home-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    margin: 0 0 18px !important;
}

.cp-home-categories-desktop .cp-home-head h2,
.cp-brand-section-v4 .cp-home-head h2 {
    margin: 0 !important;
    color: #172033 !important;
    font-size: 26px !important;
    line-height: 1.15 !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
}

.cp-home-categories-desktop .cp-home-head p,
.cp-brand-section-v4 .cp-home-head p {
    display: none !important;
}

.cp-home-categories-desktop .cp-home-head a,
.cp-brand-section-v4 .cp-home-head a {
    color: #d6297c !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}


/* Category row */
.cp-home-categories-desktop .cp-icon-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    gap: 22px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 2px 2px 8px !important;
}

.cp-home-categories-desktop .cp-icon-grid::-webkit-scrollbar {
    display: none !important;
}

.cp-home-categories-desktop .cp-icon-card {
    flex: 0 0 112px !important;
    width: 112px !important;
    min-width: 112px !important;
    max-width: 112px !important;
    min-height: auto !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    transform: none !important;
}

.cp-home-categories-desktop .cp-icon-card img,
.cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
.cp-home-categories-desktop .cp-icon-card > span:first-child {
    width: 92px !important;
    height: 92px !important;
    min-width: 92px !important;
    min-height: 92px !important;
    max-width: 92px !important;
    max-height: 92px !important;
    margin: 0 auto 10px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.18) 38%, transparent 60%),
        linear-gradient(145deg, #ffe4ee 0%, #fff3f7 55%, #fff 100%) !important;
    border: 1px solid rgba(214, 41, 124, .10) !important;
    box-shadow: 0 14px 34px rgba(214, 41, 124, .105) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
    padding: 16px !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.cp-home-categories-desktop .cp-icon-card img {
    object-fit: contain !important;
}

.cp-home-categories-desktop .cp-icon-card strong,
.cp-home-categories-desktop .cp-icon-card span:not(:first-child) {
    display: block !important;
    margin: 0 !important;
    color: #1d2433 !important;
    font-size: 13px !important;
    line-height: 1.25 !important;
    font-weight: 900 !important;
    letter-spacing: -.01em !important;
}

.cp-home-categories-desktop .cp-icon-card:hover img,
.cp-home-categories-desktop .cp-icon-card:hover .cp-icon-placeholder,
.cp-home-categories-desktop .cp-icon-card:hover > span:first-child {
    transform: translateY(-4px) !important;
    border-color: rgba(214, 41, 124, .22) !important;
    box-shadow: 0 18px 42px rgba(214, 41, 124, .18) !important;
}


/* Brand row */
.cp-brand-section-v4 .cp-brand-rail-v4,
.cp-brand-section-v4 .cp-brand-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    align-items: stretch !important;
    gap: 16px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 2px 2px 10px !important;
}

.cp-brand-section-v4 .cp-brand-rail-v4::-webkit-scrollbar,
.cp-brand-section-v4 .cp-brand-grid::-webkit-scrollbar {
    display: none !important;
}

.cp-brand-section-v4 .cp-brand-card,
.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 154px !important;
    width: 154px !important;
    min-width: 154px !important;
    max-width: 154px !important;
    height: 74px !important;
    min-height: 74px !important;
    border-radius: 16px !important;
    background: #fff !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
    box-shadow: 0 10px 26px rgba(17, 24, 39, .045) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    padding: 14px 18px !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    transition: transform .22s ease, box-shadow .22s ease, border-color .22s ease !important;
}

.cp-brand-section-v4 .cp-brand-card img,
.cp-brand-section-v4 .cp-brand-card-v4 img {
    max-width: 116px !important;
    max-height: 42px !important;
    width: auto !important;
    height: auto !important;
    object-fit: contain !important;
    filter: grayscale(8%) contrast(1.03) !important;
}

.cp-brand-section-v4 .cp-brand-card strong,
.cp-brand-section-v4 .cp-brand-card-v4 strong {
    color: #1d2433 !important;
    font-size: 15px !important;
    font-weight: 950 !important;
    text-align: center !important;
    line-height: 1.15 !important;
}

.cp-brand-section-v4 .cp-brand-card:hover,
.cp-brand-section-v4 .cp-brand-card-v4:hover {
    transform: translateY(-3px) !important;
    border-color: rgba(214, 41, 124, .32) !important;
    box-shadow: 0 16px 36px rgba(214, 41, 124, .13) !important;
}


/* Mobile app-like compact rail */
@media (max-width: 768px) {
    .cp-home-categories-desktop,
    .cp-brand-section-v4 {
        padding: 18px 14px !important;
    }

    .cp-home-categories-desktop .cp-home-head,
    .cp-brand-section-v4 .cp-home-head {
        margin-bottom: 12px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2,
    .cp-brand-section-v4 .cp-home-head h2 {
        font-size: 18px !important;
        letter-spacing: -.025em !important;
    }

    .cp-home-categories-desktop .cp-home-head a,
    .cp-brand-section-v4 .cp-home-head a {
        font-size: 12px !important;
    }

    .cp-home-categories-desktop .cp-icon-grid,
    .cp-brand-section-v4 .cp-brand-rail-v4,
    .cp-brand-section-v4 .cp-brand-grid {
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .cp-home-categories-desktop .cp-icon-grid {
        gap: 14px !important;
    }

    .cp-home-categories-desktop .cp-icon-card {
        flex-basis: 72px !important;
        width: 72px !important;
        min-width: 72px !important;
        max-width: 72px !important;
    }

    .cp-home-categories-desktop .cp-icon-card img,
    .cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
    .cp-home-categories-desktop .cp-icon-card > span:first-child {
        width: 62px !important;
        height: 62px !important;
        min-width: 62px !important;
        min-height: 62px !important;
        max-width: 62px !important;
        max-height: 62px !important;
        padding: 10px !important;
        margin-bottom: 7px !important;
        box-shadow: 0 9px 22px rgba(214, 41, 124, .10) !important;
    }

    .cp-home-categories-desktop .cp-icon-card strong,
    .cp-home-categories-desktop .cp-icon-card span:not(:first-child) {
        font-size: 10.5px !important;
        line-height: 1.18 !important;
        font-weight: 850 !important;
    }

    .cp-brand-section-v4 .cp-brand-rail-v4,
    .cp-brand-section-v4 .cp-brand-grid {
        gap: 10px !important;
    }

    .cp-brand-section-v4 .cp-brand-card,
    .cp-brand-section-v4 .cp-brand-card-v4 {
        flex-basis: 92px !important;
        width: 92px !important;
        min-width: 92px !important;
        max-width: 92px !important;
        height: 54px !important;
        min-height: 54px !important;
        border-radius: 11px !important;
        padding: 9px 10px !important;
    }

    .cp-brand-section-v4 .cp-brand-card img,
    .cp-brand-section-v4 .cp-brand-card-v4 img {
        max-width: 70px !important;
        max-height: 28px !important;
    }

    .cp-brand-section-v4 .cp-brand-card strong,
    .cp-brand-section-v4 .cp-brand-card-v4 strong {
        font-size: 11px !important;
    }
}


/* =========================================================
   CP_CATEGORY_BRAND_REFINED_CAROUSEL_V13
   Categories: heading left + view all right + carousel
   Brands: better logo fit and premium card ratio
   ========================================================= */

.cp-home-categories-desktop .cp-home-head {
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
}

.cp-home-categories-desktop .cp-home-head h2 {
    margin: 0 !important;
    font-size: 26px !important;
    font-weight: 950 !important;
    color: #162033 !important;
    letter-spacing: -0.035em !important;
}

.cp-home-categories-desktop .cp-home-head h2::before {
    content: "" !important;
    display: inline-block !important;
    width: 8px !important;
    height: 22px !important;
    border-radius: 999px !important;
    margin-right: 9px !important;
    vertical-align: -4px !important;
    background: linear-gradient(180deg, #d6297c, #ff8dbd) !important;
}

.cp-home-categories-desktop .cp-home-head a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    padding: 8px 13px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .13) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    font-weight: 950 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.cp-home-categories-desktop .cp-home-head a::after {
    content: "→" !important;
    font-size: 14px !important;
    line-height: 1 !important;
}

.cp-category-carousel-shell {
    position: relative !important;
    margin-top: 4px !important;
}

.cp-home-categories-desktop .cp-category-carousel,
.cp-home-categories-desktop .cp-icon-grid {
    display: flex !important;
    grid-template-columns: none !important;
    flex-wrap: nowrap !important;
    gap: 20px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 46px 12px 2px !important;
}

.cp-home-categories-desktop .cp-category-carousel::-webkit-scrollbar,
.cp-home-categories-desktop .cp-icon-grid::-webkit-scrollbar {
    display: none !important;
}

.cp-home-categories-desktop .cp-icon-card {
    scroll-snap-align: start !important;
    flex: 0 0 104px !important;
    width: 104px !important;
    min-width: 104px !important;
    max-width: 104px !important;
}

.cp-home-categories-desktop .cp-icon-card img,
.cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
.cp-home-categories-desktop .cp-icon-card > span:first-child {
    width: 86px !important;
    height: 86px !important;
    min-width: 86px !important;
    min-height: 86px !important;
    max-width: 86px !important;
    max-height: 86px !important;
    padding: 14px !important;
}

.cp-cat-nav {
    position: absolute !important;
    top: 38px !important;
    z-index: 5 !important;
    width: 34px !important;
    height: 34px !important;
    border: 1px solid rgba(214, 41, 124, .18) !important;
    border-radius: 999px !important;
    background: rgba(255, 255, 255, .96) !important;
    color: #d6297c !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .10) !important;
    display: grid !important;
    place-items: center !important;
    font-size: 25px !important;
    font-weight: 800 !important;
    line-height: 1 !important;
    cursor: pointer !important;
}

.cp-cat-nav--prev {
    left: -10px !important;
}

.cp-cat-nav--next {
    right: -10px !important;
}

.cp-cat-nav:hover {
    background: #d6297c !important;
    color: #fff !important;
}


/* Brand section: better image fit */
.cp-brand-section-v4 .cp-home-head h2 {
    font-size: 26px !important;
    font-weight: 950 !important;
    color: #162033 !important;
    letter-spacing: -0.035em !important;
}

.cp-brand-section-v4 .cp-brand-rail-v4,
.cp-brand-section-v4 .cp-brand-grid {
    gap: 14px !important;
    align-items: stretch !important;
}

.cp-brand-section-v4 .cp-brand-card,
.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 170px !important;
    width: 170px !important;
    min-width: 170px !important;
    max-width: 170px !important;
    height: 82px !important;
    min-height: 82px !important;
    padding: 12px 16px !important;
    border-radius: 18px !important;
    background:
        linear-gradient(180deg, rgba(255, 247, 250, .58), rgba(255, 255, 255, 1)) !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
}

.cp-brand-section-v4 .cp-brand-card img,
.cp-brand-section-v4 .cp-brand-card-v4 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 138px !important;
    max-height: 54px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    filter: none !important;
}

.cp-brand-section-v4 .cp-brand-card .cp-icon-placeholder,
.cp-brand-section-v4 .cp-brand-card-v4 .cp-icon-placeholder {
    width: 54px !important;
    height: 54px !important;
    border-radius: 14px !important;
    display: grid !important;
    place-items: center !important;
    background: #fff0f6 !important;
    color: #d6297c !important;
}

.cp-brand-section-v4 .cp-brand-card strong,
.cp-brand-section-v4 .cp-brand-card-v4 strong {
    max-width: 138px !important;
    white-space: normal !important;
    overflow: hidden !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2 !important;
    -webkit-box-orient: vertical !important;
}


/* Mobile carousel polish */
@media (max-width: 768px) {
    .cp-home-categories-desktop .cp-home-head h2,
    .cp-brand-section-v4 .cp-home-head h2 {
        font-size: 19px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2::before {
        width: 6px !important;
        height: 18px !important;
        margin-right: 7px !important;
        vertical-align: -3px !important;
    }

    .cp-home-categories-desktop .cp-home-head a {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .cp-cat-nav {
        display: none !important;
    }

    .cp-home-categories-desktop .cp-category-carousel,
    .cp-home-categories-desktop .cp-icon-grid {
        gap: 13px !important;
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 8px !important;
    }

    .cp-home-categories-desktop .cp-icon-card {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .cp-home-categories-desktop .cp-icon-card img,
    .cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
    .cp-home-categories-desktop .cp-icon-card > span:first-child {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        padding: 9px !important;
    }

    .cp-brand-section-v4 .cp-brand-card,
    .cp-brand-section-v4 .cp-brand-card-v4 {
        flex: 0 0 112px !important;
        width: 112px !important;
        min-width: 112px !important;
        max-width: 112px !important;
        height: 62px !important;
        min-height: 62px !important;
        padding: 8px 10px !important;
        border-radius: 13px !important;
    }

    .cp-brand-section-v4 .cp-brand-card img,
    .cp-brand-section-v4 .cp-brand-card-v4 img {
        max-width: 88px !important;
        max-height: 38px !important;
    }
}


/* =========================================================
   CP_FIX_CATEGORY_CAROUSEL_LAYOUT_V14
   Fix wrong wrapped category grid.
   Restore compact premium row + keep View all Categories.
   ========================================================= */

.cp-home-categories-desktop {
    padding: 24px 3.2% 18px !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Header: Categories left, View all Categories right */
.cp-home-categories-desktop > .cp-home-head,
.cp-home-categories-desktop .cp-home-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
    text-align: left !important;
}

.cp-home-categories-desktop .cp-home-head > div {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp-home-categories-desktop .cp-home-head h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #101827 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
}

.cp-home-categories-desktop .cp-home-head h2::before {
    content: "" !important;
    width: 8px !important;
    height: 25px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d6297c, #ff88b8) !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
    margin: 0 !important;
}

.cp-home-categories-desktop .cp-home-head p {
    display: none !important;
}

.cp-home-categories-desktop .cp-home-head a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    width: auto !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 7px 13px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .14) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.cp-home-categories-desktop .cp-home-head a::after {
    content: " →" !important;
}


/* Carousel shell */
.cp-category-carousel-shell {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
}

/* Force one-row carousel, no wrap */
.cp-home-categories-desktop .cp-category-carousel-shell .cp-icon-grid,
.cp-home-categories-desktop .cp-icon-grid,
.cp-home-categories-desktop .cp-category-carousel {
    display: flex !important;
    grid-template-columns: unset !important;
    grid-auto-flow: unset !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 44px 10px 44px !important;
    margin: 0 !important;
}

.cp-home-categories-desktop .cp-icon-grid::-webkit-scrollbar,
.cp-home-categories-desktop .cp-category-carousel::-webkit-scrollbar {
    display: none !important;
}


/* Restore compact circular category items */
.cp-home-categories-desktop .cp-icon-grid > .cp-icon-card,
.cp-home-categories-desktop .cp-category-carousel > .cp-icon-card,
.cp-home-categories-desktop .cp-icon-card {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    overflow: visible !important;
}

.cp-home-categories-desktop .cp-icon-card img,
.cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
.cp-home-categories-desktop .cp-icon-card > span:first-child {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 auto 9px !important;
    padding: 13px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.25) 42%, transparent 64%),
        linear-gradient(145deg, #ffe4ee 0%, #fff4f8 58%, #ffffff 100%) !important;
    border: 1px solid rgba(214, 41, 124, .11) !important;
    box-shadow: 0 10px 25px rgba(214, 41, 124, .10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
    color: #4d1174 !important;
}

.cp-home-categories-desktop .cp-icon-card img {
    object-fit: contain !important;
}

.cp-home-categories-desktop .cp-icon-card strong,
.cp-home-categories-desktop .cp-icon-card span:not(:first-child) {
    display: block !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    letter-spacing: -.015em !important;
    text-align: center !important;
}


/* Carousel arrows */
.cp-cat-nav {
    position: absolute !important;
    top: 27px !important;
    z-index: 20 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(214, 41, 124, .18) !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #d6297c !important;
    display: grid !important;
    place-items: center !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .10) !important;
    cursor: pointer !important;
}

.cp-cat-nav--prev {
    left: 0 !important;
}

.cp-cat-nav--next {
    right: 0 !important;
}

.cp-cat-nav:hover {
    background: #d6297c !important;
    color: #fff !important;
}


/* Brand section: make image/logo fit cleaner */
.cp-brand-section-v4 {
    padding-top: 20px !important;
}

.cp-brand-section-v4 .cp-brand-rail-v4,
.cp-brand-section-v4 .cp-brand-grid {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 8px !important;
}

.cp-brand-section-v4 .cp-brand-rail-v4::-webkit-scrollbar,
.cp-brand-section-v4 .cp-brand-grid::-webkit-scrollbar {
    display: none !important;
}

.cp-brand-section-v4 .cp-brand-card,
.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .045) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cp-brand-section-v4 .cp-brand-card img,
.cp-brand-section-v4 .cp-brand-card-v4 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 122px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    filter: none !important;
}


/* Mobile */
@media (max-width: 768px) {
    .cp-home-categories-desktop {
        padding: 18px 14px 12px !important;
    }

    .cp-home-categories-desktop > .cp-home-head,
    .cp-home-categories-desktop .cp-home-head {
        margin-bottom: 12px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2 {
        font-size: 19px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2::before {
        width: 6px !important;
        height: 19px !important;
    }

    .cp-home-categories-desktop .cp-home-head a {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .cp-cat-nav {
        display: none !important;
    }

    .cp-home-categories-desktop .cp-category-carousel-shell .cp-icon-grid,
    .cp-home-categories-desktop .cp-icon-grid,
    .cp-home-categories-desktop .cp-category-carousel {
        gap: 13px !important;
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 8px !important;
    }

    .cp-home-categories-desktop .cp-icon-grid > .cp-icon-card,
    .cp-home-categories-desktop .cp-category-carousel > .cp-icon-card,
    .cp-home-categories-desktop .cp-icon-card {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .cp-home-categories-desktop .cp-icon-card img,
    .cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder,
    .cp-home-categories-desktop .cp-icon-card > span:first-child {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        padding: 9px !important;
        margin-bottom: 7px !important;
    }

    .cp-home-categories-desktop .cp-icon-card strong,
    .cp-home-categories-desktop .cp-icon-card span:not(:first-child) {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }

    .cp-brand-section-v4 .cp-brand-card,
    .cp-brand-section-v4 .cp-brand-card-v4 {
        flex: 0 0 105px !important;
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        height: 58px !important;
        min-height: 58px !important;
        padding: 8px 10px !important;
        border-radius: 12px !important;
    }

    .cp-brand-section-v4 .cp-brand-card img,
    .cp-brand-section-v4 .cp-brand-card-v4 img {
        max-width: 82px !important;
        max-height: 34px !important;
    }
}


/* =========================================================
   CP_CATEGORY_CAROUSEL_HTML_FIXED_V15
   Works after fixing broken Blade category markup.
   ========================================================= */

.cp-home-categories-desktop {
    padding: 24px 3.2% 18px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.cp-home-categories-desktop .cp-home-head {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 14px !important;
    width: 100% !important;
    margin: 0 0 16px !important;
    padding: 0 !important;
}

.cp-home-categories-desktop .cp-home-head > div {
    margin: 0 !important;
    padding: 0 !important;
}

.cp-home-categories-desktop .cp-home-head h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #101827 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
}

.cp-home-categories-desktop .cp-home-head h2::before {
    content: "" !important;
    width: 8px !important;
    height: 25px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d6297c, #ff88b8) !important;
    flex: 0 0 auto !important;
}

.cp-home-categories-desktop .cp-home-head p {
    display: none !important;
}

.cp-home-categories-desktop .cp-home-head a {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .14) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.cp-home-categories-desktop .cp-home-head a::after {
    content: "→" !important;
}

.cp-category-carousel-shell {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
}

.cp-home-categories-desktop .cp-icon-grid,
.cp-home-categories-desktop .cp-category-carousel {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 44px 10px !important;
    margin: 0 !important;
}

.cp-home-categories-desktop .cp-icon-grid::-webkit-scrollbar,
.cp-home-categories-desktop .cp-category-carousel::-webkit-scrollbar {
    display: none !important;
}

.cp-home-categories-desktop .cp-icon-card {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    overflow: visible !important;
}

.cp-home-categories-desktop .cp-icon-card img,
.cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 auto 9px !important;
    padding: 13px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.25) 42%, transparent 64%),
        linear-gradient(145deg, #ffe4ee 0%, #fff4f8 58%, #ffffff 100%) !important;
    border: 1px solid rgba(214, 41, 124, .11) !important;
    box-shadow: 0 10px 25px rgba(214, 41, 124, .10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
    color: #4d1174 !important;
}

.cp-home-categories-desktop .cp-icon-card strong {
    display: block !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    text-align: center !important;
}

.cp-cat-nav {
    position: absolute !important;
    top: 27px !important;
    z-index: 20 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(214, 41, 124, .18) !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #d6297c !important;
    display: grid !important;
    place-items: center !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .10) !important;
    cursor: pointer !important;
}

.cp-cat-nav--prev {
    left: 0 !important;
}

.cp-cat-nav--next {
    right: 0 !important;
}

.cp-cat-nav:hover {
    background: #d6297c !important;
    color: #fff !important;
}

/* Brand logo fit refinement */
.cp-brand-section-v4 .cp-brand-card,
.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .045) !important;
}

.cp-brand-section-v4 .cp-brand-card img,
.cp-brand-section-v4 .cp-brand-card-v4 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 122px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    filter: none !important;
}

@media (max-width: 768px) {
    .cp-home-categories-desktop {
        padding: 18px 14px 12px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2 {
        font-size: 19px !important;
    }

    .cp-home-categories-desktop .cp-home-head h2::before {
        width: 6px !important;
        height: 19px !important;
    }

    .cp-home-categories-desktop .cp-home-head a {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .cp-cat-nav {
        display: none !important;
    }

    .cp-home-categories-desktop .cp-icon-grid,
    .cp-home-categories-desktop .cp-category-carousel {
        gap: 13px !important;
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
        padding-bottom: 8px !important;
    }

    .cp-home-categories-desktop .cp-icon-card {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .cp-home-categories-desktop .cp-icon-card img,
    .cp-home-categories-desktop .cp-icon-card .cp-icon-placeholder {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        padding: 9px !important;
        margin-bottom: 7px !important;
    }

    .cp-home-categories-desktop .cp-icon-card strong {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
}


/* =========================================================
   CP_FINAL_CATEGORY_BRAND_FIX_V16
   Restore hero-safe category carousel and brand fit.
   ========================================================= */

.cp-category-section-final {
    padding: 26px 3.2% 18px !important;
    background: #fff !important;
    overflow: hidden !important;
}

.cp-category-head-final {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 12px !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
}

.cp-category-head-final > div {
    margin: 0 !important;
    padding: 0 !important;
}

.cp-category-head-final h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #101827 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
}

.cp-category-head-final h2::before {
    content: "" !important;
    width: 8px !important;
    height: 25px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d6297c, #ff88b8) !important;
    flex: 0 0 auto !important;
}

.cp-category-head-final p {
    display: none !important;
}

.cp-category-head-final .cp-view-all-categories-final {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 6px !important;
    width: auto !important;
    min-width: max-content !important;
    margin: 0 !important;
    padding: 8px 14px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .16) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
}

.cp-category-head-final .cp-view-all-categories-final::after {
    content: "→" !important;
}

.cp-category-carousel-shell-final {
    position: relative !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 44px !important;
}

.cp-category-carousel-final {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 0 10px !important;
    margin: 0 !important;
}

.cp-category-carousel-final::-webkit-scrollbar {
    display: none !important;
}

.cp-category-card-final {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    overflow: visible !important;
}

.cp-category-card-final img,
.cp-category-card-final .cp-icon-placeholder {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 auto 9px !important;
    padding: 13px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.25) 42%, transparent 64%),
        linear-gradient(145deg, #ffe4ee 0%, #fff4f8 58%, #ffffff 100%) !important;
    border: 1px solid rgba(214, 41, 124, .11) !important;
    box-shadow: 0 10px 25px rgba(214, 41, 124, .10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
    color: #4d1174 !important;
}

.cp-category-card-final strong {
    display: block !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    text-align: center !important;
}

.cp-cat-nav-final {
    position: absolute !important;
    top: 26px !important;
    z-index: 20 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 999px !important;
    border: 1px solid rgba(214, 41, 124, .18) !important;
    background: rgba(255, 255, 255, .98) !important;
    color: #d6297c !important;
    display: grid !important;
    place-items: center !important;
    font-size: 24px !important;
    font-weight: 900 !important;
    line-height: 1 !important;
    box-shadow: 0 10px 24px rgba(17, 24, 39, .10) !important;
    cursor: pointer !important;
}

.cp-cat-nav-final--prev {
    left: 0 !important;
}

.cp-cat-nav-final--next {
    right: 0 !important;
}

.cp-cat-nav-final:hover {
    background: #d6297c !important;
    color: #fff !important;
}

/* Hide old wrong nav classes only inside final section if any remain */
.cp-category-section-final .cp-cat-nav:not(.cp-cat-nav-final) {
    display: none !important;
}


/* Brand fit refinement */
.cp-brand-section-v4 .cp-brand-grid,
.cp-brand-section-v4 .cp-brand-rail-v4 {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 14px !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding-bottom: 8px !important;
}

.cp-brand-section-v4 .cp-brand-grid::-webkit-scrollbar,
.cp-brand-section-v4 .cp-brand-rail-v4::-webkit-scrollbar {
    display: none !important;
}

.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .045) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cp-brand-section-v4 .cp-brand-card-v4 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 122px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    filter: none !important;
}

@media (max-width: 768px) {
    .cp-category-section-final {
        padding: 18px 14px 12px !important;
    }

    .cp-category-head-final h2 {
        font-size: 19px !important;
    }

    .cp-category-head-final h2::before {
        width: 6px !important;
        height: 19px !important;
    }

    .cp-category-head-final .cp-view-all-categories-final {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .cp-category-carousel-shell-final {
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .cp-cat-nav-final {
        display: none !important;
    }

    .cp-category-carousel-final {
        gap: 13px !important;
        padding-bottom: 8px !important;
    }

    .cp-category-card-final {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .cp-category-card-final img,
    .cp-category-card-final .cp-icon-placeholder {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        padding: 9px !important;
        margin-bottom: 7px !important;
    }

    .cp-category-card-final strong {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }

    .cp-brand-section-v4 .cp-brand-card-v4 {
        flex: 0 0 105px !important;
        width: 105px !important;
        min-width: 105px !important;
        max-width: 105px !important;
        height: 58px !important;
        min-height: 58px !important;
    }

    .cp-brand-section-v4 .cp-brand-card-v4 img {
        max-width: 82px !important;
        max-height: 34px !important;
    }
}


/* =========================================================
   CP_CATEGORY_AUTO_CAROUSEL_NO_ARROWS_V17
   Categories left, View all Categories right, no arrow buttons.
   Auto carousel + manual swipe/scroll.
   ========================================================= */

.cp-category-section-auto {
    padding: 26px 3.2% 20px !important;
    background: #fff !important;
    overflow: hidden !important;
}

/* Header */
.cp-category-section-auto .cp-category-head-auto {
    display: flex !important;
    flex-direction: row !important;
    align-items: center !important;
    justify-content: space-between !important;
    gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
    text-align: left !important;
}

.cp-category-section-auto .cp-category-head-auto > div {
    display: block !important;
    min-width: 0 !important;
    margin: 0 !important;
    padding: 0 !important;
}

.cp-category-section-auto .cp-category-head-auto h2 {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    margin: 0 !important;
    padding: 0 !important;
    color: #101827 !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    letter-spacing: -0.035em !important;
    white-space: nowrap !important;
}

.cp-category-section-auto .cp-category-head-auto h2::before {
    content: "" !important;
    width: 8px !important;
    height: 25px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d6297c, #ff88b8) !important;
    display: inline-block !important;
    flex: 0 0 auto !important;
}

.cp-category-section-auto .cp-category-head-auto p {
    display: none !important;
}

.cp-category-section-auto .cp-view-all-categories-auto {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 7px !important;
    flex: 0 0 auto !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    margin: 0 !important;
    padding: 8px 15px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .16) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
}

.cp-category-section-auto .cp-view-all-categories-auto::after {
    content: "→" !important;
    font-size: 14px !important;
}

/* Remove all old category arrow buttons */
.cp-category-section-auto .cp-cat-nav,
.cp-category-section-auto .cp-cat-nav-final,
.cp-home-categories-desktop .cp-cat-nav,
.cp-home-categories-desktop .cp-cat-nav-final {
    display: none !important;
}

/* Carousel rail */
.cp-category-auto-shell {
    position: relative !important;
    width: 100% !important;
    overflow: hidden !important;
}

.cp-category-auto-rail {
    display: flex !important;
    grid-template-columns: none !important;
    flex-direction: row !important;
    flex-wrap: nowrap !important;
    align-items: flex-start !important;
    justify-content: flex-start !important;
    gap: 18px !important;
    width: 100% !important;
    max-width: 100% !important;
    overflow-x: auto !important;
    overflow-y: hidden !important;
    scroll-snap-type: x mandatory !important;
    scroll-behavior: smooth !important;
    scrollbar-width: none !important;
    -ms-overflow-style: none !important;
    padding: 4px 0 12px !important;
    margin: 0 !important;
}

.cp-category-auto-rail::-webkit-scrollbar {
    display: none !important;
}

/* Soft fade at right, shows carousel continues */
.cp-category-auto-shell::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    right: 0 !important;
    width: 54px !important;
    height: 100% !important;
    pointer-events: none !important;
    background: linear-gradient(90deg, rgba(255,255,255,0), #fff 78%) !important;
}

/* Category cards */
.cp-category-auto-card {
    flex: 0 0 96px !important;
    width: 96px !important;
    min-width: 96px !important;
    max-width: 96px !important;
    height: auto !important;
    min-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
    text-align: center !important;
    text-decoration: none !important;
    scroll-snap-align: start !important;
    overflow: visible !important;
}

.cp-category-auto-card img,
.cp-category-auto-card .cp-icon-placeholder {
    width: 78px !important;
    height: 78px !important;
    min-width: 78px !important;
    min-height: 78px !important;
    max-width: 78px !important;
    max-height: 78px !important;
    margin: 0 auto 9px !important;
    padding: 13px !important;
    border-radius: 999px !important;
    background:
        radial-gradient(circle at 35% 25%, rgba(255,255,255,.96), rgba(255,255,255,.25) 42%, transparent 64%),
        linear-gradient(145deg, #ffe4ee 0%, #fff4f8 58%, #ffffff 100%) !important;
    border: 1px solid rgba(214, 41, 124, .11) !important;
    box-shadow: 0 10px 25px rgba(214, 41, 124, .10) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    object-fit: contain !important;
    color: #4d1174 !important;
}

.cp-category-auto-card strong {
    display: block !important;
    margin: 0 !important;
    color: #111827 !important;
    font-size: 13px !important;
    line-height: 1.18 !important;
    font-weight: 850 !important;
    text-align: center !important;
}

/* Brand section image fit */
.cp-brand-section-v4 .cp-brand-card-v4 {
    flex: 0 0 150px !important;
    width: 150px !important;
    min-width: 150px !important;
    max-width: 150px !important;
    height: 72px !important;
    min-height: 72px !important;
    padding: 10px 14px !important;
    border-radius: 15px !important;
    background: #fff !important;
    border: 1px solid rgba(214, 41, 124, .12) !important;
    box-shadow: 0 8px 22px rgba(17, 24, 39, .045) !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
}

.cp-brand-section-v4 .cp-brand-card-v4 img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 122px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
    filter: none !important;
}

/* Mobile */
@media (max-width: 768px) {
    .cp-category-section-auto {
        padding: 18px 14px 14px !important;
    }

    .cp-category-section-auto .cp-category-head-auto {
        margin-bottom: 13px !important;
        padding-bottom: 10px !important;
    }

    .cp-category-section-auto .cp-category-head-auto h2 {
        font-size: 19px !important;
    }

    .cp-category-section-auto .cp-category-head-auto h2::before {
        width: 6px !important;
        height: 19px !important;
    }

    .cp-category-section-auto .cp-view-all-categories-auto {
        padding: 6px 10px !important;
        font-size: 11px !important;
    }

    .cp-category-auto-shell {
        margin-left: -14px !important;
        margin-right: -14px !important;
        padding-left: 14px !important;
        padding-right: 14px !important;
    }

    .cp-category-auto-shell::after {
        width: 28px !important;
    }

    .cp-category-auto-rail {
        gap: 13px !important;
        padding-bottom: 8px !important;
    }

    .cp-category-auto-card {
        flex: 0 0 70px !important;
        width: 70px !important;
        min-width: 70px !important;
        max-width: 70px !important;
    }

    .cp-category-auto-card img,
    .cp-category-auto-card .cp-icon-placeholder {
        width: 60px !important;
        height: 60px !important;
        min-width: 60px !important;
        min-height: 60px !important;
        max-width: 60px !important;
        max-height: 60px !important;
        padding: 9px !important;
        margin-bottom: 7px !important;
    }

    .cp-category-auto-card strong {
        font-size: 10.5px !important;
        line-height: 1.15 !important;
    }
}


/* =========================================================
   CP_VIEW_ALL_AND_BRAND_LOGO_ONLY_V18
   Fix View all Categories visibility + brand logo only
   ========================================================= */

/* Category header: force two columns */
.cp-category-section-auto .cp-category-head-auto,
.cp-home-categories-desktop.cp-category-section-auto .cp-category-head-auto {
    display: grid !important;
    grid-template-columns: minmax(0, 1fr) auto !important;
    align-items: center !important;
    column-gap: 16px !important;
    width: 100% !important;
    max-width: 100% !important;
    margin: 0 0 18px !important;
    padding: 0 0 13px !important;
    border-bottom: 1px solid rgba(17, 24, 39, .08) !important;
}

.cp-category-section-auto .cp-category-head-auto > div {
    min-width: 0 !important;
}

.cp-category-section-auto .cp-category-head-auto h2 {
    margin: 0 !important;
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    font-size: 26px !important;
    line-height: 1.1 !important;
    font-weight: 950 !important;
    color: #101827 !important;
    white-space: nowrap !important;
}

.cp-category-section-auto .cp-category-head-auto h2::before {
    content: "" !important;
    width: 8px !important;
    height: 25px !important;
    border-radius: 999px !important;
    background: linear-gradient(180deg, #d6297c, #ff88b8) !important;
    flex: 0 0 auto !important;
}

.cp-category-section-auto .cp-category-head-auto p {
    display: none !important;
}

/* View all Categories: force visible right side */
.cp-category-section-auto .cp-category-head-auto a.cp-view-all-categories-auto,
.cp-home-categories-desktop .cp-category-head-auto a.cp-view-all-categories-auto {
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    justify-self: end !important;
    gap: 7px !important;
    width: auto !important;
    min-width: max-content !important;
    max-width: none !important;
    height: auto !important;
    margin: 0 !important;
    padding: 9px 15px !important;
    border-radius: 999px !important;
    background: #fff1f7 !important;
    border: 1px solid rgba(214, 41, 124, .16) !important;
    color: #d6297c !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 900 !important;
    text-decoration: none !important;
    white-space: nowrap !important;
    opacity: 1 !important;
    visibility: visible !important;
    position: static !important;
    transform: none !important;
    z-index: 5 !important;
}

.cp-category-section-auto .cp-category-head-auto a.cp-view-all-categories-auto::after {
    content: "→" !important;
    font-size: 14px !important;
}

/* Brand logo/image only: hide brand name text */
.cp-brand-section-v4 .cp-brand-card-v4 strong,
.cp-brand-section-v4 .cp-brand-card strong {
    display: none !important;
}

/* Brand cards should center logo only */
.cp-brand-section-v4 .cp-brand-card-v4,
.cp-brand-section-v4 .cp-brand-card {
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    overflow: hidden !important;
    padding: 12px 16px !important;
}

.cp-brand-section-v4 .cp-brand-card-v4 img,
.cp-brand-section-v4 .cp-brand-card img {
    display: block !important;
    width: auto !important;
    height: auto !important;
    max-width: 128px !important;
    max-height: 48px !important;
    object-fit: contain !important;
    object-position: center !important;
    margin: auto !important;
}

/* If brand has no image, show only compact initial badge */
.cp-brand-section-v4 .cp-brand-placeholder-v4,
.cp-brand-section-v4 .cp-icon-placeholder {
    width: 58px !important;
    height: 38px !important;
    min-width: 58px !important;
    max-width: 58px !important;
    border-radius: 999px !important;
    background: #ffeaf3 !important;
    color: #d6297c !important;
    display: grid !important;
    place-items: center !important;
    font-weight: 950 !important;
    font-size: 18px !important;
}

/* Mobile */
@media (max-width: 768px) {
    .cp-category-section-auto .cp-category-head-auto {
        grid-template-columns: minmax(0, 1fr) auto !important;
        column-gap: 10px !important;
        margin-bottom: 13px !important;
        padding-bottom: 10px !important;
    }

    .cp-category-section-auto .cp-category-head-auto h2 {
        font-size: 19px !important;
    }

    .cp-category-section-auto .cp-category-head-auto h2::before {
        width: 6px !important;
        height: 19px !important;
    }

    .cp-category-section-auto .cp-category-head-auto a.cp-view-all-categories-auto {
        padding: 7px 10px !important;
        font-size: 11px !important;
    }

    .cp-brand-section-v4 .cp-brand-card-v4 img,
    .cp-brand-section-v4 .cp-brand-card img {
        max-width: 86px !important;
        max-height: 34px !important;
    }
}

