/* NCF Mobile Shop v2.3 | Mobile navbar, responsive shop controls and fixed floating cart */
:root { --ncf-orange:#F58A1F; --ncf-dark:#074c41; --ncf-float-lift:300px; }
.ncf-screen[hidden], .ncf-panel[hidden] { display:none !important; }
.ncf-bottom-nav { display:none !important; }
.ncf-screen { position:fixed; inset:0; z-index:2147483000; background:rgba(0,0,0,.54); }
.ncf-panel { position:fixed; top:0; bottom:0; display:flex; flex-direction:column; width:min(88vw,390px); box-sizing:border-box; padding:20px 20px calc(20px + env(safe-area-inset-bottom,0px)); z-index:2147483001; overflow-y:auto; background:var(--ncf-drawer-bg,#fff); color:#1e2928; box-shadow:0 6px 28px rgba(0,0,0,.2); font-family:inherit; text-align:left; }
.ncf-panel.ncf-left { left:0; right:auto; }
.ncf-panel.ncf-right { right:0; left:auto; }
.ncf-panel *, .ncf-bottom-nav *, .ncf-floating-cart * { box-sizing:border-box; }
.ncf-panel h3 { color:#1e2928; font-size:18px; margin:22px 0 12px; font-weight:700; }
.ncf-panel a { color:#1e2928; text-decoration:none; }
.ncf-panel button { cursor:pointer; }
.ncf-panel-close { display:inline-flex !important; align-items:center; justify-content:center; align-self:flex-end; padding:6px !important; width:36px; height:36px; background:#f1f2f3 !important; border:0 !important; border-radius:50% !important; color:#273331 !important; box-shadow:none !important; }
.ncf-top-close { margin-left:auto; }
.ncf-panel-heading { display:flex; justify-content:space-between; align-items:center; gap:10px; }
.ncf-panel-heading h3 { margin:0; }
.ncf-sign-in { display:flex; align-items:center; gap:15px; border-radius:15px; padding:17px; margin:8px 0 12px; background:var(--ncf-orange); color:#fff !important; }
.ncf-sign-in svg { width:39px; height:39px; }
.ncf-sign-in span { font-size:19px; font-weight:600; line-height:1.3; }
.ncf-sign-in small { display:block; font-size:14px; font-weight:400; }
.ncf-menu-list { list-style:none !important; background:#f5f5f5; border-radius:12px; margin:0 0 12px !important; padding:0 15px !important; }
.ncf-menu-list li { margin:0 !important; padding:0 !important; border-bottom:1px solid #dedede; list-style:none !important; }
.ncf-menu-list li:last-child { border:0; }
.ncf-menu-list a { padding:13px 0; display:flex; align-items:center; justify-content:space-between; font-size:15px; }
.ncf-menu-list a span { font-size:22px; }
body.ncf-panel-open { overflow:hidden !important; }
body.ncf-panel-open .ncf-floating-cart { visibility:hidden; }
.ncf-cart-items { margin-top:12px; flex:1; overflow:auto; }
.ncf-cart-row { display:flex; align-items:flex-start; gap:10px; padding:14px 0; border-bottom:1px solid #eee; font-size:13px; }
.ncf-cart-thumb { object-fit:contain; width:62px; height:62px; border-radius:8px; border:1px solid #f1f1f1; }
.ncf-cart-info { flex:1; min-width:0; }
.ncf-cart-title { display:block; font-size:14px; line-height:1.3; font-weight:700; }
.ncf-cart-row-price { display:block; color:var(--ncf-dark); margin:5px 0; }
.ncf-cart-info small { display:block; margin-top:5px; color:#555; }
.ncf-cart-inline-qty { display:flex; align-items:center; width:max-content; gap:0; margin-top:6px; border:1px solid var(--ncf-orange); border-radius:5px; overflow:hidden; }
.ncf-cart-inline-qty button { height:30px; width:32px; padding:0 !important; background:var(--ncf-qty-bg,var(--ncf-orange)) !important; color:var(--ncf-qty-text,#fff) !important; font-size:20px !important; border:0 !important; border-radius:0 !important; }
.ncf-cart-inline-qty span { min-width:33px; text-align:center; font-weight:700; }
.ncf-empty-cart { padding:36px 0; color:#666; text-align:center; }
.ncf-cart-footer { border-top:1px solid #ddd; padding-top:12px; display:grid; gap:9px; }
.ncf-cart-subline { display:flex; justify-content:space-between; gap:6px; font-size:15px; }
.ncf-cart-link, .ncf-cart-checkout { display:block; padding:11px; border:1px solid var(--ncf-orange); border-radius:7px; font-size:14px; text-align:center; font-weight:700; }
.ncf-cart-checkout { background:var(--ncf-orange); color:#fff !important; }
.ncf-search-form { display:grid; gap:11px; margin-top:26px; }
.ncf-search-form input { width:100%; padding:12px; border:1px solid #bbb; border-radius:7px; font-size:16px; }
.ncf-search-form button { background:var(--ncf-orange) !important; color:#fff !important; border:0 !important; border-radius:7px !important; padding:12px !important; }
.ncf-cart-feedback { display:none; position:fixed; z-index:2147483010; left:12px; right:12px; bottom:82px; border-radius:7px; background:#183b32; color:#fff; font-size:13px; padding:12px; opacity:0; pointer-events:none; transition:opacity .2s; }
.ncf-cart-feedback.ncf-show { display:block; opacity:1; }
/* ONE standard-size product button for desktop and mobile, never hidden on hover. */
.ncf-loop-wrap, .woocommerce ul.products li.product .ncf-loop-wrap { display:block !important; width:100% !important; position:relative !important; clear:both; margin:10px auto 4px !important; z-index:2; }
.ncf-loop-wrap .ncf-desktop-add { display:none !important; }
.ncf-loop-wrap .ncf-product-qty, .woocommerce ul.products li.product .ncf-product-qty { display:block !important; position:relative !important; visibility:visible !important; opacity:1 !important; transform:none !important; transition:none !important; width:100% !important; max-width:205px !important; height:auto !important; margin:0 auto !important; z-index:3; }
.ncf-product-qty .ncf-add-btn, .woocommerce ul.products li.product .ncf-add-btn { display:flex !important; align-items:center; justify-content:center; gap:5px; width:100% !important; min-width:0; height:42px !important; min-height:42px !important; padding:0 8px !important; margin:0 !important; background:#fff !important; border:1.5px solid var(--ncf-qty-border,var(--ncf-orange)) !important; border-radius:7px !important; color:var(--ncf-qty-border,#d56c07) !important; font-size:13px !important; line-height:1.2 !important; text-transform:none !important; letter-spacing:0 !important; font-weight:700 !important; text-decoration:none !important; box-shadow:none !important; opacity:1 !important; visibility:visible !important; position:static !important; cursor:pointer; }
.ncf-product-qty .ncf-add-btn:hover, .ncf-product-qty .ncf-add-btn:focus { background:var(--ncf-qty-bg,var(--ncf-orange)) !important; color:var(--ncf-qty-text,#fff) !important; }
.ncf-product-qty .ncf-stepper { display:none !important; height:42px !important; min-height:42px !important; border:1px solid var(--ncf-qty-border,var(--ncf-orange)); border-radius:7px; overflow:hidden; width:100%; }
.ncf-product-qty.ncf-in-cart .ncf-add-btn { display:none !important; }
.ncf-product-qty.ncf-in-cart .ncf-stepper { display:flex !important; align-items:stretch; }
.ncf-product-qty .ncf-stepper button { display:flex !important; align-items:center; justify-content:center; flex:0 0 30%; width:30% !important; height:40px !important; min-height:40px !important; margin:0 !important; padding:0 !important; border:0 !important; background:var(--ncf-qty-bg,var(--ncf-orange)) !important; border-radius:0 !important; color:var(--ncf-qty-text,#fff) !important; font-size:22px !important; font-weight:400 !important; line-height:1 !important; box-shadow:none !important; opacity:1 !important; visibility:visible !important; cursor:pointer; }
.ncf-product-qty .ncf-qty-value { display:flex; flex:1; align-items:center; justify-content:center; background:#fff !important; color:#172a23 !important; font-size:15px; font-weight:700; min-width:0; }
.ncf-product-qty.ncf-loading { opacity:.6 !important; }
.ncf-product-qty button:disabled { cursor:wait !important; }
/* Fixed floating cart on DESKTOP RIGHT, vertically centered; Ghore Bazar inspired style. */
#ncf-floating-cart.ncf-floating-cart { position:fixed !important; z-index:2147482900 !important; display:flex !important; left:auto !important; right:0 !important; top:var(--ncf-float-desktop-top,50%) !important; bottom:auto !important; transform:translateY(-50%) !important; flex-direction:column; align-items:stretch; justify-content:flex-start; box-sizing:border-box; width:106px; min-height:112px; padding:0; background:#fff !important; color:var(--ncf-dark) !important; text-decoration:none !important; border:1px solid rgba(0,0,0,.08) !important; border-right:0 !important; border-radius:14px 0 0 14px !important; box-shadow:0 4px 18px rgba(0,0,0,.18); cursor:pointer; font-family:inherit; text-align:center; overflow:hidden; }
.ncf-floating-cart .ncf-float-top { display:flex; flex-direction:column; align-items:center; justify-content:center; gap:4px; padding:10px 6px; background:var(--ncf-cart-top,var(--ncf-orange)) !important; color:#fff !important; min-height:64px; }
.ncf-floating-cart .ncf-float-top svg { width:25px; height:25px; }
.ncf-floating-cart strong { display:block; margin:0; font-size:13px; line-height:1.2; color:#fff !important; }
.ncf-floating-cart .ncf-float-bottom { display:block; padding:10px 6px; line-height:1.25; background:var(--ncf-cart-bottom,#fff) !important; color:var(--ncf-cart-price,var(--ncf-orange)) !important; font-size:14px; font-weight:800; overflow-wrap:anywhere; }
.ncf-floating-cart .woocommerce-Price-amount { color:var(--ncf-cart-price,var(--ncf-orange)) !important; }
@media (max-width:767px) {
  body:not(.wp-admin) { padding-bottom:calc(77px + env(safe-area-inset-bottom,0px)) !important; }
  #ncf-bottom-nav.ncf-bottom-nav { position:fixed !important; left:0 !important; right:0 !important; top:auto !important; bottom:0 !important; z-index:2147482901 !important; display:flex !important; justify-content:space-between; align-items:stretch; height:calc(70px + env(safe-area-inset-bottom,0px)); padding:0 2px env(safe-area-inset-bottom,0px); background:var(--ncf-nav-bg,var(--ncf-orange)); box-shadow:0 -3px 12px rgba(0,0,0,.15); }
  .ncf-bottom-item { position:relative !important; display:flex !important; flex:1; min-width:0; align-items:center; justify-content:center; flex-direction:column; gap:4px; text-decoration:none !important; color:var(--ncf-nav-text,#fff) !important; background:transparent !important; border:0 !important; box-shadow:none !important; font-family:inherit; font-size:10px !important; font-weight:650 !important; letter-spacing:.2px; padding:5px 0 !important; margin:0 !important; text-transform:none !important; }
  .ncf-bottom-item svg { height:24px; width:24px; flex-shrink:0; }
  .ncf-bottom-item > span:last-child { color:var(--ncf-nav-text,#fff) !important; }
  .ncf-bag-wrap { position:relative; display:flex; }
  .ncf-cart-count { position:absolute !important; right:-12px; top:-10px; display:flex !important; align-items:center; justify-content:center; padding:1px 4px; min-width:19px; height:19px; border-radius:100px; background:#1f2c2b !important; color:#fff !important; font-size:11px; line-height:1; font-weight:700; }
  /* Adjustable fixed-cart elevation from Dashboard. */
  #ncf-floating-cart.ncf-floating-cart { left:auto !important; right:0 !important; top:auto !important; bottom:calc(var(--ncf-float-mobile-bottom,416px) + env(safe-area-inset-bottom,0px)) !important; transform:none !important; border-radius:12px 0 0 12px !important; width:94px; min-height:100px; }
  #ncf-floating-cart.ncf-floating-cart .ncf-float-top { min-height:58px; padding:9px 5px; }
  #ncf-floating-cart.ncf-floating-cart .ncf-float-bottom { padding:9px 5px; font-size:13px; }
  .ncf-cart-feedback { bottom:calc(79px + env(safe-area-inset-bottom,0px)); }
}
@media (max-width:767px) and (max-height:680px) {
  /* Keep the floating cart usable on short phone screens. */
  #ncf-floating-cart.ncf-floating-cart { top:50% !important; bottom:auto !important; transform:translateY(-50%) !important; }
}
@media (min-width:768px) { .ncf-product-qty .ncf-add-btn { max-width:205px; } }
@media (prefers-reduced-motion:reduce) { .ncf-cart-feedback { transition:none; } }

@media(max-width:767px){#ncf-bottom-nav .ncf-bottom-item{font-size:clamp(8px,2.3vw,10px)!important;letter-spacing:0!important;gap:4px}#ncf-bottom-nav .ncf-bottom-item svg{width:clamp(18px,5vw,24px);height:clamp(18px,5vw,24px)}#ncf-bottom-nav .ncf-bottom-item span:last-child{font-size:inherit!important;text-align:center;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:100%}}


/* Smart quick actions: circular scroll progress + optional messaging deep-link. */
.ncf-smart-tools { position:fixed !important; z-index:2147482902 !important; display:flex !important; flex-direction:column; align-items:center; gap:12px; right:16px !important; bottom:calc(var(--ncf-tools-desktop-bottom,24px) + env(safe-area-inset-bottom,0px)) !important; left:auto !important; width:58px; pointer-events:none; }
.ncf-smart-tools > * { pointer-events:auto; }
.ncf-smart-tools .ncf-progress-top[hidden] { display:none !important; }
.ncf-progress-top, .ncf-messaging-link { -webkit-appearance:none; appearance:none; position:relative !important; display:flex !important; flex:0 0 auto; align-items:center; justify-content:center; padding:0 !important; margin:0 !important; width:54px !important; height:54px !important; min-width:54px !important; min-height:54px !important; border-radius:50% !important; border:0 !important; text-decoration:none !important; box-shadow:0 4px 12px rgba(0,0,0,.19) !important; cursor:pointer; transition:transform .2s ease; outline-offset:3px; }
.ncf-progress-top { background:var(--ncf-top-bg,#f58a1f) !important; color:var(--ncf-top-fg,#fff) !important; }
.ncf-messaging-link { background:var(--ncf-chat-bg,#f58a1f) !important; color:var(--ncf-chat-fg,#fff) !important; }
.ncf-progress-top:hover, .ncf-messaging-link:hover { transform:scale(1.05); }
.ncf-smart-tools .ncf-messaging-link svg, .ncf-progress-center > svg { width:25px !important; height:25px !important; display:block; stroke:currentColor; }
.ncf-progress-ring { position:absolute; inset:0; width:54px; height:54px; transform:rotate(-90deg); pointer-events:none; }
.ncf-progress-ring circle { fill:none; stroke-width:2.8; stroke-linecap:round; stroke-dasharray:100 100; }
.ncf-progress-track { stroke:var(--ncf-top-track,#f3d7b9); }
.ncf-progress-fill { stroke:var(--ncf-top-fg,#ffffff); stroke-dashoffset:100; transition:stroke-dashoffset .08s linear; }
.ncf-progress-center { position:relative; display:flex; align-items:center; flex-direction:column; justify-content:center; line-height:1; gap:0; color:var(--ncf-top-fg,#fff) !important; }
.ncf-progress-center > svg { width:22px !important; height:22px !important; }
.ncf-scroll-percent { font-size:9px !important; line-height:1 !important; margin-top:2px; font-weight:700; color:inherit !important; }
body.ncf-panel-open #ncf-smart-tools { visibility:hidden !important; pointer-events:none !important; }
@media(max-width:767px) {
  .ncf-smart-tools { right:12px !important; bottom:calc(var(--ncf-tools-mobile-bottom,90px) + env(safe-area-inset-bottom,0px)) !important; }
}
@media(prefers-reduced-motion:reduce){.ncf-progress-top,.ncf-messaging-link,.ncf-progress-fill{transition:none!important}}

/* v2.4 Compact UI: every size below is configurable in Dashboard -> NCF Mobile Shop. */
.ncf-panel#ncf-cart-panel { width:min(96vw,var(--ncf-cart-panel-width,390px)) !important; padding:var(--ncf-cart-panel-padding,12px) !important; padding-bottom:calc(var(--ncf-cart-panel-padding,12px) + env(safe-area-inset-bottom,0px)) !important; overflow:hidden !important; }
#ncf-cart-panel .ncf-panel-heading { flex:0 0 auto; gap:6px; padding-bottom:5px; border-bottom:1px solid #e8e8e8; }
#ncf-cart-panel .ncf-panel-heading h3 { font-size:14px !important; text-transform:uppercase; }
#ncf-cart-panel .ncf-panel-close { flex:0 0 auto; width:var(--ncf-cart-close-size,24px) !important; height:var(--ncf-cart-close-size,24px) !important; min-width:0 !important; padding:3px !important; }
#ncf-cart-panel .ncf-panel-close svg { height:100%;width:100%; }
#ncf-cart-panel .ncf-cart-items { flex:1 1 auto; min-height:0; overflow-y:auto; overflow-x:hidden; padding:3px 2px 8px; margin-top:5px; scrollbar-width:thin; }
#ncf-cart-panel .ncf-cart-row { display:grid !important; grid-template-columns:var(--ncf-cart-thumb-size,50px) minmax(0,1fr) 20px; align-items:center; gap:var(--ncf-cart-item-gap,8px); margin:0 0 9px !important; padding:var(--ncf-cart-item-padding,9px) !important; border:1px solid #efefef !important; border-radius:9px; box-shadow:0 2px 5px rgba(0,0,0,.05); background:#fff; }
#ncf-cart-panel .ncf-cart-image-link { display:block; width:var(--ncf-cart-thumb-size,50px);height:var(--ncf-cart-thumb-size,50px); }
#ncf-cart-panel .ncf-cart-thumb { width:100% !important;height:100% !important; object-fit:contain; border:1px solid #f2f2f2; border-radius:5px; }
#ncf-cart-panel .ncf-cart-info { width:100%; min-width:0; overflow:hidden; }
#ncf-cart-panel .ncf-cart-title { display:block; font-size:var(--ncf-cart-title-size,12px) !important; font-weight:500 !important; line-height:1.25 !important; white-space:nowrap; text-overflow:ellipsis; overflow:hidden; margin:0 0 4px; }
#ncf-cart-panel .ncf-cart-math { display:flex;flex-wrap:wrap;align-items:center;gap:3px;min-width:0;font-size:var(--ncf-cart-price-size,11px);line-height:1.35;color:#3c4242; }
#ncf-cart-panel .ncf-cart-unit, #ncf-cart-panel .ncf-cart-line-total { font-size:inherit !important; font-weight:500; white-space:nowrap; }
#ncf-cart-panel .ncf-cart-line-total { font-weight:700; color:#252a2a; }
#ncf-cart-panel .ncf-cart-inline-qty { display:inline-flex !important;flex:0 0 auto;align-items:center;gap:0;margin:0 2px 0 0; border:1px solid #ddd !important;border-radius:14px;overflow:hidden; }
#ncf-cart-panel .ncf-cart-inline-qty button { width:var(--ncf-cart-qty-button-size,24px) !important;height:var(--ncf-cart-qty-button-size,24px) !important;min-width:0 !important;min-height:0 !important;padding:0 !important;border-radius:0 !important;background:#f9f9f9 !important;color:#111 !important;font-size:15px !important;line-height:1 !important;box-shadow:none !important; }
#ncf-cart-panel .ncf-cart-inline-qty .ncf-item-count { min-width:22px !important; font-size:var(--ncf-cart-price-size,11px) !important; font-weight:700;line-height:1; }
#ncf-cart-panel .ncf-item-remove { align-self:start !important;display:flex !important;align-items:center;justify-content:center;width:20px!important;height:24px!important;min-width:0!important;background:transparent !important;color:#303030!important;font-size:21px!important;line-height:1!important;padding:0!important;border:0!important;box-shadow:none!important; }
#ncf-cart-panel .ncf-cart-footer { flex:0 0 auto; gap:var(--ncf-cart-footer-gap,7px) !important;padding-top:8px;margin-top:4px;background:#fff; }
#ncf-cart-panel .ncf-cart-subline {font-size:13px !important;align-items:center;}
#ncf-cart-panel .ncf-cart-link, #ncf-cart-panel .ncf-cart-checkout {padding:8px !important;font-size:12px !important;line-height:1.4 !important; }
#ncf-cart-panel .ncf-related { flex:0 0 auto; margin:0 -1px; overflow:hidden; }
#ncf-cart-panel .ncf-related[hidden] { display:none !important; }
#ncf-cart-panel .ncf-related-head {display:flex;justify-content:space-between;align-items:center;gap:8px;background:#f7f7f7;padding:5px 6px;font-size:12px;}
#ncf-cart-panel .ncf-related-arrows{display:flex;gap:5px;}
#ncf-cart-panel .ncf-related-arrows button{width:25px;height:25px;min-height:0 !important;padding:0!important;border:0!important;border-radius:50%!important;background:var(--ncf-orange) !important;color:white !important;font-size:20px;line-height:1!important;}
#ncf-cart-panel .ncf-related-track{display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;scrollbar-width:none;padding:7px 0 8px;}
#ncf-cart-panel .ncf-related-track::-webkit-scrollbar{display:none;}
#ncf-cart-panel .ncf-related-card{flex:0 0 185px;display:flex;gap:7px;min-width:0;padding:5px;border:1px solid #eee;border-radius:8px;scroll-snap-align:start;}
#ncf-cart-panel .ncf-related-image{display:block;flex:0 0 46px;height:48px;}
#ncf-cart-panel .ncf-related-image img{width:100%;height:100%;object-fit:contain;}
#ncf-cart-panel .ncf-related-body{display:flex;flex-direction:column;min-width:0;gap:2px;}
#ncf-cart-panel .ncf-related-title{font-size:11px;line-height:1.2;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:110px;}
#ncf-cart-panel .ncf-related-price{font-size:10px;line-height:1.2;color:#8a5816;}
#ncf-cart-panel .ncf-related-add{width:max-content;min-height:19px!important;padding:1px 8px!important;border:0!important;border-radius:20px!important;font-size:10px!important;line-height:1.3!important;background:var(--ncf-orange)!important;color:#fff!important;}
#ncf-floating-cart.ncf-floating-cart { width:var(--ncf-float-width-desktop,94px) !important; min-height:0 !important; }
#ncf-floating-cart.ncf-floating-cart .ncf-float-top{min-height:0 !important;gap:3px !important;padding:var(--ncf-float-top-padding,8px) 3px !important;}
#ncf-floating-cart.ncf-floating-cart .ncf-float-top svg{width:var(--ncf-float-icon-size,21px)!important;height:var(--ncf-float-icon-size,21px)!important;}
#ncf-floating-cart.ncf-floating-cart strong{font-size:var(--ncf-float-count-size,12px)!important;line-height:1.15!important;white-space:nowrap;}
#ncf-floating-cart.ncf-floating-cart .ncf-float-bottom{font-size:var(--ncf-float-price-size,12px)!important;line-height:1.2!important;padding:var(--ncf-float-bottom-padding,7px) 2px!important;white-space:nowrap;overflow:visible;overflow-wrap:normal;letter-spacing:-.18px;}
#ncf-floating-cart.ncf-floating-cart .ncf-float-bottom.ncf-price-long{font-size:calc(var(--ncf-float-price-size,12px) * .83)!important;letter-spacing:-.3px;}
.ncf-smart-tools{width:var(--ncf-smart-button-size,42px)!important;gap:var(--ncf-smart-button-gap,9px)!important;right:var(--ncf-smart-right,12px)!important;}
.ncf-smart-tools .ncf-progress-top,.ncf-smart-tools .ncf-messaging-link{width:var(--ncf-smart-button-size,42px)!important;height:var(--ncf-smart-button-size,42px)!important;min-width:0!important;min-height:0!important;}
.ncf-smart-tools .ncf-progress-ring{width:100%!important;height:100%!important;}
.ncf-smart-tools .ncf-messaging-link svg, .ncf-smart-tools .ncf-progress-center > svg{width:var(--ncf-smart-icon-size,20px)!important;height:var(--ncf-smart-icon-size,20px)!important;}
.ncf-smart-tools .ncf-scroll-percent{font-size:8px!important;}
@media(max-width:767px){
  body:not(.wp-admin) { padding-bottom:calc(var(--ncf-nav-height,58px) + env(safe-area-inset-bottom,0px)) !important; }
  #ncf-bottom-nav.ncf-bottom-nav { display:flex!important; box-sizing:border-box!important;position:fixed!important;inset:auto 0 0 0!important;width:100%!important;max-width:100%!important;height:calc(var(--ncf-nav-height,58px) + env(safe-area-inset-bottom,0px))!important; min-height:0!important;overflow:hidden!important;overflow-x:hidden!important;overscroll-behavior-x:none!important;flex-wrap:nowrap!important;align-items:stretch!important;justify-content:space-around!important;gap:0!important;padding:var(--ncf-nav-padding-top,4px) var(--ncf-nav-horizontal-padding,2px) calc(var(--ncf-nav-padding-bottom,3px) + env(safe-area-inset-bottom,0px)) !important;touch-action:pan-y!important; }
  #ncf-bottom-nav .ncf-bottom-item {display:flex!important;flex:1 1 0!important;width:0!important;max-width:none!important;min-width:0!important;overflow:hidden!important;white-space:nowrap!important;gap:var(--ncf-nav-item-gap,2px)!important;padding:0 1px!important;margin:0!important;font-size:var(--ncf-nav-font-size,9px)!important;line-height:1.2!important;}
  #ncf-bottom-nav .ncf-bottom-item svg{width:var(--ncf-nav-icon-size,21px)!important;height:var(--ncf-nav-icon-size,21px)!important;max-width:100%!important;}
  #ncf-bottom-nav .ncf-bottom-item > span:last-child{display:block;white-space:nowrap;text-overflow:ellipsis;overflow:hidden;max-width:100%;}
  #ncf-bottom-nav .ncf-cart-count{min-width:16px!important;height:16px!important;font-size:10px!important;padding:0 3px!important;right:-9px!important;top:-7px!important;}
  #ncf-floating-cart.ncf-floating-cart {width:var(--ncf-float-width-mobile,82px)!important;}
  .ncf-smart-tools{right:var(--ncf-smart-right,12px)!important;}
  #ncf-cart-panel.ncf-panel{ width:min(100vw,var(--ncf-cart-panel-width,390px)) !important; }
  #ncf-cart-panel .ncf-related-card{flex-basis:170px;}
  .ncf-cart-feedback{bottom:calc(var(--ncf-nav-height,58px) + 8px + env(safe-area-inset-bottom,0px))!important;}
}

.ncf-loop-wrap .ncf-product-qty,.woocommerce ul.products li.product .ncf-product-qty{max-width:var(--ncf-product-button-width,205px)!important;}
.ncf-product-qty .ncf-add-btn,.woocommerce ul.products li.product .ncf-add-btn{height:var(--ncf-product-button-height,40px)!important;min-height:var(--ncf-product-button-height,40px)!important;font-size:var(--ncf-product-button-font-size,12px)!important;}
.ncf-product-qty .ncf-stepper{height:var(--ncf-product-button-height,40px)!important;min-height:var(--ncf-product-button-height,40px)!important;}
.ncf-product-qty .ncf-stepper button{height:calc(var(--ncf-product-button-height,40px) - 2px)!important;min-height:0!important;font-size:var(--ncf-product-stepper-font-size,20px)!important;}

/* v2.5.1: Related-products heading links to the shop; product links are clickable. */
#ncf-cart-panel .ncf-related-heading-link{color:inherit!important;text-decoration:none!important;font-weight:700;font-size:inherit;pointer-events:auto;}
#ncf-cart-panel .ncf-related-heading-link:hover{text-decoration:underline!important;}
#ncf-cart-panel .ncf-related-card{cursor:pointer;}
#ncf-cart-panel .ncf-related-card a{position:relative;z-index:1;pointer-events:auto;}
