/* Wszystkie selektory ograniczone do modulu Szopstera. */
#tfsz{position:fixed;right:18px;bottom:0;z-index:99990;font:inherit;color:#121b2a;pointer-events:none}
#tfsz *{box-sizing:border-box}
#tfsz button{font-family:inherit;cursor:pointer}

/* TagForce 1.3: osobna grafika lapek trzymajacych przycisk, bez nakladania etykiety CSS. */
#tfsz .tfsz__mascot{display:block;position:relative;width:170px;height:123px;padding:0;border:0;background:transparent;pointer-events:auto;overflow:visible;outline-offset:4px;transition:height .4s cubic-bezier(.2,.75,.2,1),width .4s cubic-bezier(.2,.75,.2,1)}
#tfsz .tfsz__mascot img{display:block;position:absolute;bottom:0;left:50%;height:auto;max-width:none;pointer-events:none;filter:drop-shadow(0 5px 9px rgba(6,31,68,.2));transition:opacity .23s ease,transform .35s cubic-bezier(.2,.75,.2,1)}
#tfsz .tfsz__mascot .tfsz__peek-art{width:170px;opacity:1;transform:translate(-50%,0);z-index:2}
#tfsz .tfsz__mascot .tfsz__full-art{width:148px;opacity:0;transform:translate(-50%,25px);z-index:1}
#tfsz[data-state="closed"] .tfsz__mascot:hover .tfsz__peek-art,
#tfsz[data-state="closed"] .tfsz__mascot:focus-visible .tfsz__peek-art{transform:translate(-50%,-8px)}
#tfsz[data-state="open"] .tfsz__mascot{width:150px;height:198px}
#tfsz[data-state="open"] .tfsz__mascot .tfsz__peek-art{opacity:0;transform:translate(-50%,40px)}
#tfsz[data-state="open"] .tfsz__mascot .tfsz__full-art{opacity:1;transform:translate(-50%,0);transition-delay:.07s}

#tfsz .tfsz__panel{position:absolute;right:118px;bottom:20px;width:min(360px,calc(100vw - 170px));max-height:min(570px,calc(100dvh - 35px));display:flex;flex-direction:column;background:#fff;border:1px solid #d6e5f7;border-radius:18px;box-shadow:0 12px 45px #0b2c4a35;overflow:hidden;pointer-events:auto}
#tfsz .tfsz__panel[hidden]{display:none!important}
#tfsz .tfsz__header{display:flex;align-items:center;gap:10px;padding:12px 14px;color:white;background:linear-gradient(110deg,#0a3e7b,#087bd7)}
#tfsz .tfsz__avatar{width:34px;height:34px;display:grid;place-items:center;border-radius:12px;background:#fff;color:#087bd7;font-weight:900;font-size:19px}
#tfsz .tfsz__heading{display:flex;flex-direction:column;line-height:1.25;flex:1}
#tfsz .tfsz__heading strong{font-weight:800;font-size:15px}
#tfsz .tfsz__heading small{font-size:11px;color:#e1f2ff}
#tfsz .tfsz__close{width:30px;height:30px;line-height:1;border:0;background:#ffffff20;color:white;border-radius:8px;font-size:24px}
#tfsz .tfsz__messages{padding:15px 14px 8px;overflow:auto;min-height:110px;max-height:255px;font-size:14px}
#tfsz .tfsz__bubble{background:#edf5fd;border-radius:4px 14px 14px 14px;padding:12px 13px;line-height:1.45}
#tfsz .tfsz__results{padding-top:10px;display:grid;gap:7px}
#tfsz .tfsz__result{display:flex;align-items:center;justify-content:space-between;gap:6px;border:1px solid #dbe7f3;text-decoration:none;color:#16466e;background:white;padding:9px 11px;border-radius:10px;font-size:13px;line-height:1.2}
#tfsz .tfsz__result:hover,#tfsz .tfsz__result:focus-visible{border-color:#1787db;background:#f0f8ff;color:#0e58a7}
#tfsz .tfsz__result small{font-size:11px;color:#64748b;white-space:nowrap}
#tfsz .tfsz__feedback{font-size:12px;color:#465c75;margin:2px 0}
#tfsz .tfsz__quick{display:flex;flex-wrap:wrap;gap:6px;padding:7px 14px 12px}
#tfsz .tfsz__quick button{border:1px solid #b9d5ee;background:#f5faff;color:#104f87;border-radius:20px;padding:7px 10px;font-size:12px;line-height:1.1}
#tfsz .tfsz__quick button:hover,#tfsz .tfsz__quick button:focus-visible{background:#147fd5;color:white}
#tfsz .tfsz__search{display:flex;margin:0 14px 8px;border:1px solid #b7cee5;border-radius:11px;overflow:hidden;min-height:42px}
#tfsz .tfsz__search input{min-width:0;flex:1;border:0;background:white;padding:9px 10px;box-shadow:none;outline:none;font-size:13px;color:#162940}
#tfsz .tfsz__search button{width:40px;border:0;background:#087bd7;color:white;font-size:20px}
#tfsz .tfsz__note{padding:0 14px 12px;color:#75849a;font-size:10px;line-height:1.3}

/* Wersja 1.1: dodatkowe wybory w doradcy */
#tfsz .tfsz__choice{display:block;width:100%;text-align:left;border:1px solid #dbe7f3;background:#f5faff;color:#16466e;padding:9px 11px;border-radius:10px;font-size:13px;line-height:1.3}
#tfsz .tfsz__choice:hover,#tfsz .tfsz__choice:focus-visible{background:#e5f2ff;border-color:#1787db;color:#0a4e89}

@media(max-width:600px){
  #tfsz{right:6px}
  #tfsz .tfsz__mascot{width:134px;height:98px}
  #tfsz .tfsz__mascot .tfsz__peek-art{width:134px}
  #tfsz[data-state="open"] .tfsz__mascot{width:112px;height:143px}
  #tfsz .tfsz__mascot .tfsz__full-art{width:106px}
  #tfsz[data-state="closed"] .tfsz__mascot:hover .tfsz__peek-art{transform:translate(-50%,0)}
  #tfsz .tfsz__panel{right:0;bottom:151px;width:min(355px,calc(100vw - 12px));max-height:calc(100dvh - 165px)}
}
@media(prefers-reduced-motion:reduce){#tfsz .tfsz__mascot,#tfsz .tfsz__mascot img{transition:none}}

/* 1.4: dyskretne, rzeczywiste produkty z WooCommerce. */
#tfsz .tfsz__product{display:flex;align-items:center;gap:10px;text-decoration:none;color:#142d45;background:#fff;border:1px solid #dbe7f3;border-radius:11px;padding:7px;min-height:64px}
#tfsz .tfsz__product:hover,#tfsz .tfsz__product:focus-visible{border-color:#1787db;background:#f4faff;color:#142d45}
#tfsz .tfsz__product-image{display:block;width:50px;height:54px;flex:0 0 50px;object-fit:contain;border-radius:7px;background:#f5f7fa}
#tfsz .tfsz__product-detail{display:flex;flex:1;min-width:0;flex-direction:column;gap:3px}
#tfsz .tfsz__product-name{font-size:12px;line-height:1.3;font-weight:600;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}
#tfsz .tfsz__product-price{font-size:11px;color:#315e83}
#tfsz .tfsz__product-arrow{font-size:21px;color:#1683d6;margin-right:3px}
