/* GoJD — catálogo mobile fiel à referência. Escopo isolado: /catalogo em <=768px. */
@media (max-width:768px){
  html.gojd-catalog-reference-open,html.gojd-catalog-reference-open body{background:#fff!important}
  body.gojd-catalog-reference-active{padding-bottom:88px!important;background:#fff!important}
  body.gojd-catalog-reference-active .main-header,
  body.gojd-catalog-reference-active .breadcrumb-catalog,
  body.gojd-catalog-reference-active .catalog-page-header,
  body.gojd-catalog-reference-active .catalog-header{display:none!important}
  body.gojd-catalog-reference-active .catalog-page{background:#fff!important;min-height:100vh!important;padding:176px 0 96px!important;margin:0!important}
  body.gojd-catalog-reference-active .catalog-page>.container{width:100%!important;max-width:none!important;padding:0 14px 24px!important;margin:0!important;box-sizing:border-box!important}
  body.gojd-catalog-reference-active .catalog-layout{display:block!important;width:100%!important;max-width:none!important;margin:0!important;padding:0!important}
  body.gojd-catalog-reference-active .catalog-main{width:100%!important;max-width:none!important;min-width:0!important;margin:0!important;padding:0!important}
  body.gojd-catalog-reference-active .catalog-sidebar{display:none!important}

  #gojd-catalog-mobile-shell{position:fixed;inset:0 0 auto 0;z-index:9800;background:rgba(255,255,255,.985);backdrop-filter:saturate(160%) blur(15px);-webkit-backdrop-filter:saturate(160%) blur(15px);border-bottom:1px solid rgba(15,23,42,.055);padding:calc(env(safe-area-inset-top,0px) + 8px) 14px 10px;box-sizing:border-box;color:#111;font-family:inherit}
  .gojd-cat-top{height:52px;display:grid;grid-template-columns:46px 1fr 46px 46px;gap:8px;align-items:center}
  .gojd-cat-icon-btn{width:44px;height:44px;border:1px solid #e2e5e9;border-radius:12px;background:#fff;color:#101214;display:grid;place-items:center;padding:0;box-sizing:border-box;box-shadow:0 1px 3px rgba(15,23,42,.025);-webkit-tap-highlight-color:transparent}
  .gojd-cat-icon-btn:active{transform:scale(.96);background:#fafafa}
  .gojd-cat-icon-btn svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}
  .gojd-cat-title{font-size:23px;line-height:1.05;font-weight:850;letter-spacing:-.45px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;padding-left:2px}
  .gojd-cat-fav-wrap{position:relative;width:44px;height:44px}
  .gojd-cat-fav-badge{position:absolute;top:-3px;right:-3px;min-width:18px;height:18px;padding:0 3px;border-radius:999px;background:#f10d15;color:#fff;border:2px solid #fff;font:800 10px/14px inherit;text-align:center;box-sizing:border-box;pointer-events:none}

  .gojd-cat-chips{height:52px;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:2px 0 4px;overscroll-behavior-x:contain}
  .gojd-cat-chips::-webkit-scrollbar{display:none}
  .gojd-cat-chip{flex:0 0 auto;min-width:74px;height:38px;padding:0 18px;border:1px solid #e0e4e8;border-radius:999px;background:#fff;color:#17191b;font:700 14px/1 inherit;white-space:nowrap;box-sizing:border-box;-webkit-tap-highlight-color:transparent}
  .gojd-cat-chip.active{border-color:#f10d15;color:#f10d15;background:#fff8f8}
  .gojd-cat-chip.offer{color:#f10d15}

  .gojd-cat-controls{height:52px;display:grid;grid-template-columns:1fr 1fr;gap:10px;align-items:center}
  .gojd-cat-control{height:44px;border:1px solid #dfe3e7;border-radius:12px;background:#fff;color:#17191b;padding:0 14px;display:flex;align-items:center;gap:10px;font:750 14px/1.1 inherit;text-align:left;box-sizing:border-box;box-shadow:0 1px 2px rgba(15,23,42,.02);-webkit-tap-highlight-color:transparent}
  .gojd-cat-control svg{width:21px;height:21px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round;flex:0 0 auto}
  .gojd-cat-control .grow{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;flex:1}
  .gojd-cat-control .chev{width:15px;height:15px;margin-left:auto}

  body.gojd-catalog-reference-active .catalog-grid{display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important;align-items:stretch!important;width:100%!important;margin:0!important;padding:0!important}
  body.gojd-catalog-reference-active .catalog-grid>.catalog-empty-state{grid-column:1/-1!important}
  body.gojd-catalog-reference-active .catalog-grid>.skeleton-card{height:320px!important;border-radius:13px!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card{position:relative!important;height:320px!important;min-width:0!important;width:100%!important;margin:0!important;padding:8px 9px 42px!important;border:1px solid #e5e8eb!important;border-radius:13px!important;background:#fff!important;box-sizing:border-box!important;box-shadow:0 2px 8px rgba(15,23,42,.026)!important;overflow:hidden!important;cursor:pointer!important;transform:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card:hover{transform:none!important;box-shadow:0 2px 8px rgba(15,23,42,.026)!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .card-top{position:absolute!important;inset:8px 8px auto 8px!important;height:31px!important;z-index:6!important;display:flex!important;justify-content:space-between!important;align-items:flex-start!important;pointer-events:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .card-badge{display:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card[data-gojd-top-tag]:not([data-gojd-top-tag=""])::before{content:attr(data-gojd-top-tag);position:absolute;top:9px;left:9px;z-index:7;max-width:118px;height:25px;padding:0 9px;border-radius:8px;background:#f10d15;color:#fff;font:850 9.5px/25px inherit;letter-spacing:.08px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;box-sizing:border-box}
  body.gojd-catalog-reference-active .catalog-grid>.product-card[data-gojd-top-tone="low"]::before{background:#fff8f8;color:#f10d15;border:1px solid #ffd8da;line-height:23px}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .favorite-btn{pointer-events:auto!important;position:absolute!important;top:0!important;right:0!important;width:31px!important;height:31px!important;border:0!important;background:rgba(255,255,255,.95)!important;border-radius:999px!important;padding:0!important;display:grid!important;place-items:center!important;box-shadow:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .favorite-btn svg{width:23px!important;height:23px!important;stroke-width:1.45!important;color:#59616a!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-image-wrapper{height:154px!important;width:100%!important;margin:10px 0 4px!important;padding:0!important;background:#fff!important;border:0!important;display:flex!important;align-items:center!important;justify-content:center!important;overflow:hidden!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-image{display:block!important;width:100%!important;height:100%!important;object-fit:contain!important;object-position:center!important;margin:0!important;mix-blend-mode:normal!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-info{display:flex!important;flex-direction:column!important;align-items:stretch!important;gap:0!important;padding:0 1px!important;margin:0!important;text-align:left!important;min-width:0!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-brand,
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-rating,
  body.gojd-catalog-reference-active .catalog-grid>.product-card .old-price,
  body.gojd-catalog-reference-active .catalog-grid>.product-card .card-buy-btn{display:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-title{order:1!important;margin:0!important;color:#111!important;font:850 15px/18px inherit!important;letter-spacing:-.15px!important;height:36px!important;overflow:hidden!important;display:-webkit-box!important;-webkit-line-clamp:2!important;-webkit-box-orient:vertical!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .price-section{order:3!important;margin:4px 0 0!important;padding:0!important;display:block!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .price-main{font-size:0!important;line-height:20px!important;color:#0aa84f!important;font-weight:850!important;white-space:nowrap!important;overflow:hidden!important;text-overflow:ellipsis!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .price-main::before{content:"❖  " attr(data-gojd-price);font:850 15px/20px inherit;color:#0aa84f}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .price-main::after{content:" no pix";font:650 10px/20px inherit;color:#0aa84f}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .pix-tag{display:none!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-info::before{content:attr(data-gojd-color);order:2;height:17px;margin-top:1px;color:#425466;font:600 11.5px/17px inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-info::after{content:attr(data-gojd-installment);order:4;height:19px;margin-top:1px;color:#616a75;font:600 12.5px/19px inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.gojd-catalog-reference-active .catalog-grid>.product-card::after{content:attr(data-gojd-stock-label);position:absolute;left:10px;right:10px;bottom:9px;height:27px;border-top:1px solid #eceef0;padding-top:7px;box-sizing:border-box;color:#26333e;font:650 11px/17px inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  body.gojd-catalog-reference-active .catalog-grid>.product-card[data-gojd-stock-tone="low"]::after{color:#f10d15}
  body.gojd-catalog-reference-active .catalog-grid>.product-card[data-gojd-stock-tone="out"]::after{color:#7b828a}

  .gojd-cat-backdrop{position:fixed;inset:0;z-index:9900;background:rgba(15,23,42,.34);backdrop-filter:blur(3px);-webkit-backdrop-filter:blur(3px);opacity:0;pointer-events:none;transition:opacity .18s ease}
  .gojd-cat-backdrop.open{opacity:1;pointer-events:auto}
  .gojd-cat-sheet{position:fixed;left:0;right:0;bottom:0;z-index:9910;max-height:83dvh;background:#fff;border-radius:24px 24px 0 0;box-shadow:0 -12px 40px rgba(15,23,42,.18);transform:translateY(104%);transition:transform .24s cubic-bezier(.2,.8,.2,1);display:flex;flex-direction:column;padding-bottom:env(safe-area-inset-bottom,0px);overflow:hidden}
  .gojd-cat-sheet.open{transform:translateY(0)}
  .gojd-cat-sheet-head{height:62px;padding:0 18px;border-bottom:1px solid #edf0f2;display:flex;align-items:center;justify-content:space-between;flex:0 0 auto}
  .gojd-cat-sheet-head strong{font-size:19px;letter-spacing:-.2px}
  .gojd-cat-sheet-close{width:36px;height:36px;border:0;border-radius:999px;background:#f4f5f6;font-size:24px;line-height:36px;color:#111}
  .gojd-cat-sheet-body{overflow:auto;padding:12px 18px 18px}
  .gojd-cat-filter-group{padding:11px 0 15px;border-bottom:1px solid #eef0f2}
  .gojd-cat-filter-group:last-child{border-bottom:0}
  .gojd-cat-filter-group h3{margin:0 0 10px;font-size:13px;font-weight:850;color:#252a30}
  .gojd-cat-filter-options{display:flex;flex-wrap:wrap;gap:8px}
  .gojd-cat-filter-option{min-height:36px;padding:0 12px;border:1px solid #e0e4e8;border-radius:999px;background:#fff;color:#26313c;font:700 12px/34px inherit;white-space:nowrap}
  .gojd-cat-filter-option.active{border-color:#f10d15;color:#f10d15;background:#fff7f7}
  .gojd-cat-sheet-actions{padding:10px 16px 12px;border-top:1px solid #edf0f2;background:#fff;display:grid;grid-template-columns:1fr 1.5fr;gap:10px;flex:0 0 auto}
  .gojd-cat-sheet-actions button{height:46px;border-radius:13px;font:800 14px/1 inherit}
  .gojd-cat-clear{border:1px solid #dfe3e7;background:#fff;color:#242a30}
  .gojd-cat-apply{border:1px solid #f10d15;background:#f10d15;color:#fff}

  .gojd-cat-search-modal{position:fixed;inset:0;z-index:9950;background:#fff;transform:translateY(-105%);transition:transform .2s ease;padding:calc(env(safe-area-inset-top,0px) + 16px) 16px 24px;box-sizing:border-box}
  .gojd-cat-search-modal.open{transform:translateY(0)}
  .gojd-cat-search-row{display:grid;grid-template-columns:44px 1fr 44px;gap:8px;align-items:center}
  .gojd-cat-search-input{height:46px;border:1px solid #dfe3e7;border-radius:13px;background:#f8f9fa;color:#111;padding:0 14px;font:650 15px/1 inherit;outline:none;width:100%;box-sizing:border-box}
  .gojd-cat-search-input:focus{border-color:#b9bec5;background:#fff;box-shadow:0 0 0 3px rgba(17,24,39,.04)}
  .gojd-cat-search-help{margin:18px 2px 0;color:#68707a;font-size:13px;line-height:1.5}

  .gojd-cat-sort-menu{position:fixed;z-index:9920;background:#fff;border:1px solid #e1e5e9;border-radius:14px;box-shadow:0 16px 40px rgba(15,23,42,.14);padding:6px;min-width:210px;display:none}
  .gojd-cat-sort-menu.open{display:block}
  .gojd-cat-sort-menu button{display:block;width:100%;height:42px;padding:0 12px;border:0;border-radius:10px;background:#fff;color:#242a30;text-align:left;font:700 13px/1 inherit}
  .gojd-cat-sort-menu button.active{background:#fff4f4;color:#f10d15}

  /* A barra real continua sendo a mesma. Aqui só há acabamento visual. */
  body.gojd-catalog-reference-active .mobile-bottom-nav{height:76px!important;padding:7px 10px calc(5px + env(safe-area-inset-bottom,0px))!important;background:rgba(255,255,255,.985)!important;border-top:1px solid #eceef0!important;box-shadow:0 -5px 18px rgba(15,23,42,.035)!important;z-index:9850!important;grid-template-columns:repeat(5,1fr)!important}
  body.gojd-catalog-reference-active .mobile-bottom-nav-item{gap:3px!important;color:#515962!important;font-weight:650!important}
  body.gojd-catalog-reference-active .mobile-bottom-nav-item svg{width:24px!important;height:24px!important;stroke-width:1.7!important}
  body.gojd-catalog-reference-active .mobile-bottom-nav-item span:not(.mobile-bottom-nav-icon-wrap):not(.mobile-bottom-nav-badge){font-size:10.5px!important;line-height:13px!important;font-weight:650!important}
  body.gojd-catalog-reference-active .mobile-bottom-nav-item.active{color:#f10d15!important}
  body.gojd-cat-lock{overflow:hidden!important}
}
@media (max-width:390px){
  body.gojd-catalog-reference-active .catalog-page>.container{padding-left:10px!important;padding-right:10px!important}
  body.gojd-catalog-reference-active .catalog-grid{gap:8px!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card{height:306px!important;padding-left:8px!important;padding-right:8px!important}
  body.gojd-catalog-reference-active .catalog-grid>.product-card .product-image-wrapper{height:145px!important}
  #gojd-catalog-mobile-shell{padding-left:10px;padding-right:10px}
  .gojd-cat-chip{min-width:68px;padding:0 15px}
}

.gojd-cat-ram-hidden{display:none!important}

@media (max-width:768px){.gojd-cat-search-proxy{position:fixed!important;left:-10000px!important;top:0!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important}}


/* Search experience v2 — mobile only. The global header search is intentionally absent. */
@media (max-width:768px){
  .main-header .desktop-header-search,
  .main-header .search-container.desktop-header-search{display:none!important}
  .main-header .header-container{flex-wrap:nowrap!important}

  body.gojd-catalog-reference-active .catalog-mobile-topbar,
  body.gojd-catalog-reference-active .catalog-mobile-search-panel,
  body.gojd-catalog-reference-active .catalog-mobile-chips,
  body.gojd-catalog-reference-active .catalog-mobile-controls{display:none!important}

  body.gojd-catalog-search-mode .catalog-page{padding-top:254px!important;padding-bottom:150px!important}
  body.gojd-catalog-search-mode #gojd-catalog-mobile-shell{padding:calc(env(safe-area-inset-top,0px) + 5px) 18px 11px!important}
  .gojd-cat-search-brandbar{height:56px;display:grid;grid-template-columns:1fr auto 1fr;align-items:center}
  .gojd-cat-search-brandbar>img{width:116px;height:52px;object-fit:contain;display:block}
  .gojd-cat-search-brand-actions{justify-self:end;display:flex;gap:9px;align-items:center}
  .gojd-cat-brand-action{position:relative;width:39px;height:39px;border:0;background:#fff;color:#111;display:grid;place-items:center;padding:0;border-radius:12px}
  .gojd-cat-brand-action svg{width:24px;height:24px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}

  .gojd-cat-search-tools{display:grid;grid-template-columns:minmax(0,1fr) 72px 72px;gap:10px;align-items:center;margin-top:5px}
  .gojd-cat-search-main{height:54px;border:1px solid #dde1e5;border-radius:12px;background:#fff;display:grid;grid-template-columns:35px minmax(0,1fr) 32px;align-items:center;padding:0 8px 0 11px;box-shadow:0 1px 3px rgba(15,23,42,.025)}
  .gojd-cat-search-main>span{display:grid;place-items:center;color:#111}.gojd-cat-search-main>span svg{width:25px;height:25px;fill:none;stroke:currentColor;stroke-width:1.8}
  .gojd-cat-search-main input{width:100%;min-width:0;height:50px;border:0;outline:0;background:transparent;color:#111;font:650 16px/1 inherit;padding:0 7px}
  .gojd-cat-search-main input::placeholder{color:#7e858e;font-weight:500}
  .gojd-cat-search-main>button{width:29px;height:29px;border:0;border-radius:999px;background:#a0a4a9;color:#fff;padding:6px;display:grid;place-items:center}
  .gojd-cat-search-main>button[hidden]{display:none!important}.gojd-cat-search-main>button svg{width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:2}
  .gojd-cat-search-tool{height:54px;border:1px solid #dde1e5;border-radius:12px;background:#fff;color:#111;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:3px;padding:0;font:700 11px/1 inherit}
  .gojd-cat-search-tool svg{width:22px;height:22px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.gojd-cat-search-tool small{font:700 10.5px/1 inherit}

  .gojd-cat-search-chips{height:57px;display:flex;align-items:center;gap:8px;overflow-x:auto;scrollbar-width:none;padding:5px 0}.gojd-cat-search-chips::-webkit-scrollbar{display:none}
  .gojd-cat-search-chip{flex:0 0 auto;height:39px;min-width:78px;border:1px solid #e0e3e7;border-radius:9px;background:#fff;color:#181a1d;padding:0 17px;font:750 13px/1 inherit}
  .gojd-cat-search-chip.active{background:#f10d15;border-color:#f10d15;color:#fff;box-shadow:0 4px 10px rgba(241,13,21,.13)}
  .gojd-cat-search-meta{min-height:34px;display:flex;align-items:center;gap:6px;color:#686f78;font:500 12.5px/1.3 inherit;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
  .gojd-cat-search-meta strong{color:#f10d15;font-weight:750;max-width:145px;overflow:hidden;text-overflow:ellipsis}.gojd-cat-search-meta b{color:#525861;font-weight:650}

  .gojd-cat-floating-controls{position:fixed;z-index:9860;left:50%;bottom:calc(78px + env(safe-area-inset-bottom,0px));transform:translateX(-50%);width:min(330px,calc(100vw - 72px));height:54px;border:1px solid #e0e3e7;border-radius:999px;background:rgba(255,255,255,.97);box-shadow:0 13px 32px rgba(15,23,42,.16);display:grid;grid-template-columns:1fr 1px 1fr;align-items:center;padding:0 10px;backdrop-filter:blur(16px);-webkit-backdrop-filter:blur(16px)}
  body:not(.gojd-catalog-search-mode) .gojd-cat-floating-controls{display:none!important}
  .gojd-cat-floating-controls>button{height:46px;border:0;background:transparent;color:#17191b;display:flex;align-items:center;justify-content:center;gap:9px;font:750 13px/1 inherit}.gojd-cat-floating-controls>button svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8}.gojd-cat-floating-controls>i{height:28px;width:1px;background:#e1e4e8}

  body.gojd-catalog-search-mode .catalog-result-meta{display:none!important}
}
@media (max-width:390px){
  body.gojd-catalog-search-mode #gojd-catalog-mobile-shell{padding-left:11px!important;padding-right:11px!important}
  .gojd-cat-search-tools{grid-template-columns:minmax(0,1fr) 62px 62px;gap:7px}.gojd-cat-search-tool{font-size:10px}.gojd-cat-search-brandbar>img{width:104px}
  .gojd-cat-search-chip{min-width:70px;padding:0 13px}.gojd-cat-floating-controls{width:calc(100vw - 40px)}
}

@media (max-width:768px){
  body.gojd-catalog-reference-active .catalog-reference-page{padding-top:176px!important;padding-bottom:112px!important;background:#fff!important;min-height:100dvh!important}
  body.gojd-catalog-search-mode .catalog-reference-page{padding-top:254px!important;padding-bottom:152px!important}
  body.gojd-catalog-reference-active .catalog-ref-container{padding-top:0!important}
}


/* GoJD mobile catalog floating controls v5 — compact content + single bottom toolbar. */
@media (max-width:768px){
  body.gojd-catalog-reference-active .main-content{padding-top:0!important;margin-top:0!important}
  body.gojd-catalog-reference-active .page-transition{margin:0!important;padding:0!important}
  body.gojd-catalog-reference-active #gojd-catalog-mobile-shell{padding-bottom:10px!important}
  body.gojd-catalog-reference-active .gojd-cat-controls{display:none!important}
  body.gojd-catalog-reference-active .catalog-reference-page,
  body.gojd-catalog-search-mode .catalog-reference-page{
    padding-top:calc(var(--gojd-cat-shell-h,123px) + 7px)!important;
    padding-bottom:168px!important;min-height:100dvh!important
  }
  body.gojd-catalog-reference-active .catalog-ref-container{padding-top:0!important;margin-top:0!important}
  body.gojd-catalog-reference-active .catalog-ref-grid{margin-top:0!important}
  .gojd-cat-floating-controls{
    position:fixed!important;z-index:9860!important;left:12px!important;right:12px!important;
    bottom:calc(84px + env(safe-area-inset-bottom,0px))!important;transform:none!important;
    width:auto!important;max-width:520px!important;height:58px!important;margin:0 auto!important;
    border:1px solid rgba(218,222,227,.96)!important;border-radius:18px!important;background:rgba(255,255,255,.985)!important;
    box-shadow:0 10px 28px rgba(15,23,42,.15)!important;display:grid!important;grid-template-columns:1fr 1px 1fr!important;
    align-items:center!important;padding:5px 7px!important;box-sizing:border-box!important;
    backdrop-filter:blur(18px) saturate(160%)!important;-webkit-backdrop-filter:blur(18px) saturate(160%)!important
  }
  body.gojd-catalog-reference-active .gojd-cat-floating-controls{display:grid!important}
  .gojd-cat-floating-controls>button{
    min-width:0!important;height:46px!important;border:0!important;border-radius:12px!important;background:transparent!important;
    color:#17191b!important;display:flex!important;align-items:center!important;justify-content:center!important;gap:8px!important;
    padding:0 9px!important;font:750 13px/1 inherit!important;overflow:hidden!important
  }
  .gojd-cat-floating-controls>button:active{background:#f6f7f8!important;transform:scale(.98)}
  .gojd-cat-floating-controls>button span{min-width:0!important;overflow:hidden!important;text-overflow:ellipsis!important;white-space:nowrap!important}
  .gojd-cat-floating-controls>button svg{width:21px!important;height:21px!important;flex:0 0 auto!important}
  .gojd-cat-floating-controls>i{height:30px!important;background:#e2e5e8!important}
  .gojd-cat-search-tools,.gojd-cat-search-tools--single{grid-template-columns:minmax(0,1fr)!important}
  .gojd-cat-search-main{width:100%!important}
  .gojd-cat-search-tool{display:none!important}
  .gojd-cat-sheet{
    left:10px!important;right:10px!important;bottom:calc(150px + env(safe-area-inset-bottom,0px))!important;
    max-height:min(72dvh,calc(100dvh - 174px))!important;border-radius:22px!important;
    padding-bottom:0!important;box-shadow:0 18px 48px rgba(15,23,42,.22)!important
  }
  .gojd-cat-sheet-head{height:58px!important}
  .gojd-cat-sheet-body{overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch!important}
  .gojd-cat-sort-menu{
    width:min(230px,calc(100vw - 24px))!important;max-height:calc(100dvh - 190px)!important;
    overflow:auto!important;border-radius:16px!important;box-shadow:0 16px 42px rgba(15,23,42,.2)!important
  }
  .gojd-cat-backdrop{z-index:9855!important}
  .gojd-cat-sheet{z-index:9910!important}.gojd-cat-sort-menu{z-index:9920!important}
}
@media (max-width:380px){
  .gojd-cat-floating-controls{left:9px!important;right:9px!important}
  .gojd-cat-floating-controls>button{font-size:12px!important;gap:6px!important;padding:0 6px!important}
  .gojd-cat-sheet{left:7px!important;right:7px!important}
}


/* Coordinate-system fix: beat legacy mobile nav padding and WebView breadcrumb. */
@media (max-width:768px){
  body.gojd-catalog-reference-active:not(:has(.product-page)):not(:has(.login-page)):not(:has(.register-page)) .main-content{
    padding-top:0!important;margin-top:0!important
  }
  body.gojd-catalog-reference-active .breadcrumb-nav,
  body.gojd-catalog-reference-active .breadcrumb-catalog{display:none!important;height:0!important;margin:0!important;padding:0!important}
  body.gojd-catalog-reference-active .page-transition{top:0!important}
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls{display:grid!important}
}

@media (max-width:768px){.gojd-cat-sheet{pointer-events:none!important}.gojd-cat-sheet.open{pointer-events:auto!important}}


/* Mobile GoJD catalog toolbar compact + chat layer policy v6 — 2026-09-03 */
@media (max-width:768px){
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls{
    left:50%!important;right:auto!important;width:min(286px,calc(100vw - 82px))!important;max-width:286px!important;
    height:48px!important;bottom:calc(82px + env(safe-area-inset-bottom,0px))!important;
    transform:translateX(-50%)!important;margin:0!important;padding:3px 5px!important;
    border-radius:14px!important;border:1px solid rgba(218,222,227,.96)!important;
    box-shadow:0 7px 20px rgba(15,23,42,.12)!important;backdrop-filter:blur(12px) saturate(145%)!important;
    -webkit-backdrop-filter:blur(12px) saturate(145%)!important
  }
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls>button{
    height:40px!important;border-radius:10px!important;gap:7px!important;padding:0 8px!important;font-size:12.5px!important;font-weight:720!important
  }
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls>button svg{width:18px!important;height:18px!important}
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls>i{height:24px!important}
  .gojd-cat-sheet{bottom:calc(138px + env(safe-area-inset-bottom,0px))!important;border-radius:18px!important}
  .gojd-cat-sort-menu{border-radius:12px!important}

  /* O launcher é auxiliar: nunca pode vencer navigation, toolbar, sheets ou modais. */
  button:has(>img[src="/moseis.png"][alt="Chat"]){z-index:820!important}
  body.gojd-catalog-reference-active button:has(>img[src="/moseis.png"][alt="Chat"]){
    width:52px!important;height:52px!important;right:10px!important;
    bottom:calc(142px + env(safe-area-inset-bottom,0px))!important;z-index:9700!important
  }
  body:has(.gojd-cat-sheet.open) button:has(>img[src="/moseis.png"][alt="Chat"]),
  body:has(.gojd-cat-sort-menu.open) button:has(>img[src="/moseis.png"][alt="Chat"]),
  body:has(.gojd-cat-search-modal.open) button:has(>img[src="/moseis.png"][alt="Chat"]),
  body.gojd-mobile-purchase-open button:has(>img[src="/moseis.png"][alt="Chat"]),
  body:has(.gojd-pay-sheet-root.is-open) button:has(>img[src="/moseis.png"][alt="Chat"]),
  body:has(#gojd-shipping-receiving-sheet.is-open) button:has(>img[src="/moseis.png"][alt="Chat"]),
  body:has(.gojd-product-overlay) button:has(>img[src="/moseis.png"][alt="Chat"]){
    opacity:0!important;visibility:hidden!important;pointer-events:none!important
  }
  .gojd-site-chat-panel{z-index:9750!important}
}
@media (max-width:380px){
  body.gojd-catalog-reference-active > .gojd-cat-floating-controls{width:min(272px,calc(100vw - 76px))!important}
}
