.site-search .search-wrap{position:relative;max-width:1100px;margin:18px auto 0 auto;padding:0 12px}.input-group{display:flex;gap:8px;align-items:center}.form-control{flex:1;padding:12px 14px;border-radius:10px;border:1px solid #e9e6e0;font-size:16px;background:#fff}.btn-search{background:var(--brand-color,#ff6a00);border:none;color:#fff;padding:10px 14px;border-radius:10px;cursor:pointer}

.search-wrapper{display:flex;align-items:center;flex-wrap:nowrap;background:#fff;border:1px solid #e9e2d0;border-radius:999px;padding:10px 16px;box-shadow:0 8px 24px rgba(0,0,0,.08);gap:12px;width:100%;max-width:1100px;margin:18px auto 6px auto;position:relative;z-index:100;transition:box-shadow .18s ease,transform .12s ease}
.search-wrapper:hover,.search-wrapper:focus-within{box-shadow:0 10px 30px rgba(255,193,7,0.2);transform:translateY(-1px)}
.search-input{flex:1;border:none;outline:none;font-size:1.05rem;padding:10px 12px;min-width:0;background:transparent;color:#222;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-input::placeholder{color:#6b7280}
.search-btn{background:linear-gradient(135deg,#FFB347,#FFCC33);border:none;color:#fff;font-size:1.15rem;border-radius:50%;width:46px;height:46px;display:flex;align-items:center;justify-content:center;transition:transform .18s ease,box-shadow .18s ease;flex-shrink:0;cursor:pointer;box-shadow:0 6px 18px rgba(0,0,0,0.12)}
.search-btn:hover{transform:scale(1.06);box-shadow:0 10px 26px rgba(0,0,0,0.16)}
.search-btn i{font-size:1.3rem;color:#fff}
.search-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border-radius:18px;box-shadow:0 14px 40px rgba(0,0,0,0.12);max-height:380px;overflow:auto;z-index:1100;padding:12px}
.suggestion-box{position:absolute;top:calc(100% + 10px);left:0;width:100%;background:#fff;border:1px solid #eee;border-radius:18px;box-shadow:0 12px 30px rgba(0,0,0,0.12);padding:14px;max-height:60vh;overflow-y:auto;z-index:1100;display:none}

.suggestion-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:14px;padding:8px 10px;width:100%;box-sizing:border-box;align-items:stretch}
.suggestion-item{position:relative;display:grid;grid-template-columns:82px minmax(0,1fr);align-items:center;gap:12px;background:#fff;border:1px solid #efe9df;border-radius:16px;padding:10px 12px;transition:all .25s ease;cursor:default;box-shadow:0 2px 8px rgba(0,0,0,.04);min-width:0;width:100%;box-sizing:border-box;min-height:170px;overflow:hidden;max-width:100%}
.suggestion-item:hover{background:#faf7f2;box-shadow:0 6px 16px rgba(0,0,0,.08)}
.suggestion-item img{width:82px;height:82px;object-fit:cover;border-radius:10px;flex-shrink:0;display:block;cursor:pointer}
.suggestion-info{position:relative;flex:1;display:flex;flex-direction:column;justify-content:center;min-width:0;width:100%;overflow:hidden;max-width:100%}
.suggestion-info h4{font-size:1rem;font-weight:700;color:#1f2937;margin:0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.suggestion-info p{font-size:0.78rem;color:#7a7a7a;margin:4px 0;line-height:1.35;white-space:normal;word-break:break-word;max-width:100%}
.price-wrap{display:flex;align-items:center;flex-wrap:wrap;gap:6px 8px;margin-top:6px;width:100%;min-width:0;max-width:100%}
.suggestion-item .price-badges{position:static !important;display:block !important;margin-top:6px;width:max-content;max-width:100%}
.sr-price{color:#8c8c8c;text-decoration:line-through;white-space:nowrap;font-size:0.78rem}
.new-price{color:#111827;font-weight:800;font-size:1rem;white-space:nowrap}
.suggestion-item .product-badge{position:static !important;display:block !important;white-space:nowrap;background:linear-gradient(135deg,#FFB347,#FFCC33);color:#111;padding:4px 8px;border-radius:999px;font-weight:700;font-size:10px;box-shadow:0 4px 10px rgba(0,0,0,0.08);max-width:100%;line-height:1.2}
.product-badge.delivery-badge{background:linear-gradient(135deg,#34D399,#10B981);color:#fff}
.product-badge.discount-badge{background:linear-gradient(135deg,#FFB347,#FFCC33);color:#111}
.product-badge.combined-badge{max-width:100%;white-space:normal;line-height:1.3;padding:6px 10px}
.suggestion-grid .ss-qty{padding:4px 6px;border:1px solid #e5e7eb;border-radius:6px;font-size:0.8rem}
.suggestion-grid .ss-add-btn{padding:4px 6px !important;background:linear-gradient(135deg,#FFB347,#FFCC33);border:none;color:#111;border-radius:8px;cursor:pointer;font-weight:700;white-space:nowrap;width:42px !important;min-width:42px !important;max-width:42px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;flex-shrink:0;font-size:0.72rem !important;line-height:1.1 !important;box-shadow:0 6px 18px rgba(0,0,0,0.12)}
.suggestion-grid .ss-add-btn:active{transform:translateY(1px)}
.suggestion-grid .ss-minus,.suggestion-grid .ss-plus{background:#fff;border:1px solid #e5e7eb;border-radius:6px;width:22px !important;height:22px !important;display:inline-flex !important;align-items:center !important;justify-content:center !important;cursor:pointer;font-weight:700;flex-shrink:0;font-size:0.7rem !important;padding:0 !important;line-height:1 !important;color:#111}
.suggestion-grid .ss-minus:active,.suggestion-grid .ss-plus:active{transform:translateY(1px)}
.suggestion-grid .ss-qty-display{width:28px !important;min-width:28px !important;text-align:center;padding:3px 0 !important;border:1px solid #e5e7eb;border-radius:6px;display:inline-block !important;flex-shrink:0;max-width:100%;font-size:0.72rem !important;line-height:1.1 !important}
.search-suggestions .no-results{padding:20px;text-align:center;color:#666;font-weight:600}

@media (max-width:1199px){.suggestion-grid{grid-template-columns:repeat(4,minmax(0,1fr));}}
@media (max-width:991px){.suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr));}.search-suggestions{left:0;right:0;max-width:760px;margin:0 auto}}
@media (max-width:767px){.suggestion-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;padding:8px}.search-suggestions{left:0;right:0;max-width:720px;margin:0 auto}}
@media (max-width:575px){
  .search-wrapper{padding:8px 10px}
  .search-input::placeholder{font-size:0.9rem}
  .search-suggestions{top:56px;left:6px;right:6px;padding:6px}
  .suggestion-grid{grid-template-columns:1fr;gap:10px;padding:6px}
  .suggestion-item{grid-template-columns:64px minmax(0,1fr);gap:8px;padding:8px 10px;min-height:0}
  .suggestion-item img{width:64px;height:64px}
  .suggestion-info h4{font-size:0.82rem;line-height:1.3}
  .suggestion-info p{font-size:0.72rem;line-height:1.3}
  .price-wrap{font-size:0.75rem;gap:4px 6px}
  .product-badge{font-size:10px;padding:4px 7px}
  .search-btn{width:38px;height:38px;font-size:1.4rem}
  .suggestion-grid .ss-add-btn{width:100%;margin-top:4px;max-width:100%}
}

.suggestion-item .ss-add-btn.in-cart { background: #159957 !important; color: #fff; }
.search-product-save { display: block; margin-top: 2px; color: #16834b; font-size: calc(.9rem - 2px); line-height: 1.2; overflow-wrap: anywhere; }
