/* Version 1.14.59 - scoped mobile bottom navigation and product sticky bar */
.pab-mobile-bottom-ui{display:none}

@media (max-width:768px){
  :root{
    --pab-mobile-bottom-nav-height:64px;
    --pab-mobile-product-sticky-height:62px;
    --pab-mobile-bottom-gap:10px;
  }
  html.pab-mobile-bottom-sheet-open,
  body.pab-mobile-bottom-sheet-open{overflow:hidden!important}

  body .site-page{
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + 34px + env(safe-area-inset-bottom,0px))!important;
  }
  body.single-product .site-page{
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-product-sticky-height) + 54px + env(safe-area-inset-bottom,0px))!important;
  }
  body .pab-footer,
  body .site-footer{
    margin-bottom:calc(var(--pab-mobile-bottom-nav-height) + 24px + env(safe-area-inset-bottom,0px))!important;
  }
  body.single-product .pab-footer,
  body.single-product .site-footer{
    margin-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-product-sticky-height) + 38px + env(safe-area-inset-bottom,0px))!important;
  }

  .pab-mobile-bottom-ui{
    display:block;
    direction:rtl;
    text-align:right;
    font-family:inherit;
    color:var(--text,#26383f);
  }
  .pab-mobile-bottom-ui *,
  .pab-mobile-bottom-ui *::before,
  .pab-mobile-bottom-ui *::after{box-sizing:border-box}

  .pab-mobile-bottom-nav{
    position:fixed;
    right:10px;
    left:10px;
    bottom:calc(8px + env(safe-area-inset-bottom,0px));
    height:var(--pab-mobile-bottom-nav-height);
    z-index:7800;
    display:grid;
    grid-template-columns:repeat(4,minmax(0,1fr));
    align-items:center;
    gap:5px;
    padding:7px;
    border-radius:28px;
    background:rgba(255,255,255,.94);
    border:1px solid rgba(76,135,161,.14);
    box-shadow:0 16px 42px rgba(31,43,48,.16);
    backdrop-filter:blur(18px) saturate(145%);
    -webkit-backdrop-filter:blur(18px) saturate(145%);
  }
  .pab-mobile-bottom-nav-item{
    position:relative;
    min-width:0;
    height:50px;
    border:0;
    border-radius:22px;
    background:transparent;
    color:var(--muted,#708086);
    display:flex;
    align-items:center;
    justify-content:center;
    gap:5px;
    flex-direction:column;
    text-decoration:none!important;
    font:inherit;
    font-size:10.5px;
    font-weight:900;
    line-height:1.2;
    cursor:pointer;
    -webkit-tap-highlight-color:transparent;
    transition:background .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease;
    white-space:nowrap;
  }
  .pab-mobile-bottom-nav-item .pab-mbn-icon{
    position:relative;
    width:22px;
    height:22px;
    display:grid;
    place-items:center;
    flex:0 0 22px;
  }
  .pab-mobile-bottom-nav-item svg{width:22px;height:22px;fill:currentColor}
  .pab-mobile-bottom-nav-item.is-active{
    color:#fff;
    background:linear-gradient(135deg,var(--orange,#f38543),#ffad7c);
    box-shadow:0 10px 22px rgba(243,133,67,.28);
    transform:translateY(-2px);
  }
  .pab-mobile-bottom-nav-item:not(.is-active):active{transform:scale(.96)}
  .pab-mobile-bottom-nav-item:focus-visible{outline:3px solid rgba(244,123,61,.28);outline-offset:2px}
  .pab-mobile-bottom-cart-count{
    position:absolute!important;
    top:-7px!important;
    left:-9px!important;
    min-width:17px!important;
    height:17px!important;
    padding:0 4px!important;
    border:2px solid #fff!important;
    font-size:9px!important;
    line-height:1!important;
    background:var(--blue-dark,#26383f)!important;
    color:#fff!important;
    z-index:2;
  }
  .pab-mobile-bottom-nav-item.is-active .pab-mobile-bottom-cart-count{background:#fff!important;color:var(--orange-dark,#d96c2f)!important;border-color:rgba(255,255,255,.6)!important}

  .pab-mobile-bottom-backdrop{
    position:fixed;
    inset:0;
    z-index:7890;
    background:rgba(15,26,32,.42);
    backdrop-filter:blur(3px);
    -webkit-backdrop-filter:blur(3px);
    opacity:0;
    visibility:hidden;
    transition:opacity .22s ease,visibility .22s ease;
  }
  .pab-mobile-bottom-backdrop.is-visible{opacity:1;visibility:visible}

  .pab-mobile-bottom-sheet{
    position:fixed;
    right:0;
    left:0;
    bottom:0;
    z-index:7900;
    max-height:min(82dvh,690px);
    display:flex;
    flex-direction:column;
    padding:10px 12px calc(var(--pab-mobile-bottom-nav-height) + 18px + env(safe-area-inset-bottom,0px));
    border-radius:26px 26px 0 0;
    background:var(--surface,#fff);
    box-shadow:0 -18px 58px rgba(31,43,48,.22);
    border:1px solid rgba(76,135,161,.14);
    transform:translateY(104%);
    opacity:0;
    visibility:hidden;
    transition:transform .28s cubic-bezier(.2,.75,.24,1),opacity .2s ease,visibility .2s ease;
    overflow:hidden;
  }
  .pab-mobile-bottom-sheet.is-open{transform:translateY(0);opacity:1;visibility:visible}
  .pab-mobile-sheet-handle{
    width:42px;
    height:5px;
    border-radius:999px;
    background:#d8e4e8;
    margin:0 auto 10px;
    flex:0 0 5px;
  }
  .pab-mobile-sheet-head{
    display:flex;
    align-items:flex-start;
    justify-content:space-between;
    gap:12px;
    padding:0 2px 12px;
    border-bottom:1px solid rgba(76,135,161,.12);
    flex:0 0 auto;
  }
  .pab-mobile-sheet-head strong{
    display:block;
    color:var(--blue-dark,#26383f);
    font-size:16px;
    font-weight:950;
    line-height:1.7;
  }
  .pab-mobile-sheet-head span{
    display:block;
    color:var(--muted,#708086);
    font-size:11.5px;
    line-height:1.8;
    font-weight:800;
  }
  .pab-mobile-sheet-close{
    width:36px;
    height:36px;
    border:0;
    border-radius:14px;
    background:var(--surface-2,#eef5f7);
    color:var(--blue-dark,#26383f);
    display:grid;
    place-items:center;
    font-size:24px;
    line-height:1;
    flex:0 0 36px;
  }
  .pab-mobile-sheet-body{
    min-height:0;
    overflow-y:auto;
    overflow-x:hidden;
    -webkit-overflow-scrolling:touch;
    overscroll-behavior:contain;
    padding:12px 0 0;
    flex:1 1 auto;
  }
  .pab-mobile-sheet-all{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-height:42px;
    border-radius:16px;
    background:linear-gradient(135deg,rgba(76,135,161,.12),rgba(244,123,61,.11));
    color:var(--blue-dark,#26383f)!important;
    font-size:12.5px;
    font-weight:950;
    text-decoration:none!important;
    margin-bottom:10px;
  }

  .pab-mbn-cat-list{display:flex;flex-direction:column;gap:8px;padding-bottom:6px}
  .pab-mbn-cat-item{
    border:1px solid rgba(76,135,161,.12);
    background:#fff;
    border-radius:18px;
    box-shadow:0 8px 20px rgba(31,43,48,.05);
    overflow:hidden;
  }
  .pab-mbn-cat-toggle{
    width:100%;
    border:0;
    background:#fff;
    color:var(--text,#26383f);
    min-height:58px;
    padding:8px 10px;
    display:grid;
    grid-template-columns:44px 1fr 22px;
    align-items:center;
    gap:8px;
    text-align:right;
  }
  .pab-mbn-cat-thumb{
    width:44px;
    height:44px;
    border-radius:15px;
    background:var(--surface-2,#eef5f7);
    display:grid;
    place-items:center;
    overflow:hidden;
    border:1px solid rgba(76,135,161,.10);
  }
  .pab-mbn-cat-thumb img{width:100%;height:100%;object-fit:contain;padding:4px}
  .pab-mbn-cat-thumb svg{width:20px;height:20px;color:var(--orange,#f38543)}
  .pab-mbn-cat-main{min-width:0;display:block}
  .pab-mbn-cat-main b{
    display:block;
    color:var(--blue-dark,#26383f);
    font-size:13px;
    font-weight:950;
    line-height:1.6;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
  }
  .pab-mbn-cat-main small{display:block;color:var(--muted,#708086);font-size:10.5px;font-weight:800;line-height:1.5}
  .pab-mbn-cat-toggle i{font-style:normal;font-size:22px;color:var(--orange,#f38543);transition:transform .18s ease}
  .pab-mbn-cat-toggle[aria-expanded="true"]{background:#fff8f3}
  .pab-mbn-cat-toggle[aria-expanded="true"] i{transform:rotate(-90deg)}
  .pab-mbn-cat-panel{
    padding:0 10px 10px;
    border-top:1px solid rgba(76,135,161,.09);
    background:linear-gradient(180deg,#fff,#fbfdfe);
  }
  .pab-mbn-cat-all{
    display:flex!important;
    align-items:center;
    justify-content:center;
    min-height:36px;
    border-radius:13px;
    background:var(--blue-dark,#26383f);
    color:#fff!important;
    font-size:11.5px;
    font-weight:950;
    text-decoration:none!important;
    margin:10px 0;
  }
  .pab-mbn-child-list{display:flex;flex-wrap:wrap;gap:7px}
  .pab-mbn-child-link,
  .pab-mbn-grand-list a{
    display:inline-flex!important;
    align-items:center;
    min-height:33px;
    max-width:100%;
    padding:7px 10px;
    border-radius:999px;
    background:var(--surface-2,#eef5f7);
    color:var(--text,#26383f)!important;
    font-size:11.5px;
    font-weight:900;
    line-height:1.35;
    text-decoration:none!important;
  }
  .pab-mbn-grand-list{
    display:flex;
    flex-wrap:wrap;
    gap:6px;
    width:100%;
    margin:0 7px 4px 0;
    padding-right:8px;
    border-right:2px solid rgba(244,123,61,.24);
  }
  .pab-mbn-grand-list a{background:#fff0e8;color:var(--orange-dark,#d96c2f)!important;font-size:10.5px;min-height:29px}

  .pab-mbn-account-list{display:grid;grid-template-columns:1fr;gap:8px}
  .pab-mbn-account-list a{
    display:flex!important;
    align-items:center;
    gap:10px;
    min-height:48px;
    border-radius:16px;
    background:#fff;
    border:1px solid rgba(76,135,161,.12);
    color:var(--text,#26383f)!important;
    font-size:13px;
    font-weight:950;
    padding:9px 12px;
    text-decoration:none!important;
    box-shadow:0 8px 20px rgba(31,43,48,.05);
  }
  .pab-mbn-account-list a span{
    width:30px;
    height:30px;
    border-radius:12px;
    display:grid;
    place-items:center;
    background:#fff0e8;
    color:var(--orange-dark,#d96c2f);
    font-size:15px;
    flex:0 0 30px;
  }

  .pab-mobile-product-sticky{
    position:fixed;
    right:10px;
    left:10px;
    bottom:calc(var(--pab-mobile-bottom-nav-height) + 18px + env(safe-area-inset-bottom,0px));
    min-height:var(--pab-mobile-product-sticky-height);
    z-index:7795;
    display:grid;
    grid-template-columns:minmax(0,1fr) minmax(126px,42%);
    align-items:center;
    gap:10px;
    padding:8px 10px;
    border-radius:22px;
    background:rgba(255,255,255,.96);
    border:1px solid rgba(76,135,161,.14);
    box-shadow:0 14px 38px rgba(31,43,48,.16);
    backdrop-filter:blur(16px) saturate(140%);
    -webkit-backdrop-filter:blur(16px) saturate(140%);
  }
  .pab-mobile-product-sticky-price-wrap{min-width:0;text-align:right;line-height:1.3}
  .pab-mobile-product-sticky-price{
    color:var(--blue-dark,#26383f);
    font-size:12.5px;
    font-weight:950;
    white-space:nowrap;
    overflow:hidden;
    text-overflow:ellipsis;
    min-height:20px;
  }
  .pab-mobile-product-sticky-price .price,
  .pab-mobile-product-sticky-price ins,
  .pab-mobile-product-sticky-price del{display:inline-flex;align-items:center;gap:5px;vertical-align:middle}
  .pab-mobile-product-sticky-price ins{text-decoration:none;color:var(--blue-dark,#26383f)}
  .pab-mobile-product-sticky-price del{color:#9da7ab;font-size:11px;margin-left:5px}
  .pab-mobile-product-sticky-discount{
    display:inline-flex;
    align-items:center;
    justify-content:center;
    min-height:19px;
    padding:2px 7px;
    margin-top:3px;
    border-radius:999px;
    background:var(--orange,#f38543);
    color:#fff;
    font-size:10px;
    font-weight:950;
  }
  .pab-mobile-product-sticky-discount.is-hidden{display:none!important}
  .pab-mobile-product-sticky-add{
    min-width:0;
    height:44px;
    border:0;
    border-radius:999px;
    background:linear-gradient(135deg,var(--orange,#f38543),#ff9d67);
    color:#fff;
    font-size:12.5px;
    font-weight:950;
    display:flex;
    align-items:center;
    justify-content:center;
    box-shadow:0 10px 22px rgba(243,133,67,.24);
    padding:0 10px;
    white-space:nowrap;
  }
  .pab-mobile-product-sticky-add:disabled{
    cursor:not-allowed;
    background:#c9d4d8;
    color:#fff;
    box-shadow:none;
  }
  .pab-mobile-product-sticky.is-needs-selection .pab-mobile-product-sticky-add{background:linear-gradient(135deg,var(--blue,#4c87a1),var(--blue-dark,#26383f))}
  .pab-mobile-product-sticky.is-flashing{animation:pabMobileStickyFlash .55s ease both}
  @keyframes pabMobileStickyFlash{0%,100%{transform:translateY(0)}35%{transform:translateY(-4px)}}

  body.single-product .woocommerce-notices-wrapper,
  body.single-product .summary,
  body.single-product .pab-product-single-page{
    scroll-margin-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-product-sticky-height) + 30px);
  }
}

@media (max-width:390px){
  .pab-mobile-bottom-nav{right:6px;left:6px;padding:6px;gap:3px;border-radius:24px}
  .pab-mobile-bottom-nav-item{font-size:9.7px;height:50px;gap:4px}
  .pab-mobile-bottom-nav-item .pab-mbn-icon,
  .pab-mobile-bottom-nav-item svg{width:20px;height:20px}
  .pab-mobile-product-sticky{right:6px;left:6px;grid-template-columns:minmax(0,1fr) 120px;gap:8px;padding-inline:8px}
  .pab-mobile-product-sticky-price{font-size:11.5px}
  .pab-mobile-product-sticky-add{font-size:11.5px;padding-inline:7px}
}

@media (min-width:769px){
  .pab-mobile-bottom-ui,
  .pab-mobile-bottom-nav,
  .pab-mobile-bottom-sheet,
  .pab-mobile-bottom-backdrop,
  .pab-mobile-product-sticky{display:none!important}
}

/* Version 1.14.60 - mobile nav sheet init/spacing refinements, footer-safe spacing, breadcrumbs wrap, hidden header cart */
@media (max-width:768px){
  :root{
    --pab-mobile-bottom-nav-height:64px;
    --pab-mobile-product-sticky-height:62px;
    --pab-mobile-fixed-extra:18px;
    --pab-mobile-product-fixed-extra:30px;
  }

  body .site-page{
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-fixed-extra) + env(safe-area-inset-bottom,0px))!important;
  }
  body.single-product .site-page{
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-product-sticky-height) + var(--pab-mobile-product-fixed-extra) + env(safe-area-inset-bottom,0px))!important;
  }
  body .pab-footer,
  body .site-footer{
    margin-bottom:0!important;
  }

  body .site-header[data-header] .mobile-cart-link{
    display:none!important;
  }

  .pab-mobile-bottom-cart .pab-mbn-icon{
    overflow:visible!important;
  }
  .pab-mobile-bottom-cart .pab-mobile-bottom-cart-count{
    top:-10px!important;
    right:50%!important;
    left:auto!important;
    transform:translateX(50%)!important;
    min-width:18px!important;
    height:18px!important;
    z-index:5!important;
  }

  .pab-mobile-bottom-sheet{
    z-index:100040!important;
    max-height:min(78dvh,640px)!important;
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + 16px + env(safe-area-inset-bottom,0px))!important;
    transition:transform .2s cubic-bezier(.2,.75,.24,1),opacity .16s ease,visibility .16s ease!important;
    will-change:transform;
  }
  .pab-mobile-bottom-backdrop{
    z-index:100030!important;
    transition:opacity .16s ease,visibility .16s ease!important;
  }
  .pab-mobile-sheet-body{
    max-height:calc(78dvh - 118px);
    touch-action:pan-y!important;
  }
  .pab-mbn-cat-list,
  .pab-mbn-account-list{
    padding-bottom:10px!important;
  }

  .pab-mobile-bottom-nav{
    z-index:100020!important;
  }
  .pab-mobile-product-sticky{
    z-index:100015!important;
  }

  .pab-breadcrumbs{
    overflow:visible!important;
    padding:8px 12px!important;
    line-height:1.6!important;
  }
  .pab-breadcrumbs ol{
    flex-wrap:wrap!important;
    overflow:visible!important;
    gap:3px 7px!important;
    padding-bottom:0!important;
    align-items:center!important;
  }
  .pab-breadcrumbs li{
    line-height:1.7!important;
    gap:6px!important;
    max-width:100%!important;
  }
  .pab-breadcrumbs span,
  .pab-breadcrumbs a{
    white-space:normal!important;
    overflow:visible!important;
    text-overflow:clip!important;
    max-width:100%!important;
    line-height:1.7!important;
  }
}

/* Version 1.14.61 - category button opens the main mobile category drawer; manual footer mobile offset */
@media (max-width:768px){
  body:not(.single-product) .pab-footer,
  body:not(.single-product) .site-footer{
    margin-bottom:var(--pab-mobile-footer-offset-pages,0px)!important;
  }
  body.single-product .pab-footer,
  body.single-product .site-footer{
    margin-bottom:var(--pab-mobile-footer-offset-product,0px)!important;
  }
}

/* Version 1.14.71 - use the full product buy box on mobile, not the separate quick-buy strip */
@media (max-width:768px){
  body.single-product .pab-mobile-product-sticky{
    display:none!important;
  }
  body.single-product .site-page{
    padding-bottom:calc(var(--pab-mobile-bottom-nav-height) + var(--pab-mobile-fixed-extra) + env(safe-area-inset-bottom,0px))!important;
  }
}
