/* K Garden 2.0.21 — header search + archive stock state */
.kgx221-header-search-widget{width:auto!important;min-width:0!important;flex:0 0 auto!important}
.kgx221-header-search-widget .elementor-widget-container{display:flex;align-items:center}
.kgx221-search{display:inline-flex;align-items:center;direction:rtl}
.kgx221-search-toggle{display:inline-flex;align-items:center;justify-content:center;gap:7px;height:42px;min-width:42px;padding:0 11px;border:1px solid rgba(19,37,29,.14);border-radius:999px;background:#fffdf8;color:#173a30;cursor:pointer;font:inherit;transition:border-color .2s ease,background .2s ease,transform .2s ease}
.kgx221-search-toggle:hover{border-color:#8fbd3d;background:#f8fbf2;transform:translateY(-1px)}
.kgx221-search-toggle svg{width:20px;height:20px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round}
.kgx221-search-toggle-text{font-size:14px;font-weight:600}
.kgx221-search-panel[hidden]{display:none!important}
.kgx221-search-panel{position:fixed;z-index:999999;inset:0;background:rgba(8,25,18,.66);backdrop-filter:blur(6px);padding:84px 18px 30px;overflow:auto;direction:rtl}
.kgx221-search-inner{position:relative;width:min(760px,100%);margin:0 auto;background:#fffdf8;border-radius:24px;padding:30px;box-shadow:0 30px 90px rgba(0,0,0,.24);color:#173a30}
.kgx221-search-close{position:fixed;top:26px;left:26px;width:44px;height:44px;border:0;border-radius:50%;background:#fff;color:#173a30;font-size:30px;line-height:1;cursor:pointer;box-shadow:0 8px 24px rgba(0,0,0,.18)}
.kgx221-search-kicker{font-size:12px;font-weight:700;letter-spacing:.16em;color:#708475;margin-bottom:6px}
.kgx221-search-inner h2{margin:0 0 18px;font-size:34px;line-height:1.15;color:#173a30}
.kgx221-search-form{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px}
.kgx221-search-form input[type=search]{width:100%;min-height:52px;border:1px solid #d8ded8;border-radius:14px;padding:0 16px;background:#fff;color:#173a30;font-size:17px;outline:0}
.kgx221-search-form input[type=search]:focus{border-color:#87b536;box-shadow:0 0 0 3px rgba(135,181,54,.12)}
.kgx221-search-form button{min-height:52px;padding:0 24px;border:0;border-radius:14px;background:#173a30;color:#fff;font-size:16px;font-weight:700;cursor:pointer}
.kgx221-search-status{min-height:22px;margin:12px 2px 4px;font-size:14px;color:#627069}
.kgx221-search-results{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.kgx221-result{display:grid;grid-template-columns:76px minmax(0,1fr);gap:12px;align-items:center;padding:9px;border:1px solid rgba(19,37,29,.1);border-radius:15px;background:#fff;color:#173a30;text-decoration:none!important}
.kgx221-result:hover{border-color:#9bc848;color:#173a30}
.kgx221-result-image{display:block;width:76px;height:76px;overflow:hidden;border-radius:10px;background:#f1eee6}
.kgx221-result-image img{display:block!important;width:100%!important;height:100%!important;object-fit:cover!important;margin:0!important}
.kgx221-result-copy{display:flex;flex-direction:column;gap:4px;min-width:0}
.kgx221-result-copy strong{font-size:15px;line-height:1.35;color:#173a30}
.kgx221-result-price{font-size:14px;color:#52635a}
.kgx221-result-stock{display:inline-flex;align-self:flex-start;padding:3px 8px;border-radius:999px;background:#f1e5e2;color:#873f35;font-size:12px;font-weight:700}
.kgx221-search-all{display:inline-flex;margin-top:16px;color:#173a30;font-weight:700;text-decoration:none;border-bottom:1px solid rgba(23,58,48,.32)}
body.kgx221-search-open{overflow:hidden!important}
body.kgx-final221 ul.products li.product,body.kgx-final221 .products .product{position:relative}
body.kgx-final221 .kgx221-stock-badge{position:absolute;z-index:8;top:12px;right:12px;display:inline-flex;align-items:center;justify-content:center;padding:6px 10px;border-radius:999px;background:rgba(30,39,34,.92);color:#fff;font-size:13px;font-weight:700;line-height:1;pointer-events:none;box-shadow:0 5px 16px rgba(0,0,0,.14)}
@media(max-width:767px){
 .kgx221-search-toggle{width:42px;padding:0}.kgx221-search-toggle-text{display:none}
 .kgx221-search-panel{padding:72px 12px 20px}.kgx221-search-inner{padding:22px 14px;border-radius:18px}.kgx221-search-close{top:16px;left:16px}
 .kgx221-search-inner h2{font-size:27px}.kgx221-search-form{grid-template-columns:1fr}.kgx221-search-form button{width:100%}
 .kgx221-search-results{grid-template-columns:1fr}
 body.kgx-final221 .kgx221-stock-badge{top:8px;right:8px;font-size:12px;padding:5px 8px}
}
