/* SRSHerbal v2.23.0 — premium UX, admin clarity, seller conversion, mobile polish.
   Human-readable additive overrides only. Existing working CSS remains intact. */
:root{
    --v223-navy:#103b50;
    --v223-ink:#173d4e;
    --v223-green:#0f735d;
    --v223-green-2:#1b9b78;
    --v223-orange:#ff6f2f;
    --v223-soft:#f4f9f7;
    --v223-line:#dbe7e8;
    --v223-shadow:0 16px 40px rgba(18,55,72,.09);
}

html,body{max-width:100%;overflow-x:hidden}
img{max-width:100%}

/* ---------- public marketplace ---------- */
.locked-global-theme .site-header,
.locked-global-theme .mainnav,
.locked-global-theme .trustbar{max-width:100vw}

.v223-home .v223-hero{min-height:430px}
.v223-home .v250-hero-copy{padding-top:36px;padding-bottom:34px}
.v223-home .v223-hero h1{font-size:clamp(48px,4.55vw,72px);line-height:.94;margin:14px 0 14px;letter-spacing:-.045em}
.v223-home .v223-hero h2{font-size:clamp(19px,1.45vw,25px);margin:0 0 11px}
.v223-home .v223-hero p{margin:0 0 17px;max-width:760px;font-size:15px}
.v223-home .v223-herb-finder{max-width:780px;margin-top:14px}
.v223-home .v223-herb-finder>span{font-size:17px}
.v223-home .v223-herb-finder input{font-size:14px}
.v223-home .v223-herb-finder button{white-space:nowrap}
.v223-hero-actions{display:flex;align-items:center;flex-wrap:wrap;gap:9px;margin:12px 0 10px}
.v223-hero-actions .btn{min-height:42px;padding:10px 15px;font-size:12px;border-radius:11px}
.v223-text-link{font-size:12px;font-weight:850;color:var(--v223-green);padding:8px 2px}
.v223-text-link:hover{text-decoration:underline}
.v223-home .v250-trust{margin-top:8px}
.v223-home .v250-trust span{font-size:10px}

.v223-market-stats{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));max-width:1500px;margin:-1px auto 0;border:1px solid #deeaeb;border-top:0;background:#fff;box-shadow:0 12px 34px rgba(16,55,72,.045)}
.v223-market-stats a{min-width:0;padding:18px 22px;display:flex;align-items:center;gap:12px;color:var(--v223-ink);border-right:1px solid #e6eef0;text-decoration:none;transition:.18s ease}
.v223-market-stats a:last-child{border-right:0}
.v223-market-stats a:hover{background:#f5faf8}
.v223-market-stats strong{font-family:Georgia,serif;font-size:27px;line-height:1;color:var(--v223-green);white-space:nowrap}
.v223-market-stats span{font-size:11px;font-weight:760;color:#627b86;line-height:1.3}

.v223-seller-accelerator{display:grid;grid-template-columns:minmax(0,1.45fr) minmax(340px,.7fr);gap:22px;align-items:stretch;margin-top:22px!important;margin-bottom:30px!important}
.v223-seller-copy,.v223-seller-steps{border:1px solid #dce8e5;border-radius:26px;padding:30px;background:#fff;box-shadow:var(--v223-shadow)}
.v223-seller-copy{background:radial-gradient(circle at 95% 5%,rgba(122,177,122,.13),transparent 30%),linear-gradient(135deg,#fff,#f8fcfa)}
.v223-seller-copy h2{font-size:clamp(28px,3vw,43px);line-height:1.08;letter-spacing:-.035em;color:var(--v223-navy);max-width:900px;margin:9px 0 11px}
.v223-seller-copy>p{max-width:900px;color:#61777f;line-height:1.68}
.v223-seller-benefits{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px;margin:22px 0}
.v223-seller-benefits span{display:flex;align-items:center;gap:9px;min-height:58px;padding:12px;border:1px solid #e0ebe7;border-radius:14px;background:#fff;font-size:12px;font-weight:760;color:#365660}
.v223-seller-benefits b{width:29px;height:29px;display:grid;place-items:center;border-radius:9px;background:#e8f5ef;color:var(--v223-green);font-size:10px;flex:0 0 auto}
.v223-seller-cta{display:flex;gap:9px;flex-wrap:wrap}
.v223-seller-steps{background:linear-gradient(155deg,#153f3a,#0d5a4a);color:#fff;border-color:#124f43}
.v223-seller-steps .badge{display:inline-flex;background:rgba(255,255,255,.12);color:#d9f2e9;border:1px solid rgba(255,255,255,.14)}
.v223-seller-steps h3{font-size:27px;line-height:1.1;margin:14px 0 20px;color:#fff}
.v223-seller-steps ol{list-style:none;padding:0;margin:0;display:grid;gap:12px;counter-reset:sellerstep}
.v223-seller-steps li{counter-increment:sellerstep;display:grid;grid-template-columns:34px 1fr;gap:2px 11px;align-items:center;padding-bottom:12px;border-bottom:1px solid rgba(255,255,255,.12)}
.v223-seller-steps li:before{content:counter(sellerstep);grid-row:1/3;width:32px;height:32px;border-radius:10px;display:grid;place-items:center;background:#fff;color:#155b4b;font-weight:900;font-size:11px}
.v223-seller-steps li b{font-size:13px;color:#fff}
.v223-seller-steps li small{font-size:11px;color:#c7ddd6;line-height:1.35}
.v223-approval-note{display:block;margin-top:17px;color:#bad5cc;line-height:1.5}

/* Mixed global search: herb + product + manufacturer */
.search-suggestions{overflow:hidden}
.search-suggestion-item{position:relative}
.search-suggestion-copy{min-width:0}
.search-suggestion-copy .suggestion-type{display:inline-flex;width:max-content;padding:3px 6px;border-radius:999px;background:#edf5f2;color:#2c6b59;font-size:8px!important;font-weight:900!important;letter-spacing:.08em;text-transform:uppercase;line-height:1.1}
.search-suggestion-herb .suggestion-type{background:#e8f5e9;color:#25684e}
.search-suggestion-manufacturer .suggestion-type{background:#fff0e7;color:#a65123}
.search-suggestion-copy>b,.search-suggestion-copy>small,.search-suggestion-copy>span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;max-width:100%}
.search-suggestion-image img{object-fit:contain;background:#f7faf8}

/* Cleaner public header at laptop widths */
@media (max-width:1380px) and (min-width:901px){
    .locked-global-theme .site-header.locked-header{grid-template-columns:250px minmax(360px,1fr) auto!important;gap:12px!important}
    .locked-global-theme .header-actions{gap:9px!important}
    .locked-global-theme .header-actions>a{font-size:11px!important}
    .locked-global-theme .mainnav{gap:0!important}
    .locked-global-theme .mainnav a{padding-left:10px!important;padding-right:10px!important;font-size:10.5px!important}
}

/* ---------- admin ---------- */
.admin-theme{overflow-x:hidden}
.admin-theme main{min-width:0}
.admin-dashboard-route-v223 .admin-topbar{position:sticky!important;top:0!important;z-index:1000}
.admin-dashboard-route-v223 .v250-admin-shell{margin-top:0!important}
.admin-dashboard-route-v223 .v250-admin-nav{position:sticky!important;top:96px!important;height:calc(100vh - 96px)!important;overflow-y:auto!important;overscroll-behavior:contain}
.admin-dashboard-route-v223 .v250-admin-nav::-webkit-scrollbar{width:5px}
.admin-dashboard-route-v223 .v250-admin-nav::-webkit-scrollbar-thumb{background:#d8e4e4;border-radius:99px}
.admin-dashboard-route-v223 .v250-admin-main{min-width:0!important}

/* KPI cards become useful shortcuts, without changing data or permissions. */
.v223-kpis>a{position:relative;min-width:0;min-height:96px;display:flex;align-items:center;gap:13px;padding:14px 15px;border-radius:13px;border:1px solid #dbe7eb;background:linear-gradient(180deg,#fff,#fcfefe);box-shadow:0 7px 21px rgba(20,55,72,.055);color:inherit;text-decoration:none;transition:.18s ease}
.v223-kpis>a:hover{transform:translateY(-2px);border-color:#c8dce0;box-shadow:0 13px 28px rgba(20,55,72,.095)}
.v223-kpis>a>i{flex:0 0 auto}
.v223-kpis>a>span{display:flex!important;flex-direction:column;min-width:0}
.v223-kpis>a>span>b{display:block}
.v223-kpis>a>em{position:absolute;right:12px;top:10px;font-size:8px;font-style:normal;font-weight:900;color:#90a2a9;opacity:0;transform:translateX(-3px);transition:.18s ease}
.v223-kpis>a:hover>em{opacity:1;transform:none}
.v223-kpis>a small{white-space:nowrap;overflow:hidden;text-overflow:ellipsis}

.v223-sales-title{align-items:flex-start!important}
.v223-sales-title>div:first-child{min-width:0}
.v223-sales-title small{display:block;margin-top:3px;color:#758990;font-size:9.5px;font-weight:650}
.v223-range-switch{display:flex;gap:3px;padding:3px;border-radius:10px;background:#f1f6f5;border:1px solid #e0e9e7}
.v223-range-switch a{min-width:34px;text-align:center;padding:6px 8px;border-radius:7px;color:#61777e;font-size:9px;font-weight:900}
.v223-range-switch a.active{background:#fff;color:var(--v223-green);box-shadow:0 3px 9px rgba(18,60,55,.09)}
.sales-panel .mini-bars{overflow:hidden}
.sales-panel .mini-bars>div{min-width:0}

/* All admin tables stay inside the viewport. */
.admin-theme .table-wrap{max-width:100%;overflow:auto;overscroll-behavior-inline:contain}
.admin-theme .dashboard-shell,.admin-theme .dash-main,.admin-theme .panel,.admin-theme .section-head{min-width:0}
.admin-theme table{max-width:none}
.admin-mobile-dock-v223{display:none}

/* Seller center */
.seller-growth-grid-v223{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(300px,.72fr);gap:16px;margin:17px 0}
.seller-progress-v223 .panel-head{align-items:flex-start}
.seller-progress-v223 .panel-head>div{display:block}
.seller-progress-v223 .panel-head>div h3{margin:3px 0}
.seller-progress-v223 .panel-head>b{font-size:25px;color:var(--v223-green)}
.seller-progress-track-v223{height:9px;border-radius:999px;background:#e8efed;overflow:hidden;margin:12px 0 15px}
.seller-progress-track-v223 i{display:block;height:100%;border-radius:inherit;background:linear-gradient(90deg,var(--v223-green),#56b586)}
.seller-checklist-v223{display:grid;grid-template-columns:1fr 1fr;gap:8px}
.seller-checklist-v223 a{display:grid;grid-template-columns:25px 1fr auto;gap:7px;align-items:center;padding:10px;border:1px solid #e2e9e8;border-radius:11px;color:#36545d;background:#fff;font-size:11px}
.seller-checklist-v223 a>span{width:23px;height:23px;display:grid;place-items:center;border-radius:7px;background:#f1f5f4;color:#8b9b9d;font-weight:900}
.seller-checklist-v223 a.done>span{background:#e4f4ec;color:var(--v223-green)}
.seller-checklist-v223 a em{font-style:normal;font-size:9px;font-weight:800;color:#7f9296}
.seller-opportunity-v223{background:linear-gradient(150deg,#f7fbf8,#eef6ef)!important}
.seller-opportunity-v223 h3{font-size:24px;line-height:1.15;margin:8px 0 15px;color:var(--v223-navy)}
.seller-opportunity-v223>div{display:grid;gap:8px;margin-bottom:16px}
.seller-opportunity-v223>div>a{display:flex;gap:10px;align-items:center;padding:10px;border-radius:12px;background:#fff;border:1px solid #e1eae4;color:#36555d}
.seller-opportunity-v223>div>a>b{width:34px;height:34px;display:grid;place-items:center;border-radius:10px;background:#edf6ef}
.seller-opportunity-v223>div>a>span{display:flex;flex-direction:column;font-size:11px;font-weight:850}
.seller-opportunity-v223>div>a small{font-size:9px;font-weight:500;color:#819194;margin-top:2px}

/* ---------- responsive ---------- */
@media(max-width:1120px){
    .v223-seller-accelerator{grid-template-columns:1fr}
    .v223-seller-benefits{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v223-market-stats{grid-template-columns:repeat(2,minmax(0,1fr))}
    .v223-market-stats a:nth-child(2){border-right:0}
    .v223-market-stats a:nth-child(-n+2){border-bottom:1px solid #e6eef0}
    .seller-growth-grid-v223{grid-template-columns:1fr}
}

@media(max-width:820px){
    .v223-home .v223-hero{min-height:0}
    .v223-home .v250-hero-copy{padding:25px 18px 22px}
    .v223-home .v223-hero h1{font-size:clamp(39px,11.5vw,54px)}
    .v223-home .v223-hero h2{font-size:18px}
    .v223-home .v223-hero p{font-size:13px}
    .v223-home .v223-hero-actions{align-items:stretch}
    .v223-home .v223-hero-actions .btn{flex:1 1 46%;text-align:center}
    .v223-home .v223-text-link{flex-basis:100%}
    .v223-market-stats{margin:0 10px;border-top:1px solid #deeaeb;border-radius:16px;overflow:hidden}
    .v223-seller-copy,.v223-seller-steps{padding:22px;border-radius:21px}
    .v223-seller-benefits{grid-template-columns:1fr 1fr}

    .admin-theme{padding-bottom:72px!important}
    .admin-dashboard-route-v223 .admin-topbar{position:relative!important}
    .admin-dashboard-route-v223 .v250-admin-nav{position:relative!important;top:0!important;height:auto!important}
    .admin-mobile-dock-v223{position:fixed;z-index:1300;left:8px;right:8px;bottom:8px;display:grid;grid-template-columns:repeat(5,1fr);gap:3px;padding:5px;background:rgba(12,52,62,.96);border:1px solid rgba(255,255,255,.08);border-radius:18px;box-shadow:0 14px 40px rgba(7,31,38,.3);backdrop-filter:blur(14px)}
    .admin-mobile-dock-v223 a{min-width:0;display:flex;flex-direction:column;align-items:center;gap:2px;padding:7px 2px;border-radius:12px;color:#eaf5f2;text-decoration:none;font-size:9px;font-weight:800}
    .admin-mobile-dock-v223 a b{font-size:15px}
    .admin-mobile-dock-v223 a.active{background:#fff;color:#0e6655}
    .admin-theme .v221-modulebar{position:relative!important;top:0!important}
    .v223-kpis>a{min-height:102px}
    .seller-checklist-v223{grid-template-columns:1fr}
}

@media(max-width:560px){
    .v223-home .v223-herb-finder{height:auto!important;min-height:50px;display:grid!important;grid-template-columns:34px minmax(0,1fr);padding:7px!important}
    .v223-home .v223-herb-finder button{grid-column:1/-1;width:100%;min-height:42px;margin-top:5px;border-radius:9px!important}
    .v223-home .v223-hero-actions .btn{flex-basis:100%}
    .v223-market-stats{grid-template-columns:1fr 1fr}
    .v223-market-stats a{padding:14px 12px;display:block}
    .v223-market-stats strong{display:block;font-size:22px;margin-bottom:4px}
    .v223-market-stats span{font-size:9px}
    .v223-seller-benefits{grid-template-columns:1fr}
    .v223-seller-copy h2{font-size:28px}
    .v223-seller-steps h3{font-size:23px}
    .v223-kpis{grid-template-columns:1fr!important}
    .v223-kpis>a{min-height:92px}
    .v223-sales-title{gap:9px}
    .v223-sales-title small{font-size:8px}
}

/* Public supplier directory + verified seller profiles */
.v223-supplier-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px}
.v223-supplier-grid>a{display:grid;grid-template-columns:48px minmax(0,1fr);gap:12px;align-items:center;padding:16px;border:1px solid #dfe9e4;border-radius:16px;background:#fff;color:#294d4a;box-shadow:0 8px 24px rgba(19,65,55,.045);transition:.18s ease}
.v223-supplier-grid>a:hover{transform:translateY(-2px);border-color:#bfd6c7;box-shadow:0 13px 30px rgba(19,65,55,.08)}
.v223-supplier-grid>a>span{width:46px;height:46px;border-radius:14px;display:grid;place-items:center;background:linear-gradient(145deg,#e9f5ec,#f7efe1);color:#276955;font-weight:900;font-size:12px}
.v223-supplier-grid>a>div{min-width:0;display:flex;flex-direction:column;gap:4px}
.v223-supplier-grid b{font-size:14px;color:#173e38;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v223-supplier-grid small{font-size:10px;color:#758780;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.v223-supplier-grid em{font-style:normal;font-size:10px;font-weight:850;color:#2d795f}
.v223-public-seller-hero{background:radial-gradient(circle at 90% 10%,rgba(111,165,112,.14),transparent 30%),linear-gradient(130deg,#fff,#f5faf6)}
.v223-public-seller-hero h1{max-width:980px}
.v223-seller-about{max-width:900px!important;line-height:1.7!important}
.v223-seller-profile-summary{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px!important;padding-top:22px!important;padding-bottom:22px!important}
.v223-seller-profile-summary article{border:1px solid #dfe9e4;border-radius:16px;padding:18px;background:#fff;display:flex;flex-direction:column;gap:5px}
.v223-seller-profile-summary small{font-size:9px;font-weight:900;letter-spacing:.09em;color:#718781}
.v223-seller-profile-summary b{font-size:16px;color:#234d42}
@media(max-width:980px){.v223-supplier-grid{grid-template-columns:1fr 1fr}.v223-seller-profile-summary{grid-template-columns:1fr 1fr}}
@media(max-width:560px){.v223-supplier-grid{grid-template-columns:1fr}.v223-seller-profile-summary{grid-template-columns:1fr 1fr}.v223-seller-profile-summary article{padding:13px}.v223-seller-profile-summary b{font-size:13px}}
.v223-seller-box a{font-weight:800;color:var(--v223-green);font-size:12px}
.v223-seller-box a:hover{text-decoration:underline}
.search-suggestion-supplier .suggestion-type{background:#e9f0ff;color:#395e9b}
.v223-onboarding-progress{display:flex;flex-wrap:wrap;gap:6px;margin-top:15px}.v223-onboarding-progress>*{padding:7px 10px;border-radius:999px;background:#fff;border:1px solid #dfe9e4;color:#62766f;font-size:10px;font-weight:800}.v223-onboarding-progress b{background:#e9f5ed;color:#1e6b51;border-color:#cfe5d7}
