/* SRSHerbal v2.11.0 — smart discovery and owner controls.
   Presentation only; business rules stay in services/controllers. */

.smart-search{position:relative;z-index:40}
.search-suggestions{position:absolute;left:0;right:0;top:calc(100% + 8px);background:#fff;border:1px solid rgba(13,65,76,.14);border-radius:16px;box-shadow:0 20px 50px rgba(12,50,58,.18);overflow:hidden;max-height:520px;overflow-y:auto;z-index:2000}
.search-suggestion-item{display:flex;gap:12px;align-items:center;padding:11px 14px;text-decoration:none;color:#15333a;border-bottom:1px solid #edf2f2;background:#fff;transition:.18s ease}
.search-suggestion-item:last-child{border-bottom:0}
.search-suggestion-item:hover{background:#f6fbfa;transform:none}
.search-suggestion-image{width:52px;height:52px;flex:0 0 52px;border-radius:12px;background:#f4f7f6;display:grid;place-items:center;overflow:hidden;border:1px solid #e5ecea}
.search-suggestion-image img{width:100%;height:100%;object-fit:contain;padding:3px}
.suggestion-fallback{font-size:24px}
.search-suggestion-copy{display:grid;min-width:0;gap:2px;text-align:left}
.search-suggestion-copy b{font-size:14px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-suggestion-copy small{font-size:11px;color:#65777b;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.search-suggestion-copy span{font-size:11px;color:#0b5666}
.search-suggestion-copy strong{color:#e86f24}

.marketplace-discovery-hero{box-shadow:inset 0 -1px rgba(11,86,102,.08)}
.smart-catalog-v211{align-items:start}
.smart-filter-panel{position:sticky;top:96px;border-radius:20px;border:1px solid #e7eceb;box-shadow:0 10px 28px rgba(24,61,66,.06);background:#fff}
.filter-title-row{display:flex;justify-content:space-between;align-items:center;margin-bottom:14px}
.filter-title-row h3{margin:0}
.filter-title-row a{font-size:12px;color:#e86f24;font-weight:700}
.smart-filter-panel form{display:grid;gap:12px}
.smart-filter-panel label{display:grid;gap:6px;font-size:12px;font-weight:700;color:#42555a}
.smart-filter-panel input,.smart-filter-panel select{width:100%;min-height:42px;border:1px solid #dce6e4;border-radius:10px;padding:9px 11px;background:#fff;color:#18383e}
.smart-results-head{gap:12px;flex-wrap:wrap}
.smart-results-head>div:first-child{display:grid;gap:2px}
.smart-results-head span{color:#718187;font-size:12px}
.active-filter-chips{display:flex;gap:6px;flex-wrap:wrap;justify-content:flex-end}
.active-filter-chips span{padding:6px 9px;border-radius:999px;background:#f2f8f6;color:#286157;border:1px solid #dcebe6;font-size:10px;font-weight:700;text-transform:capitalize}
.smart-empty-state{display:grid;gap:7px;padding:48px 20px;text-align:center;border:1px dashed #cfddda;border-radius:18px;background:#fbfdfc}
.smart-empty-state b{font-size:18px;color:#173f45}.smart-empty-state span{font-size:13px;color:#6d7e82}

.admin-settings-v211 .settings-stack{display:grid;gap:16px}
.admin-settings-v211 .settings-group{border-radius:18px;padding:20px}
.settings-group-head{display:flex;align-items:flex-end;justify-content:space-between;gap:16px;margin-bottom:16px}
.settings-group-head h2{margin:3px 0 0}.settings-group-head small{max-width:360px;color:#6d7c80}
.settings-toggle-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px}
.toggle-card{display:flex!important;align-items:flex-start;gap:11px;padding:14px;border-radius:14px;border:1px solid #e2e9e8;background:#fbfdfc;cursor:pointer}
.toggle-card input[type="checkbox"]{width:19px;height:19px;margin-top:2px;accent-color:#e86f24}
.toggle-card span{display:grid;gap:3px}.toggle-card b{font-size:13px;color:#173c43}.toggle-card small{font-size:11px;color:#6f8084;font-weight:400}
.settings-number-grid{margin-top:14px}
.settings-savebar{position:sticky;bottom:12px;z-index:20;display:flex;align-items:center;justify-content:space-between;gap:18px;padding:13px 16px;border-radius:16px;background:#fff;border:1px solid #dce5e3;box-shadow:0 14px 34px rgba(18,54,60,.16)}
.settings-savebar>div{display:grid;gap:2px}.settings-savebar small{color:#708084}

@media(max-width:900px){
  .smart-filter-panel{position:static}
  .settings-toggle-grid{grid-template-columns:1fr}
  .settings-savebar{position:static;align-items:stretch;flex-direction:column}
  .settings-savebar .btn{width:100%}
}
@media(max-width:640px){
  .search-suggestions{position:fixed;left:10px;right:10px;top:118px;max-height:55vh}
  .active-filter-chips{justify-content:flex-start}
}

.review-policy-note{margin:0 0 12px;padding:11px 13px;border-radius:12px;background:#f0f8f4;border:1px solid #d9ebe1;color:#275b49;font-size:12px;font-weight:700}
