.wcr-ajax-product-search{display:inline-flex;line-height:1.4}
.wcr-aps-launcher{display:inline-flex;align-items:center;justify-content:center;width:38px!important;min-width:38px!important;max-width:38px!important;height:38px!important;min-height:38px!important;padding:0!important;border:1px solid #e5e7eb;border-radius:10px;background:#fff!important;color:#050505!important;cursor:pointer;box-shadow:0 1px 2px rgba(15,23,42,.05);line-height:1;transition:border-color .16s ease,box-shadow .16s ease,transform .16s ease,background .16s ease}
.wcr-aps-launcher:hover,.wcr-aps-launcher:focus-visible{background:#f8fafc!important;border-color:#cbd5e1;box-shadow:0 4px 12px rgba(15,23,42,.10);transform:translateY(-1px);outline:0}
.wcr-aps-launcher:active{transform:translateY(0);box-shadow:0 1px 3px rgba(15,23,42,.08)}
.wcr-aps-launcher svg{display:block;width:19px;height:19px;margin:0!important;fill:none;stroke:#050505;stroke-width:1.85;stroke-linecap:round;stroke-linejoin:round}
.wcr-aps-launcher .screen-reader-text{position:absolute!important;width:1px!important;height:1px!important;padding:0!important;margin:-1px!important;overflow:hidden!important;clip:rect(0,0,0,0)!important;white-space:nowrap!important;border:0!important}
.wcr-aps-overlay[hidden]{display:none!important}
.wcr-aps-overlay{position:fixed;z-index:999999;inset:0;display:flex;align-items:flex-start;justify-content:center;padding:70px 20px 24px;background:rgba(7,10,15,.57);backdrop-filter:blur(2px);animation:wcrApsFade .16s ease both}
.wcr-aps-dialog{width:min(680px,100%);max-height:min(76vh,720px);overflow:hidden;border:1px solid rgba(15,23,42,.14);border-radius:16px;background:#fff;box-shadow:0 28px 80px rgba(0,0,0,.28);animation:wcrApsEnter .2s cubic-bezier(.2,.75,.25,1) both}
.wcr-aps-field{display:grid;grid-template-columns:28px minmax(0,1fr) 36px;align-items:center;gap:8px;margin:12px 15px 8px;padding:0 5px 0 12px;height:54px;border:1.5px solid #aeb8c6;border-radius:13px;background:#fff;box-shadow:0 0 0 3px rgba(15,23,42,.025)}
.wcr-aps-field>svg,.wcr-aps-empty svg,.wcr-aps-prompt svg{fill:none;stroke:#111827;stroke-width:1.8;stroke-linecap:round}
.wcr-aps-field>svg{width:23px;height:23px}
.wcr-aps-field input{width:100%;height:50px!important;margin:0!important;padding:0!important;border:0!important;outline:0!important;background:transparent!important;color:#111827!important;font:500 16px/1.2 system-ui,-apple-system,"Segoe UI",sans-serif!important;box-shadow:none!important}
.wcr-aps-field input::-webkit-search-cancel-button{display:none}
.wcr-aps-field button{display:grid;place-items:center;width:34px;height:34px;padding:0;border:0;border-radius:50%;background:transparent;color:#6b7280;font:300 29px/1 Arial;cursor:pointer}
.wcr-aps-field button:hover{background:#f3f4f6;color:#111827}
.wcr-aps-field button[hidden]{visibility:hidden}
.wcr-aps-results{max-height:calc(min(76vh,720px) - 75px);overflow:auto;padding:0 15px 12px;overscroll-behavior:contain;scrollbar-width:thin}
.wcr-aps-result{display:grid;grid-template-columns:108px minmax(0,1fr) 22px;align-items:center;gap:16px;min-height:92px;padding:8px 5px;border-top:1px solid #e3e7ec;color:#111827!important;text-decoration:none!important;transition:background .15s ease,transform .15s ease}
.wcr-aps-result:first-child{border-top:0}
.wcr-aps-result:hover,.wcr-aps-result:focus{background:#f8fafc;outline:0;transform:translateX(2px)}
.wcr-aps-result img,.wcr-aps-image-placeholder{display:block;width:108px;height:78px;border-radius:10px;background:#f3f4f6;object-fit:contain}
.wcr-aps-result span{min-width:0}
.wcr-aps-result strong{display:block;margin:0 0 5px;color:#111827;font:700 16px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif}
.wcr-aps-result small{display:block;color:#111827;font:500 15px/1.25 system-ui,-apple-system,"Segoe UI",sans-serif}
.wcr-aps-result small .amount{color:inherit}
.wcr-aps-result>svg{width:20px;height:20px;fill:none;stroke:#9ca3af;stroke-width:2;stroke-linecap:round;stroke-linejoin:round}
.wcr-aps-empty,.wcr-aps-prompt{display:flex;min-height:285px;align-items:center;justify-content:center;flex-direction:column;text-align:center;color:#111827}
.wcr-aps-empty svg,.wcr-aps-prompt svg{width:58px;height:58px;margin-bottom:18px;stroke:#6b7280;stroke-width:1.4}
.wcr-aps-empty strong,.wcr-aps-prompt strong{font:700 18px/1.3 system-ui,-apple-system,"Segoe UI",sans-serif}
.wcr-aps-empty span,.wcr-aps-prompt span{margin-top:5px;color:#6b7280;font:400 15px/1.4 system-ui,-apple-system,"Segoe UI",sans-serif}
.wcr-aps-loading{display:flex;min-height:230px;align-items:center;justify-content:center;gap:8px}
.wcr-aps-loading i{width:10px;height:10px;border-radius:50%;background:#a9832f;animation:wcrApsPulse .8s ease-in-out infinite alternate}
.wcr-aps-loading i:nth-child(2){animation-delay:.14s}.wcr-aps-loading i:nth-child(3){animation-delay:.28s}
html.wcr-aps-is-open{overflow:hidden}
@keyframes wcrApsFade{from{opacity:0}to{opacity:1}}
@keyframes wcrApsEnter{from{opacity:0;transform:translateY(-10px) scale(.985)}to{opacity:1;transform:none}}
@keyframes wcrApsPulse{from{opacity:.35;transform:translateY(3px)}to{opacity:1;transform:translateY(-3px)}}
@media(max-width:600px){
  .wcr-aps-overlay{padding:0;background:#fff;backdrop-filter:none}
  .wcr-aps-dialog{width:100%;height:100%;max-height:none;border:0;border-radius:0;box-shadow:none;animation:none}
  .wcr-aps-field{height:51px;margin:13px 12px 7px;grid-template-columns:25px minmax(0,1fr) 34px;border-radius:12px}
  .wcr-aps-field input{height:47px!important;font-size:16px!important}
  .wcr-aps-results{max-height:calc(100dvh - 72px);padding:0 12px 18px}
  .wcr-aps-result{grid-template-columns:92px minmax(0,1fr);min-height:106px;gap:12px;padding:8px 0}
  .wcr-aps-result img,.wcr-aps-image-placeholder{width:92px;height:90px;border-radius:9px}
  .wcr-aps-result>svg{display:none}
  .wcr-aps-result strong{font-size:15px}.wcr-aps-result small{font-size:14px}
  .wcr-aps-empty,.wcr-aps-prompt{min-height:65vh}
}
@media(prefers-reduced-motion:reduce){.wcr-aps-overlay,.wcr-aps-dialog,.wcr-aps-result,.wcr-aps-loading i{animation:none!important;transition:none!important}}
