/*
 * hbsearch.css
 * Bundled styles extracted from public/hbsearch.js
 * Includes search-app UI + legacy category tile styling
 */

#product-search-result #products-results.hb-legacy-grid .products__stock{margin-top:2px}
      #product-search-result #products-results.hb-legacy-grid .products__price{
        margin-top:2px;
        text-align:right !important;
      }
      #product-search-result #products-results.hb-legacy-grid .custom_sellingunits{
        text-align:right !important;
      }
      #product-search-result #products-results.hb-legacy-grid .products__price .price__currency,
      #product-search-result #products-results.hb-legacy-grid .products__price .price__digit,
      #product-search-result #products-results.hb-legacy-grid .products__price .price__decimal{
        color:#b12704 !important;
      }
      #product-search-result #products-results.hb-legacy-grid .products__add.addtocartgroup{
        margin:0 !important;
        margin-left:0 !important;
        margin-right:0 !important;
        width:100%;
        max-width:100%;
        box-sizing:border-box;
        display:grid !important;
        grid-template-columns:74px 1fr;
        align-items:stretch;
        column-gap:0;
        border:1px solid #d5d9e0;
        border-radius:0 0 3px 3px;
        overflow:hidden;
        background:#fff;
      }
      #product-search-result #products-results.hb-legacy-grid .products__add .addtocart-qty-label,
      #product-search-result #products-results.hb-legacy-grid .products__add .addmultiinput{
        display:none !important;
      }
      #product-search-result #products-results.hb-legacy-grid .products__add .hb-qty-trigger{
        border:1px solid #d5d9e0; border-right:0; background:#fff; color:#273142;
        border-radius:999px 0 0 999px;
        font-weight:700; font-size:13px; padding:0 10px; min-height:36px; cursor:pointer;
      }
      #product-search-result #products-results.hb-legacy-grid .products__add .btn.addbtn{
        float:none !important;
        min-width:0 !important;
        width:100% !important;
        box-sizing:border-box;
        border-radius:0 999px 999px 0 !important;
      }

      #hb-qtyModal.hb-standalone{
        position:fixed; inset:0; z-index:120; display:none;
      }
      #hb-qtyModal.hb-standalone.hb-open{display:block}
      #hb-qtyModal.hb-standalone .hb-qty-backdrop{
        position:absolute; inset:0; background:rgba(17,24,39,.45);
      }
      #hb-qtyModal.hb-standalone .hb-qty-sheet{
        position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
        width:min(92vw,420px); background:#fff; border:1px solid #d5d9e0; border-radius:12px; padding:14px;
      }
      #hb-qtyModal.hb-standalone .hb-qty-sheet h3{margin:0 0 4px;font-size:1rem}
      #hb-qtyModal.hb-standalone .hb-qty-sub{color:#606b7a;font-size:.8rem;margin-bottom:10px}
      #hb-qtyModal.hb-standalone .hb-qty-main{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center}
      #hb-qtyModal.hb-standalone .hb-qty-step{
        border:1px solid #d5d9e0; background:#f4f6f8; border-radius:8px; height:38px; font-size:20px; line-height:1;
      }
      #hb-qtyModal.hb-standalone .hb-qty-input{
        border:1px solid #d5d9e0; border-radius:8px; height:38px; text-align:center; font-size:16px; font-weight:700;
      }
      #hb-qtyModal.hb-standalone .hb-qty-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
      #hb-qtyModal.hb-standalone .hb-qty-chip{
        border:1px solid #d5d9e0; background:#fff; border-radius:999px; padding:7px 8px; font-size:12px; font-weight:700;
      }
      #hb-qtyModal.hb-standalone .hb-qty-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
      #hb-qtyModal.hb-standalone .hb-qty-direct{background:#111827;border-color:#111827;color:#fff}
      #hb-qtyModal.hb-standalone .hb-qty-direct:hover{background:#0b1220;border-color:#0b1220}

      @media (max-width: 720px){
        #product-search-result #products-results.hb-legacy-grid{
          display:grid !important;
          grid-template-columns:minmax(0,1fr);
          gap:8px;
          list-style:none;
          margin:0;
          padding:0;
        }
        #product-search-result #products-results.hb-legacy-grid > li.products__item{
          float:none !important;
          width:auto !important;
          margin:0 !important;
          padding:0 !important;
          background:#fff;
          border:1px solid #d5d9e0;
          display:grid;
          grid-template-columns:110px minmax(0,1fr);
          grid-template-rows:auto auto auto;
          border-radius:8px;
          position:relative;
          overflow:hidden;
        }
        #product-search-result #products-results.hb-legacy-grid > li.products__item::before{
          content:"";position:absolute;top:0;bottom:0;left:110px;width:1px;background:#d5d9e0;pointer-events:none;
        }
        #product-search-result #products-results.hb-legacy-grid .products__link{display:contents}
        #product-search-result #products-results.hb-legacy-grid .products__image{
          grid-column:1;grid-row:1 / span 3;align-self:start;
          width:110px;height:110px;border-bottom:0;
          background:#fff;
          display:flex;
          align-items:center;
          justify-content:center;
          overflow:hidden;
        }
        #product-search-result #products-results.hb-legacy-grid .products__image img{
          width:100%;
          height:100%;
          object-fit:contain;
          object-position:center;
          display:block;
        }
        #product-search-result #products-results.hb-legacy-grid .products__body{
          position:static !important;
          inset:auto !important;
          grid-column:2;grid-row:1;align-self:start;
          background:none !important;
          padding:8px 8px 2px;gap:4px;min-width:0;
          display:flex;
          flex-direction:column;
        }
        #product-search-result #products-results.hb-legacy-grid .title .products__title + .products__title{display:none}
        #product-search-result #products-results.hb-legacy-grid .products__description{display:none}
        #product-search-result #products-results.hb-legacy-grid .products__code{
          color:#606b7a;
        }
        #product-search-result #products-results.hb-legacy-grid .products__title{
          font-size:13px;line-height:1.3;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;
        }
        #product-search-result #products-results.hb-legacy-grid .products__code{font-size:10px}
        #product-search-result #products-results.hb-legacy-grid .custom_sellingunits{
          grid-column:2; grid-row:2; align-self:start;
          margin:0 8px 4px 8px !important;
          text-align:left !important;
          font-size:.78rem;
          color:#1f2937;
        }
        #product-search-result #products-results.hb-legacy-grid .products__add.addtocartgroup{
          grid-column:2;grid-row:3;align-self:start;
          margin:0 6px 8px 8px !important;
          grid-template-columns:66px 1fr;
          min-width:0;
          border:1px solid #d5d9e0;
          border-radius:999px;
          overflow:hidden;
          background:#fff;
        }
        #product-search-result #products-results.hb-legacy-grid .products__add .btn.addbtn{
          width:100%; min-width:0; border:0; border-radius:0; background:#b12704; color:#fff;
        }
        #product-search-result #products-results.hb-legacy-grid .products__add .btn.addbtn:hover{
          background:#8e1f04; border-color:#8e1f04;
        }
        #product-search-result #products-results.hb-legacy-grid .products__add .hb-qty-trigger{
          min-height:34px;font-size:12px;padding:0 8px;
        }
        #product-search-result #products-results.hb-legacy-grid .clearfix{display:none}
      }

#hb-search-app{
        --hb-bg:#eceff3; --hb-card:#fff; --hb-border:#d5d9e0; --hb-text:#1f2937; --hb-muted:#606b7a;
        --hb-accent:#b12704; --hb-accent-hover:#8e1f04; --hb-soft-red:#fde9e4; --hb-radius:12px;
        color:var(--hb-text); background:var(--hb-bg); border-radius:14px; padding:12px; margin:0 auto;
      }
      #hb-search-app *{box-sizing:border-box}
      #hb-search-app .hb-head{display:flex;align-items:flex-end;justify-content:space-between;gap:12px;margin:2px 0 10px}
      #hb-search-app .hb-title{font-size:1.35rem;line-height:1.1;margin:0}
      #hb-search-app .hb-meta{color:var(--hb-muted);font-size:.88rem}
      #hb-search-app .hb-wrap{display:grid;grid-template-columns:300px 1fr;gap:16px;align-items:start}
      #hb-search-app .hb-mobile-filter-toggle{
        display:none; width:100%; align-items:center; justify-content:center; gap:8px;
        border:1px solid #c5c9d3; background:#fff; color:#2a2f36; border-radius:10px; padding:10px 12px; font-weight:700;
      }
      #hb-search-app .hb-filters-overlay{
        position:fixed; inset:0; background:rgba(17,24,39,.48); z-index:99; opacity:0; visibility:hidden; transition:opacity .2s ease;
      }
      #hb-search-app .hb-filters{
        background:linear-gradient(180deg,#fff,#fafbfd); border:1px solid #cfd5de; border-radius:14px; padding:10px;
        position:sticky; top:80px; max-height:calc(100vh - 96px); overflow:auto;
      }
      #hb-search-app .hb-filters-head{display:flex;align-items:center;justify-content:space-between;gap:8px;padding-bottom:6px;border-bottom:1px solid var(--hb-border)}
      #hb-search-app .hb-filters h2{margin:0;font-size:1rem;font-weight:800;letter-spacing:.01em}
      #hb-search-app .hb-close-filters{
        display:none; border:1px solid var(--hb-border); background:#fff; color:#374151; border-radius:8px; padding:7px 10px;
      }
      #hb-search-app .hb-block{border-top:1px solid var(--hb-border);padding-top:9px;margin-top:9px}
      #hb-search-app .hb-block > strong{display:block;font-size:.97rem;font-weight:800;letter-spacing:.01em;color:#1f2937}
      #hb-search-app .hb-small{color:#5b6677;font-size:.76rem;line-height:1.2}
      #hb-search-app .hb-input-sm{
        width:100%;padding:5px 8px;border:1px solid #c3cad5;border-radius:8px;margin-top:6px;background:#fff;color:#1f2937;
        font-size:.88rem;line-height:1.2;
      }
      #hb-search-app .hb-input-sm::placeholder{color:#6b7280}
      #hb-search-app .hb-price-row{
        display:grid;grid-template-columns:1fr auto 1fr;gap:6px;align-items:center;margin-top:6px;
      }
      #hb-search-app .hb-price-row input{width:100%;min-width:0;margin-top:0}
      #hb-search-app #hb-applyPrice{grid-column:1 / span 2}
      #hb-search-app #hb-clearPrice{grid-column:3}
      #hb-search-app .btn.btn-small{font-size:11px;padding:5px 9px;border-radius:8px;border:1px solid var(--hb-accent);background:var(--hb-accent);color:#fff}
      #hb-search-app .btn-outline{background:#fff;color:#3f4958;border:1px solid var(--hb-border)}
      #hb-search-app .hb-mobile-actions{display:none}

      #hb-search-app .hb-chips,#hb-search-app .hb-rowchips,#hb-search-app .hb-attr-values{display:flex;gap:6px;flex-wrap:wrap}
      #hb-search-app .hb-chip{
        display:inline-flex;align-items:center;gap:6px;padding:5px 8px;border:1px solid #c6cdd8;
        border-radius:999px;background:#f7f9fc;cursor:pointer;font-size:.86rem;line-height:1.12;
      }
      #hb-search-app .hb-chip input{margin:0;width:13px;height:13px}
      #hb-search-app .hb-chip-count{color:#5d6777;font-weight:600;font-size:.88em}
      #hb-search-app .hb-chip:hover{background:#f4f6f8}
      #hb-search-app .hb-active{border-color:#d9a492;background:#fdf0ec;box-shadow:0 0 0 1px rgba(177,39,4,.22) inset}

      #hb-search-app .hb-cat-tree details,#hb-search-app #hb-attrGroups details{
        border:1px solid #c8cfda;border-radius:9px;background:#fff;margin-top:6px;overflow:hidden;
      }
      #hb-search-app .hb-cat-tree summary,#hb-search-app #hb-attrGroups summary{
        cursor:pointer; list-style:none; font-weight:700; display:flex; align-items:center; justify-content:space-between; gap:8px;
      }
      #hb-search-app .hb-cat-tree summary{padding:9px 10px}
      #hb-search-app #hb-attrGroups summary{padding:4px 9px}
      #hb-search-app .hb-summary-title{font-weight:700;color:#222c3b;line-height:1.2}
      #hb-search-app .hb-summary-count{margin-left:auto;font-size:.79rem;color:#586273;font-weight:700;padding-right:12px}
      #hb-search-app .hb-cat-tree summary::after,#hb-search-app #hb-attrGroups summary::after{
        content:"▸";font-size:12px;color:#6b7280;transition:transform .15s ease;flex:0 0 auto;
      }
      #hb-search-app .hb-cat-tree details[open] > summary::after,#hb-search-app #hb-attrGroups details[open] > summary::after{transform:rotate(90deg)}
      #hb-search-app .hb-cat-tree .hb-lvl,#hb-search-app #hb-attrGroups .hb-group-body{
        padding:8px 8px 8px;border-top:1px solid var(--hb-border)
      }
      #hb-search-app .hb-subhead{display:flex;align-items:center;justify-content:space-between;gap:6px;padding:4px 0 3px;font-weight:700;color:#243042}
      #hb-search-app .hb-attr-search{margin:0 0 8px}
      #hb-search-app .hb-more{margin-top:6px}

      #hb-search-app .hb-results{min-width:0}
      #hb-search-app .hb-grid{display:grid;gap:16px;grid-template-columns:repeat(auto-fill,minmax(250px,1fr));min-width:0}
      #hb-search-app .hb-group{
        grid-column:1/-1; margin:10px 0 8px; padding:10px 12px; background:#fff; border:1px solid var(--hb-border);
        border-left:4px solid var(--hb-accent); border-radius:8px; display:flex; align-items:center; justify-content:space-between; font-weight:700;
      }
      #hb-search-app .hb-card{
        background:#fff;border:1px solid var(--hb-border);border-radius:var(--hb-radius);overflow:hidden;
        display:flex;flex-direction:column;transition:box-shadow .15s,transform .15s,border-color .15s;
      }
      #hb-search-app .hb-card:hover{box-shadow:0 6px 16px rgba(31,41,55,.1);transform:translateY(-1px);border-color:#c8ced8}
      #hb-search-app .hb-card>.products__link{display:flex;flex-direction:column;flex:1 1 auto;color:inherit;text-decoration:none;cursor:pointer}
      #hb-search-app .hb-card>.products__link:focus-visible{outline:2px solid var(--hb-accent);outline-offset:-2px}
      #hb-search-app .hb-card>.products__link:hover .products__title{text-decoration:underline}
      #hb-search-app .hb-thumb{
        width:100%;height:210px;background:#fff;display:flex;align-items:center;justify-content:center;
        border-bottom:1px solid var(--hb-border);overflow:hidden;position:relative
      }
      #hb-search-app .hb-thumb img{width:100%;height:100%;object-fit:contain;object-position:center;background:#fff;display:block}
      #hb-search-app .hb-ph{color:#9aa1ab;font-size:12px}
      #hb-search-app .hb-content{padding:12px;display:flex;flex-direction:column;gap:7px}
      #hb-search-app .products__title{margin:0;font-size:15px;line-height:1.35;font-weight:700;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
      #hb-search-app .products__code,#hb-search-app .hb-cats{font-size:12px;color:var(--hb-muted)}
      #hb-search-app .hb-pill{
        font-size:11px;color:#3c4658;border:1px solid #d7dbe3;background:#f8fafc;border-radius:999px;padding:4px 7px;font-weight:600;line-height:1.1;
      }
      #hb-search-app .hb-pill-top{color:var(--hb-accent);border-color:#efcfc5;background:var(--hb-soft-red)}
      #hb-search-app .hb-pill-attr{color:#3b5f49;border-color:#bfd7c8;background:#eef7f1}
      #hb-search-app .hb-pill-overlay{
        position:absolute;left:8px;top:8px;z-index:2;pointer-events:none;box-shadow:0 1px 3px rgba(17,24,39,.12);
      }
      #hb-search-app .hb-spacer{flex:1 1 auto}
      #hb-search-app .products__stock{margin-top:2px}
      #hb-search-app .products__price{margin-top:2px;display:flex;justify-content:flex-end;text-align:right}
      #hb-search-app .products__price .local-price{display:inline-flex;align-items:flex-start;justify-content:flex-end;gap:3px}
      #hb-search-app .products__price .price__main{display:inline-flex;align-items:flex-start;line-height:.9}
      #hb-search-app .products__price .price__minor{display:flex;flex-direction:column;align-items:flex-start;line-height:1}
      #hb-search-app .products__price .price__currency,
      #hb-search-app .products__price .price__digit{color:var(--hb-accent);font-weight:800;font-size:2.45rem;line-height:.9}
      #hb-search-app .products__price .price__decimal{color:var(--hb-accent);font-weight:800;font-size:1.08rem;line-height:1;padding-top:3px}
      #hb-search-app .products__price .price__vat{color:#263040;font-size:.75rem;letter-spacing:.03em;text-transform:uppercase;font-weight:700;line-height:1.05}
      #hb-search-app .hb-buyrow{padding:0 12px 12px}
      #hb-search-app .hb-buy-main{display:flex;flex-direction:column;gap:2px;align-items:flex-end;text-align:right}
      #hb-search-app .hb-attr-pills{display:none}
      #hb-search-app .custom_sellingunits{margin:2px 0 0;color:#6b7280;font-size:.85rem;text-align:right}
      #hb-search-app .hb-multiple-note{margin-top:2px;color:#5f6674;font-size:.75rem}
      #hb-search-app .products__add{
        margin:8px 0 0; display:grid; grid-template-columns:74px 1fr; align-items:stretch;
        border:1px solid var(--hb-border); border-radius:999px; overflow:hidden; background:#fff;
      }
      #hb-search-app .products__add .hb-qty-trigger{
        border:0; border-right:1px solid var(--hb-border); background:#fff; color:#273142;
        font-weight:700; font-size:13px; padding:0 10px; min-height:36px; cursor:pointer;
      }
      #hb-search-app .products__add .hb-qty-trigger:focus-visible{outline:2px solid var(--hb-accent); outline-offset:-2px}
      #hb-search-app .products__add .addmultiinput{display:none !important}
      #hb-search-app .products__add .btn.addbtn{
        width:100%; min-width:0; border:0; border-radius:0; background:var(--hb-accent);
      }
      #hb-search-app .products__add .btn.addbtn:hover{background:var(--hb-accent-hover);border-color:var(--hb-accent-hover)}

      #hb-search-app .hb-qty-modal{
        position:fixed; inset:0; z-index:120; display:none;
      }
      #hb-search-app .hb-qty-modal.hb-open{display:block}
      #hb-search-app .hb-qty-backdrop{
        position:absolute; inset:0; background:rgba(17,24,39,.45);
      }
      #hb-search-app .hb-qty-sheet{
        position:absolute; left:50%; top:50%; transform:translate(-50%,-50%);
        width:min(92vw,420px); background:#fff; border:1px solid var(--hb-border); border-radius:12px;
        padding:14px;
      }
      #hb-search-app .hb-qty-sheet h3{margin:0 0 4px;font-size:1rem}
      #hb-search-app .hb-qty-sub{color:var(--hb-muted);font-size:.8rem;margin-bottom:10px}
      #hb-search-app .hb-qty-main{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center}
      #hb-search-app .hb-qty-step{
        border:1px solid var(--hb-border); background:#f4f6f8; border-radius:8px; height:38px; font-size:20px; line-height:1;
      }
      #hb-search-app .hb-qty-input{
        border:1px solid var(--hb-border); border-radius:8px; height:38px; text-align:center; font-size:16px; font-weight:700;
      }
      #hb-search-app .hb-qty-quick{display:grid;grid-template-columns:repeat(3,1fr);gap:8px;margin-top:10px}
      #hb-search-app .hb-qty-chip{
        border:1px solid var(--hb-border); background:#fff; border-radius:999px; padding:7px 8px; font-size:12px; font-weight:700;
      }
      #hb-search-app .hb-qty-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:12px}
      #hb-search-app .hb-qty-direct{background:#111827;border-color:#111827;color:#fff}
      #hb-search-app .hb-qty-direct:hover{background:#0b1220;border-color:#0b1220}
      #hb-search-app .hb-empty{padding:48px 0;color:#8a8f98;text-align:center}
      #hb-search-app .hb-footer-actions{margin-top:16px}
      #hb-search-app #hb-sentinel{height:56px;display:grid;place-items:center;color:#8a8f98}
      #hb-search-app .hb-spinner{width:20px;height:20px;border-radius:50%;border:2px solid #d1d5db;border-top-color:var(--hb-accent);animation:hb-spin 1s linear infinite}
      @keyframes hb-spin{to{transform:rotate(360deg)}}

      #hb-search-app #hb-loadingBar{height:3px;width:100%;overflow:hidden;background:transparent;opacity:0;transform:scaleX(0);transform-origin:left center;transition:opacity .2s,transform .2s}
      #hb-search-app #hb-loadingBar.hb-on{opacity:1;transform:scaleX(1);background:linear-gradient(90deg,transparent,rgba(177,39,4,.15),transparent);position:relative}
      #hb-search-app #hb-loadingBar.hb-on::before{content:"";position:absolute;left:-40%;top:0;height:100%;width:40%;background:var(--hb-accent);animation:hb-indeterminate 1.2s linear infinite}
      @keyframes hb-indeterminate{0%{left:-40%;width:40%}50%{left:20%;width:60%}100%{left:100%}}

      #hb-search-app .hb-skel{border:1px solid var(--hb-border);border-radius:var(--hb-radius);background:#fff;overflow:hidden}
      #hb-search-app .hb-sk-thumb{height:210px;background:#eef1f5;position:relative}
      #hb-search-app .hb-sk-block{padding:12px;display:flex;flex-direction:column;gap:10px}
      #hb-search-app .hb-sk-line{height:12px;background:#eef1f5;border-radius:6px}
      #hb-search-app .hb-lg{height:16px}
      #hb-search-app .hb-sk-row{display:flex;gap:8px;align-items:center}
      #hb-search-app .hb-sk-pill{width:72px;height:28px;border-radius:8px;background:#eef1f5}
      #hb-search-app .hb-shimmer{position:relative;overflow:hidden}
      #hb-search-app .hb-shimmer::after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.55),rgba(255,255,255,0));transform:translateX(-100%);animation:hb-shimmer 1.1s ease-in-out infinite}
      @keyframes hb-shimmer{0%{transform:translateX(-100%)}100%{transform:translateX(100%)}}

      #hb-mobileSearch{
        display:none;
        clear:both;
        width:100%;
        padding:0 0 5px;
        border-top:1px solid #d8dce4;
        background:#eef1f5;
      }
      #hb-mobileSearch.hb-open{display:block}
      .mobilenav #hb-mobileSearch,
      .navbar.visible-phone.mobilenav #hb-mobileSearch{width:100%;clear:both}
      #hb-mobileSearch .hb-mobile-search__sheet{
        background:#fff; border:1px solid #cfd5de; border-radius:0 0 9px 9px;
        display:flex; align-items:center; gap:6px;
        padding:4px;
      }
      #hb-mobileSearch .hb-mobile-search__sheet > *{
        float:none !important; position:static !important; margin:0 !important;
      }
      #hb-mobileSearch .hb-mobile-search__input{
        flex:1 1 auto; width:auto; min-width:0;
        border:1px solid #c5c9d3; border-radius:7px; height:34px; padding:0 9px; font-size:14px;
      }
      #hb-mobileSearch .hb-mobile-search__go{
        flex:0 0 auto; white-space:nowrap;
        border:1px solid #b12704; background:#b12704; color:#fff;
        border-radius:8px; height:34px; padding:0 12px; font-weight:700;
      }

      @media (max-width: 1120px){
        #hb-search-app .hb-wrap{grid-template-columns:1fr}
        #hb-search-app .hb-mobile-filter-toggle{display:inline-flex}
        #hb-search-app .hb-filters{
          position:fixed; left:0; top:0; width:min(88vw,380px); height:100vh; max-height:100vh; border-radius:0 14px 14px 0;
          transform:translateX(-105%); transition:transform .2s ease; z-index:100; padding-top:10px;
          display:flex; flex-direction:column;
        }
        #hb-search-app .hb-mobile-actions{
          display:flex; gap:8px; position:sticky; bottom:0; background:#fff; border-top:1px solid var(--hb-border);
          margin-top:auto; padding-top:8px;
        }
        #hb-search-app .hb-mobile-actions .btn{flex:1 1 auto; white-space:nowrap}
        #hb-search-app .hb-close-filters{display:inline-flex}
        #hb-search-app.hb-filters-open .hb-filters{transform:translateX(0)}
        #hb-search-app.hb-filters-open .hb-filters-overlay{opacity:1;visibility:visible}
      }

      @media (max-width: 720px){
        #hb-search-app{padding:2px 6px 8px;overflow-x:hidden;margin-top:35px}
        #hb-search-app .hb-head{display:none}
        #hb-search-app .hb-title{font-size:1.2rem}
        #hb-search-app .hb-wrap,#hb-search-app .hb-results,#hb-search-app .hb-grid{min-width:0}
        #hb-search-app .hb-grid{gap:8px;grid-template-columns:minmax(0,1fr)}
        #hb-search-app .hb-card{
          display:grid;grid-template-columns:110px minmax(0,1fr);grid-template-rows:auto auto;align-items:start;border-radius:8px;position:relative;
        }
        #hb-search-app .hb-card::before{
          content:"";position:absolute;top:0;bottom:0;left:110px;width:1px;background:var(--hb-border);pointer-events:none;
        }
        #hb-search-app .hb-card>.products__link{
          display:contents;
        }
        #hb-search-app .hb-thumb{
          grid-column:1;grid-row:1 / span 2;align-self:start;
          width:110px;height:110px;border-bottom:0;border-right:0;background:#fff;
        }
        #hb-search-app .hb-content{
          grid-column:2;grid-row:1;align-self:start;
          padding:8px 8px 2px;gap:4px;min-width:0;
        }
        #hb-search-app .hb-spacer{display:none}
        #hb-search-app .products__title{font-size:13px;line-height:1.3;-webkit-line-clamp:3}
        #hb-search-app .products__code{font-size:10px}
        #hb-search-app .hb-cats{display:none}
        #hb-search-app .hb-pill{font-size:10px;padding:2px 6px}
        #hb-search-app .hb-pill-overlay{left:6px;top:6px}
        #hb-search-app .hb-buyrow{
          grid-column:2;grid-row:2;align-self:start;
          padding:0 6px 8px 8px; display:flex; flex-direction:column; gap:4px; min-width:0;
        }
        #hb-search-app .hb-buy-main{
          display:grid;
          grid-template-columns:minmax(0,1fr) auto;
          grid-template-areas:
            "attrs price"
            "units units"
            "multiple multiple";
          column-gap:8px;
          row-gap:2px;
          align-items:start;
          width:100%;
        }
        #hb-search-app .hb-attr-pills{
          display:flex;
          flex-wrap:nowrap;
          justify-content:flex-start;
          gap:4px;
          min-width:0;
          overflow:hidden;
          margin:0;
          grid-area:attrs;
          align-self:center;
        }
        #hb-search-app .hb-attr-pills .hb-pill-attr{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:84px}
        #hb-search-app .products__price{margin-top:0}
        #hb-search-app .products__price{grid-area:price}
        #hb-search-app .products__price .price__currency,
        #hb-search-app .products__price .price__digit{font-size:2rem}
        #hb-search-app .products__price .price__decimal{font-size:.95rem;padding-top:2px}
        #hb-search-app .products__price .price__vat{font-size:.62rem}
        #hb-search-app .custom_sellingunits{margin:2px 0 0;font-size:.78rem;grid-area:units;text-align:right}
        #hb-search-app .hb-multiple-note{font-size:.72rem;grid-area:multiple}

        #hb-search-app .products__add{
          margin:0;
          grid-template-columns:66px 1fr;
          min-width:0;
        }
        #hb-search-app .products__add .hb-qty-trigger{min-height:34px;font-size:12px;padding:0 8px}
        #hb-search-app .products__add .btn.addbtn{
          width:100%; min-width:0; padding:8px 8px; border-radius:0;
          background:#ffd814; border-color:#f7ca00; color:#0f1111; font-weight:700;
        }
        #hb-search-app .products__add .btn.addbtn:hover{
          background:#f7ca00; border-color:#f7ca00; color:#0f1111;
        }
        #hb-search-app .hb-qty-sheet{
          width:calc(100vw - 24px); max-width:none; left:12px; right:12px; top:auto; bottom:10px; transform:none;
        }
        #hb-mobileSearch{padding:0 0 5px}
        #hb-mobileSearch .hb-mobile-search__sheet{padding:4px}
      }

      .hb-mobile-header__recent[hidden]{display:none !important}

      @media (max-width: 767px){
        body.hb-mobile-header-ready .page{
          padding-top:0 !important;
        }
        body.hb-mobile-header-ready .page > .visible-phone{
          display:block !important;
          height:var(--hb-mobile-header-offset, 108px) !important;
        }
        body.hb-mobile-header-ready .mobilenav{
          padding-top:0 !important;
          overflow:visible !important;
          background:#fff !important;
          box-shadow:0 10px 30px rgba(15,23,42,.10);
        }
        body.hb-mobile-header-ready .mobilenav.nav-up,
        body.hb-mobile-header-ready.is-scrolling .mobilenav{
          padding-top:0 !important;
          transform:none !important;
        }
        body.hb-mobile-header-ready .mobilenav .navbar-inner{
          background:transparent !important;
          box-shadow:none !important;
        }
        body.hb-mobile-header-ready .mobilenav .container{
          padding:0 !important;
        }
        body.hb-mobile-header-ready .mobilenav .brand,
        body.hb-mobile-header-ready .mobilenav.nav-up .brand,
        body.hb-mobile-header-ready.is-scrolling .mobilenav .brand{
          display:flex !important;
          margin-top:0 !important;
        }
        body.hb-mobile-header-ready .mobilenav #mobile-search,
        body.hb-mobile-header-ready .mobilenav #mobile-account{
          display:none !important;
        }
        body.hb-mobile-header-ready .mobile-menu{
          top:var(--hb-mobile-header-offset, 108px);
          bottom:0;
          height:auto !important;
          margin-top:0 !important;
          z-index:4;
          pointer-events:none;
        }
        body.hb-mobile-header-ready.is-scrolling .mobile-menu{
          margin-top:0 !important;
        }
        body.hb-mobile-menu-open .mobile-menu{
          pointer-events:auto;
        }
        body.hb-mobile-header-ready .mobile-menu .close-menu{
          top:12px;
        }
        body.hb-mobile-header-ready .mobile-menu .mobile-nav{
          padding-top:4rem;
          pointer-events:auto;
          -webkit-overflow-scrolling:touch;
        }
        body.hb-mobile-header-ready .mobile-menu .mobile-nav__link{
          touch-action:manipulation;
        }

        #hb-mobileHeader{
          display:flex;
          flex-direction:column;
          gap:0;
          background:
            linear-gradient(180deg, rgba(255,255,255,.98), rgba(248,250,252,.98)),
            radial-gradient(circle at top left, rgba(243,168,71,.18), transparent 42%);
          border-bottom:1px solid #e2e8f0;
          position:relative;
          z-index:3;
        }
        #hb-mobileHeader .hb-mobile-header__top{
          display:grid;
          grid-template-columns:52px minmax(0,1fr) 52px;
          align-items:center;
          gap:8px;
          min-height:48px;
          padding:4px 10px 1px;
        }
        #hb-mobileHeader .hb-mobile-header__top > *{
          position:static !important;
          float:none !important;
          margin:0 !important;
          text-shadow:none !important;
          box-shadow:none !important;
        }
        #hb-mobileHeader .hb-mobile-header__top > #mobile-menu,
        #hb-mobileHeader .hb-mobile-header__top > #guest-cart-mobile{
          width:38px !important;
          height:38px !important;
          display:flex !important;
          align-items:center;
          justify-content:center;
          padding:0 !important;
          border-radius:999px;
          background:#111827 !important;
          color:#fff !important;
          line-height:1;
        }
        #hb-mobileHeader .hb-mobile-header__top > #guest-cart-mobile{
          position:relative;
        }
        #hb-mobileHeader .hb-mobile-header__top > #guest-cart-mobile .label{
          top:10px;
          right:8px;
          left:auto;
          margin:0;
          min-width:16px;
          height:16px;
          display:grid;
          place-items:center;
          font-size:10px;
          line-height:1;
        }
        #hb-mobileHeader .hb-mobile-header__top > .brand{
          display:flex !important;
          align-items:center;
          justify-content:center;
          min-width:0;
          height:auto !important;
          padding:0 !important;
          overflow:visible !important;
        }
        #hb-mobileHeader .hb-mobile-header__top > .brand img{
          max-height:28px;
          width:auto;
          max-width:100%;
        }
        #hb-mobileHeader .hb-mobile-header__search{
          padding:0 10px 0;
        }
        #hb-mobileHeader .hb-mobile-header__search-wrap{
          position:relative;
        }
        #hb-mobileHeader .hb-mobile-header__search-form{
          display:grid;
          grid-template-columns:minmax(0, 1fr) 52px;
          align-items:stretch;
          border:2px solid #111827;
          border-radius:12px;
          overflow:hidden;
          background:#fff;
          box-shadow:0 10px 20px rgba(15,23,42,.08);
        }
        #hb-mobileHeader .hb-mobile-header__search-input{
          width:100%;
          min-width:0;
          border:0;
          border-radius:0;
          height:40px;
          padding:0 12px;
          font-size:16px;
          color:#111827;
          background:#fff;
          box-sizing:border-box;
        }
        #hb-mobileHeader .hb-mobile-header__search-input::placeholder{
          color:#64748b;
        }
        #hb-mobileHeader .hb-mobile-header__search-button{
          border:0;
          border-radius:0;
          background:linear-gradient(180deg,#d43a49,#b12704);
          color:#fff;
          font-size:18px;
          font-weight:700;
        }
        #hb-mobileHeader .hb-mobile-header__search-button:hover,
        #hb-mobileHeader .hb-mobile-header__search-button:focus{
          background:linear-gradient(180deg,#bc2332,#8e1f04);
        }
        #hb-mobileHeader .hb-mobile-header__recent{
          position:absolute;
          top:calc(100% + 6px);
          left:0;
          right:0;
          padding:10px;
          border:1px solid #d5d9e0;
          border-radius:14px;
          background:#fff;
          box-shadow:0 18px 36px rgba(15,23,42,.16);
        }
        #hb-mobileHeader .hb-mobile-header__recent-head{
          display:flex;
          align-items:center;
          justify-content:space-between;
          gap:10px;
          margin-bottom:8px;
          color:#334155;
          font-size:13px;
        }
        #hb-mobileHeader .hb-mobile-header__recent-clear{
          border:0;
          background:none;
          color:#b12704;
          font-weight:700;
          padding:0;
        }
        #hb-mobileHeader .hb-mobile-header__recent-list{
          display:flex;
          flex-wrap:wrap;
          gap:8px;
        }
        #hb-mobileHeader .hb-mobile-header__recent-chip{
          border:1px solid #d5d9e0;
          border-radius:999px;
          background:#f8fafc;
          color:#1f2937;
          padding:8px 12px;
          font-size:13px;
          font-weight:600;
        }

        .mobile-menu .hb-mobile-nav__quick{
          list-style:none;
        }
        .mobile-menu .hb-mobile-nav__quick-wrap{
          padding:14px 12px 12px;
          border-bottom:1px solid #e5e7eb;
          background:linear-gradient(180deg,#fff7ed,#fff);
        }
        .mobile-menu .hb-mobile-nav__quick-head{
          display:flex;
          align-items:center;
          justify-content:space-between;
          gap:10px;
          margin-bottom:10px;
        }
        .mobile-menu .hb-mobile-nav__quick-title{
          margin-bottom:0;
          font-size:12px;
          letter-spacing:.12em;
          text-transform:uppercase;
          color:#7c2d12;
          font-weight:800;
        }
        .mobile-menu .hb-mobile-nav__quick-build{
          flex:0 0 auto;
          font-size:11px;
          line-height:1;
          color:#7c2d12;
          background:rgba(255,255,255,.72);
          border:1px solid rgba(124,45,18,.16);
          border-radius:999px;
          padding:4px 7px;
          letter-spacing:.02em;
          white-space:nowrap;
        }
        .mobile-menu .hb-mobile-nav__quick-grid{
          display:grid;
          grid-template-columns:repeat(2, minmax(0, 1fr));
          gap:8px;
        }
        .mobile-menu .hb-mobile-nav__quick-link{
          display:block;
          padding:11px 12px;
          border-radius:12px;
          background:#111827;
          color:#fff !important;
          font-weight:700;
          text-align:center;
          text-decoration:none;
        }
        .mobile-menu .hb-mobile-nav__shop-link{
          padding-left:1.5rem !important;
          background:#f8fafc;
          color:#0f172a;
          font-weight:700;
        }
      }
