/* Guddison Mobile Bottom Navigation. All selectors are scoped to the plugin. */
#gfbn-root{--gfbn-bg:#fff;--gfbn-text:#555b61;--gfbn-accent:#289455;--gfbn-border:#e6e9eb;--gfbn-height:70px;--gfbn-icon-size:22px;--gfbn-label-size:11px;--gfbn-width:580px;--gfbn-cart-bg:#fff;--gfbn-cart-button-bg:#268c52;--gfbn-cart-button-text:#fff;--gfbn-button-bg:#278d50;--gfbn-button-text:#fff;--gfbn-button-radius:12px;--gfbn-shadow:0 -2px 15px rgba(10,30,20,.1);position:fixed;bottom:0;left:0;right:0;margin-left:auto;margin-right:auto;width:100%;max-width:var(--gfbn-width);z-index:999990;pointer-events:none;font-family:system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;font-size:14px;line-height:1.4;box-sizing:border-box}
#gfbn-root *,#gfbn-root *::before,#gfbn-root *::after{box-sizing:border-box}
#gfbn-root [hidden]{display:none!important}
#gfbn-root button,#gfbn-root a,#gfbn-root input{font-family:inherit;box-shadow:none;letter-spacing:normal;text-transform:none}
#gfbn-root button{cursor:pointer}
#gfbn-root .gfbn-nav{width:100%;min-height:calc(var(--gfbn-height) + env(safe-area-inset-bottom,0px));padding:6px 8px calc(6px + env(safe-area-inset-bottom,0px));background:var(--gfbn-bg);border-top:1px solid var(--gfbn-border);box-shadow:var(--gfbn-shadow);display:flex;align-items:stretch;justify-content:space-between;overflow-x:auto;scrollbar-width:none;overscroll-behavior-x:contain;pointer-events:auto;border-radius:14px 14px 0 0}
#gfbn-root .gfbn-nav::-webkit-scrollbar{display:none}
#gfbn-root .gfbn-item{position:relative;min-width:55px;flex:1 0 55px;max-width:150px;margin:0 1px;padding:4px 2px;border:0!important;outline-offset:-2px;background:transparent!important;border-radius:var(--gfbn-button-radius);color:var(--gfbn-text)!important;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;text-decoration:none!important;font-size:var(--gfbn-label-size);font-weight:500;text-align:center;line-height:1.18;min-height:calc(var(--gfbn-height) - 14px);transition:background-color .15s,color .15s;box-shadow:none!important;white-space:normal}
#gfbn-root .gfbn-item:hover,#gfbn-root .gfbn-item:focus-visible,#gfbn-root .gfbn-item.is-active{color:var(--gfbn-accent)!important}
#gfbn-root .gfbn-item:focus-visible,#gfbn-root .gfbn-close:focus-visible,#gfbn-root .gfbn-search-form button:focus-visible{outline:2px solid var(--gfbn-accent);outline-offset:2px}
#gfbn-root .gfbn-icon{position:relative;font-size:var(--gfbn-icon-size);width:calc(var(--gfbn-icon-size) + 5px);height:calc(var(--gfbn-icon-size) + 5px);line-height:1;display:flex;align-items:center;justify-content:center;flex-shrink:0}
#gfbn-root .gfbn-icon i{line-height:1;font-size:inherit;display:block}
#gfbn-root .gfbn-svg,#gfbn-root .gfbn-svg svg{width:100%;height:100%;display:block}
#gfbn-root .gfbn-svg svg{max-height:100%;max-width:100%;fill:currentColor}
#gfbn-root .gfbn-label{font-size:var(--gfbn-label-size);max-width:100%;display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
#gfbn-root .gfbn-mini-total{display:block;white-space:nowrap;max-width:100%;overflow:hidden;font-size:9px;line-height:1.1}
#gfbn-root .gfbn-count{position:absolute;top:-5px;right:-11px;min-width:17px;height:17px;border-radius:50px;background:var(--gfbn-accent);color:#fff;display:flex;align-items:center;justify-content:center;padding:1px 3px;font-weight:700;font-size:10px;line-height:1}
#gfbn-root .gfbn-item.is-button{background:var(--gfbn-button-bg)!important;color:var(--gfbn-button-text)!important;margin:0 3px;padding:4px 8px}
#gfbn-root .gfbn-item.is-button:hover,#gfbn-root .gfbn-item.is-button:focus-visible,#gfbn-root .gfbn-item.is-button.is-active{filter:brightness(1.07);color:var(--gfbn-button-text)!important}
#gfbn-root .gfbn-cart-pill{pointer-events:auto;display:flex;align-items:center;gap:8px;min-height:56px;width:calc(100% - 24px);margin:0 auto 8px;border-radius:15px;padding:8px;background:var(--gfbn-cart-bg);color:#262b29;box-shadow:0 3px 19px rgba(0,0,0,.15);border:1px solid rgba(0,0,0,.07);font-size:12px;overflow:hidden}
#gfbn-root .gfbn-cart-thumb{width:33px;height:39px;min-width:33px;flex-shrink:0;border-radius:5px;display:flex;align-items:center;justify-content:center;background:#f1f5ee;border:1px solid #e4e8e3;overflow:hidden}
#gfbn-root .gfbn-cart-thumb img{width:100%;height:100%;object-fit:cover;display:block}
#gfbn-root .gfbn-cart-quantity{white-space:nowrap;color:#232323;flex:1;min-width:35px}
#gfbn-root .gfbn-cart-price{font-weight:700;font-size:12px;white-space:nowrap;flex:0 1 auto}
#gfbn-root .gfbn-cart-price .amount{font-weight:700}
#gfbn-root .gfbn-view-cart{border:0;display:inline-flex;align-items:center;justify-content:center;min-height:34px;padding:5px 12px;border-radius:10px;background:var(--gfbn-cart-button-bg);color:var(--gfbn-cart-button-text)!important;text-decoration:none!important;font-weight:700;font-size:12px;white-space:nowrap;flex:0 0 auto}
#gfbn-root .gfbn-view-cart:hover{filter:brightness(1.07)}
#gfbn-root .gfbn-overlays{position:fixed;inset:0;width:100vw;height:100dvh;max-width:none;z-index:5;background:var(--gfbn-bg);pointer-events:auto;overflow:hidden}
#gfbn-root .gfbn-overlay{position:absolute;inset:0;overflow-y:auto;overscroll-behavior:contain;background:var(--gfbn-bg);color:var(--gfbn-text);padding:max(18px,env(safe-area-inset-top,0px)) 20px calc(30px + env(safe-area-inset-bottom,0px));animation:gfbn-fade-in .15s ease}
#gfbn-root .gfbn-overlay-head{display:flex;justify-content:space-between;align-items:center;gap:12px;margin:0 0 20px;padding:0 0 13px;border-bottom:1px solid var(--gfbn-border)}
#gfbn-root .gfbn-overlay-head h2{font-size:23px;font-weight:750;color:var(--gfbn-text);padding:0;margin:0;line-height:1.2}
#gfbn-root .gfbn-close{border:0!important;min-width:38px;height:38px;padding:0;background:#f0f2f2!important;border-radius:10px;color:#37403c;font-size:28px;line-height:1}
#gfbn-root .gfbn-search-form{display:flex;align-items:stretch;gap:8px;margin:0 0 20px;padding:0}
#gfbn-root .gfbn-search-form input{flex:1;min-width:0;width:100%;height:47px;padding:0 14px;border:1px solid #d9dfdb;border-radius:12px;background:#fff;color:#232823;font-size:16px;outline-offset:2px}
#gfbn-root .gfbn-search-form button{border:0!important;flex:0 0 auto;background:var(--gfbn-accent)!important;color:white!important;padding:0 17px;border-radius:12px;font-weight:700}
#gfbn-root .gfbn-results{padding-bottom:30px;font-size:14px}
#gfbn-root .gfbn-result{display:flex;align-items:center;gap:12px;padding:11px 3px;border-bottom:1px solid var(--gfbn-border);text-decoration:none!important;color:var(--gfbn-text)!important}
#gfbn-root .gfbn-result:hover{color:var(--gfbn-accent)!important}
#gfbn-root .gfbn-result-image{width:54px;height:54px;border-radius:9px;object-fit:cover;background:#f2f2f2;flex-shrink:0}
#gfbn-root .gfbn-result-image.is-placeholder{display:flex;align-items:center;justify-content:center;font-size:23px;color:#adb3ae}
#gfbn-root .gfbn-result-text{display:flex;flex-direction:column;gap:2px;min-width:0}
#gfbn-root .gfbn-result-text strong{font-size:14px;line-height:1.35;font-weight:650}
#gfbn-root .gfbn-result-text small{font-size:12px;opacity:.72}
#gfbn-root .gfbn-result-text .gfbn-result-price{font-weight:700;font-size:13px;color:var(--gfbn-accent)}
#gfbn-root .gfbn-message,#gfbn-root .gfbn-empty{padding:18px 0;color:var(--gfbn-text);opacity:.78}
#gfbn-root .gfbn-native-menu,#gfbn-root .gfbn-native-menu ul{display:block;list-style:none;margin:0;padding:0}
#gfbn-root .gfbn-native-menu li{display:block;list-style:none;margin:0;border-bottom:1px solid var(--gfbn-border)}
#gfbn-root .gfbn-native-menu a{display:block;color:var(--gfbn-text)!important;padding:14px 6px;text-decoration:none!important;font-size:16px;font-weight:550}
#gfbn-root .gfbn-native-menu a:hover,#gfbn-root .gfbn-native-menu .current-menu-item>a{color:var(--gfbn-accent)!important}
#gfbn-root .gfbn-native-menu ul{padding-left:22px}
#gfbn-root .gfbn-toast{position:absolute;bottom:calc(var(--gfbn-height) + 12px + env(safe-area-inset-bottom,0px));left:50%;transform:translateX(-50%);background:#232725;color:#fff;border-radius:8px;padding:10px 15px;font-size:13px;white-space:nowrap;max-width:95vw;overflow:hidden;text-overflow:ellipsis;pointer-events:none}
#gfbn-root .gfbn-sr-only{position:absolute!important;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
body.gfbn-body-padding{padding-bottom:calc(var(--gfbn-page-padding,70px) + env(safe-area-inset-bottom,0px))!important}
body.gfbn-overlay-active{overflow:hidden!important}
@keyframes gfbn-fade-in{from{opacity:.4;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
@media(prefers-reduced-motion:reduce){#gfbn-root *,#gfbn-root *::before{animation:none!important;transition:none!important}}
@media(max-width:370px){#gfbn-root .gfbn-cart-pill{gap:5px}#gfbn-root .gfbn-view-cart{padding:5px 8px}#gfbn-root .gfbn-cart-price{font-size:11px}#gfbn-root .gfbn-item{min-width:48px;flex-basis:48px}}
/* v1.1: scoped per-item design tokens and context-sensitive search visibility. */
#gfbn-root .gfbn-item{
  background:var(--gfbn-item-bg,transparent)!important;
  color:var(--gfbn-item-color,var(--gfbn-text))!important;
  font-family:var(--gfbn-item-font,inherit)!important;
  font-weight:var(--gfbn-item-weight,500);
  font-size:var(--gfbn-item-font-size,var(--gfbn-label-size));
  flex-basis:var(--gfbn-item-width,55px);
  min-width:var(--gfbn-item-width,55px);
  border:var(--gfbn-item-border-width,0px) solid var(--gfbn-item-border,transparent)!important;
  border-radius:var(--gfbn-item-radius,var(--gfbn-button-radius));
}
#gfbn-root .gfbn-item .gfbn-label{font-size:var(--gfbn-item-font-size,var(--gfbn-label-size));font-weight:inherit}
#gfbn-root .gfbn-item .gfbn-icon{font-size:var(--gfbn-item-icon-size,var(--gfbn-icon-size));width:calc(var(--gfbn-item-icon-size,var(--gfbn-icon-size)) + 5px);height:calc(var(--gfbn-item-icon-size,var(--gfbn-icon-size)) + 5px);color:var(--gfbn-item-icon-color,currentColor)}
#gfbn-root .gfbn-item:hover,#gfbn-root .gfbn-item:focus-visible,#gfbn-root .gfbn-item.is-active{color:var(--gfbn-item-active,var(--gfbn-accent))!important}
#gfbn-root .gfbn-item.is-button,#gfbn-root .gfbn-item.gfbn-design-solid{
  background:var(--gfbn-item-bg,var(--gfbn-button-bg))!important;
  color:var(--gfbn-item-color,var(--gfbn-button-text))!important;
}
#gfbn-root .gfbn-item.is-button:hover,#gfbn-root .gfbn-item.gfbn-design-solid:hover,#gfbn-root .gfbn-item.is-button.is-active,#gfbn-root .gfbn-item.gfbn-design-solid.is-active{
  color:var(--gfbn-item-active,var(--gfbn-item-color,var(--gfbn-button-text)))!important;
}
#gfbn-root .gfbn-item.gfbn-design-soft{background:var(--gfbn-item-bg,rgba(40,148,85,.10))!important}
#gfbn-root .gfbn-item.gfbn-design-outline{border-width:var(--gfbn-item-border-width,1px)!important;border-color:var(--gfbn-item-border,var(--gfbn-accent))!important;background:var(--gfbn-item-bg,transparent)!important}
#gfbn-root .gfbn-item.gfbn-design-pill{border-radius:var(--gfbn-item-radius,100px);background:var(--gfbn-item-bg,rgba(40,148,85,.10))!important}
#gfbn-root .gfbn-item.gfbn-layout-horizontal{flex-direction:row;gap:6px;padding-inline:7px}
#gfbn-root .gfbn-item.gfbn-layout-horizontal .gfbn-label{white-space:normal}
/* Cart and navigation search hiding is controlled by independent cart and menu options below. */
#gfbn-root.gfbn-search-open.gfbn-show-search-nav .gfbn-nav{position:relative;z-index:8}
#gfbn-root.gfbn-search-open.gfbn-show-search-nav .gfbn-overlay{bottom:calc(var(--gfbn-height) + env(safe-area-inset-bottom,0px))}
#gfbn-root.gfbn-search-open.gfbn-show-search-nav .gfbn-overlays{pointer-events:none}
#gfbn-root.gfbn-search-open.gfbn-show-search-nav .gfbn-overlay{pointer-events:auto}
#gfbn-root.gfbn-search-open:not(.gfbn-show-search-nav) .gfbn-nav{display:none!important}

#gfbn-root .gfbn-fa-svg{width:100%;height:100%;max-width:100%;max-height:100%;display:block;overflow:visible;fill:currentColor}

/* 1.2 — reliable floating cart and per-item shape/dimensions. */
#gfbn-root > .gfbn-cart-pill:not([hidden]){display:flex!important;opacity:1!important;visibility:visible!important;isolation:isolate;z-index:2}
#gfbn-root .gfbn-nav[hidden]{display:none!important}
#gfbn-root .gfbn-item{
  max-width:var(--gfbn-item-width,150px);
  min-height:var(--gfbn-item-height,calc(var(--gfbn-height) - 14px));
  height:var(--gfbn-item-height,auto);
  padding:var(--gfbn-item-padding,4px) var(--gfbn-item-padding,2px);
}
#gfbn-root .gfbn-item.gfbn-shape-square{border-radius:0!important}
#gfbn-root .gfbn-item.gfbn-shape-rounded{border-radius:14px!important}
#gfbn-root .gfbn-item.gfbn-shape-pill{border-radius:999px!important}
#gfbn-root .gfbn-item.gfbn-shape-circle{border-radius:50%!important;flex:0 0 var(--gfbn-item-width,60px);min-height:0;height:var(--gfbn-item-width,60px);max-height:var(--gfbn-item-width,60px);width:var(--gfbn-item-width,60px);padding:4px}
#gfbn-root .gfbn-item.gfbn-shape-custom{border-radius:var(--gfbn-item-radius,12px)!important}

/* v1.3.0: WooCommerce product image stack, independent cart alignment and separate desktop menu. */
#gfbn-root .gfbn-cart-pill{
  gap:10px;justify-content:flex-start;
  width:max-content;max-width:calc(100vw - 20px);
  min-height:54px;min-width:0;max-height:none;
  padding:8px 12px;color:var(--gfbn-cart-text,#283529);
  background:var(--gfbn-cart-bg);border:0;
  border-radius:20px;
}
#gfbn-root .gfbn-cart-info{display:flex;flex-direction:column;min-width:0;flex:1 1 auto;gap:2px}
#gfbn-root .gfbn-cart-quantity{flex:initial;min-width:0;color:inherit;white-space:normal;font-weight:700;line-height:1.15;font-size:15px}
#gfbn-root .gfbn-cart-price{color:inherit;line-height:1.2;font-size:13px}
#gfbn-root .gfbn-cart-price .amount{color:inherit}
#gfbn-root .gfbn-cart-photos{display:flex;align-items:center;flex:0 0 auto;min-width:0}
#gfbn-root .gfbn-cart-photo{width:var(--gfbn-cart-image-size,46px);height:var(--gfbn-cart-image-size,46px);aspect-ratio:1;object-fit:cover;display:block;background:#f4f4f4;border:2px solid var(--gfbn-cart-bg);box-shadow:0 2px 4px #0002;max-width:none;flex:0 0 auto}
#gfbn-root .gfbn-cart-photo + .gfbn-cart-photo{margin-left:calc(-1 * var(--gfbn-cart-image-overlap,16px))}
#gfbn-root .gfbn-cart-photos .gfbn-cart-photo:nth-child(1){z-index:5}
#gfbn-root .gfbn-cart-photos .gfbn-cart-photo:nth-child(2){z-index:4}
#gfbn-root .gfbn-cart-photos .gfbn-cart-photo:nth-child(3){z-index:3}
#gfbn-root .gfbn-cart-photos .gfbn-cart-photo:nth-child(4){z-index:2}
#gfbn-root .gfbn-cart-photos .gfbn-cart-photo:nth-child(5){z-index:1}
#gfbn-root .gfbn-cart-images-circle .gfbn-cart-photo{border-radius:50%}
#gfbn-root .gfbn-cart-images-square .gfbn-cart-photo{border-radius:0}
#gfbn-root .gfbn-cart-images-rounded .gfbn-cart-photo{border-radius:12px}
#gfbn-root .gfbn-cart-images-pill .gfbn-cart-photo{border-radius:40%}
#gfbn-root .gfbn-cart-width-fixed{width:min(var(--gfbn-cart-fixed-width,360px),calc(100vw - 20px))}
#gfbn-root .gfbn-cart-showcase{border-radius:999px;padding:9px 13px;min-height:calc(var(--gfbn-cart-image-size,46px) + 18px);box-shadow:0 4px 18px #0002}
#gfbn-root .gfbn-cart-showcase .gfbn-view-cart{
  flex:0 0 auto;padding:0 0 0 7px;background:transparent!important;color:var(--gfbn-cart-text)!important;
  gap:8px;display:inline-flex;font-size:16px;font-weight:750;
}
#gfbn-root .gfbn-cart-showcase .gfbn-view-cart-arrow{width:36px;height:36px;display:flex;align-items:center;justify-content:center;background:var(--gfbn-cart-button-bg);color:var(--gfbn-cart-button-text);border-radius:50%;font-size:29px;font-weight:400;line-height:1;flex:0 0 auto}
#gfbn-root .gfbn-cart-classic .gfbn-view-cart-arrow{display:none}
#gfbn-root .gfbn-cart-classic .gfbn-view-cart{font-size:12px}
#gfbn-root .gfbn-cart-pos-bottom_left,#gfbn-root .gfbn-cart-pos-bottom_center,#gfbn-root .gfbn-cart-pos-bottom_right,
#gfbn-root .gfbn-cart-pos-top_left,#gfbn-root .gfbn-cart-pos-top_center,#gfbn-root .gfbn-cart-pos-top_right{position:fixed;margin:0;z-index:999991}
#gfbn-root .gfbn-cart-pos-bottom_left,#gfbn-root .gfbn-cart-pos-bottom_center,#gfbn-root .gfbn-cart-pos-bottom_right{
  bottom:calc(var(--gfbn-cart-nav-offset,0px) + var(--gfbn-cart-y,12px) + env(safe-area-inset-bottom,0px));top:auto
}
#gfbn-root .gfbn-cart-pos-top_left,#gfbn-root .gfbn-cart-pos-top_center,#gfbn-root .gfbn-cart-pos-top_right{
  top:calc(var(--gfbn-cart-y,12px) + env(safe-area-inset-top,0px));bottom:auto
}
#gfbn-root .gfbn-cart-pos-bottom_left,#gfbn-root .gfbn-cart-pos-top_left{left:var(--gfbn-cart-x,12px);right:auto;transform:none}
#gfbn-root .gfbn-cart-pos-bottom_right,#gfbn-root .gfbn-cart-pos-top_right{right:var(--gfbn-cart-x,12px);left:auto;transform:none}
#gfbn-root .gfbn-cart-pos-bottom_center,#gfbn-root .gfbn-cart-pos-top_center{left:50%;right:auto;transform:translateX(-50%)}
#gfbn-root .gfbn-desktop-nav{
  --gfbn-bg:var(--gfbn-desktop-bg);--gfbn-text:var(--gfbn-desktop-text);
  --gfbn-accent:var(--gfbn-desktop-accent);--gfbn-height:var(--gfbn-desktop-height);
  --gfbn-icon-size:var(--gfbn-desktop-icon-size);--gfbn-label-size:var(--gfbn-desktop-label-size);
  justify-content:center;gap:8px
}
#gfbn-root .gfbn-desktop-nav .gfbn-item{flex:0 1 auto;min-width:80px;padding-left:14px;padding-right:14px}
@media(max-width:420px){
  #gfbn-root .gfbn-cart-showcase{gap:5px;padding:7px 9px}
  #gfbn-root .gfbn-cart-showcase .gfbn-view-cart{font-size:12px;gap:4px;padding-left:0}
  #gfbn-root .gfbn-cart-showcase .gfbn-view-cart-arrow{width:30px;height:30px;font-size:25px}
  #gfbn-root .gfbn-cart-showcase .gfbn-cart-quantity{font-size:12px}
  #gfbn-root .gfbn-cart-showcase .gfbn-cart-price{font-size:11px}
}


/* v1.4: restore compact v1.2 View Cart CTA and 12px cart text, retain product photo stack. */
#gfbn-root .gfbn-cart-pill .gfbn-cart-info{display:flex;flex-direction:row;flex-wrap:wrap;align-items:center;gap:2px 8px;min-width:35px;flex:1 1 auto}
#gfbn-root .gfbn-cart-pill .gfbn-cart-quantity{font-size:12px;font-weight:400;line-height:1.4;color:var(--gfbn-cart-text,#283529);white-space:nowrap}
#gfbn-root .gfbn-cart-pill .gfbn-cart-price,#gfbn-root .gfbn-cart-pill .gfbn-cart-price .amount{font-size:12px;font-weight:700;line-height:1.4;color:var(--gfbn-cart-text,#283529);white-space:nowrap}
#gfbn-root .gfbn-cart-showcase .gfbn-view-cart,#gfbn-root .gfbn-cart-classic .gfbn-view-cart{
  border:0;display:inline-flex;align-items:center;justify-content:center;
  min-height:34px;padding:5px 12px;border-radius:10px;
  background:var(--gfbn-cart-button-bg)!important;color:var(--gfbn-cart-button-text)!important;
  text-decoration:none!important;font-weight:700;font-size:12px;
  white-space:nowrap;flex:0 0 auto;line-height:1.3;gap:0
}
#gfbn-root .gfbn-cart-showcase .gfbn-view-cart:hover,#gfbn-root .gfbn-cart-classic .gfbn-view-cart:hover{filter:brightness(1.07)}
/* Search states apply to the cart and the navigation independently. */
#gfbn-root.gfbn-search-open.gfbn-hide-cart-overlay > .gfbn-cart-pill:not([hidden]),
#gfbn-root.gfbn-native-search-active.gfbn-hide-cart-typing > .gfbn-cart-pill:not([hidden]){display:none!important}
#gfbn-root.gfbn-native-search-active.gfbn-hide-nav-typing .gfbn-nav{display:none!important}
