
:root{
  --ink:#152319;--muted:#617067;--line:#dfe7e1;--soft:#f5f8f5;--green:#23633b;
  --green2:#347c4e;--lime:#ddecce;--white:#fff;--danger:#9b3028;--shadow:0 14px 45px rgba(20,50,29,.12);
}
*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{margin:0;font-family:Inter,ui-sans-serif,system-ui,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:var(--ink);background:#fff}
button,input,select,textarea{font:inherit}
button{cursor:pointer}
.shell{width:min(1440px,calc(100% - 36px));margin:auto}
.utility{background:#183c27;color:#edf7ef;font-size:12px}
.utility-inner{display:flex;gap:28px;justify-content:flex-end;padding:8px 0}
.site-header{position:sticky;top:0;z-index:20;background:rgba(255,255,255,.94);backdrop-filter:blur(14px);border-bottom:1px solid var(--line)}
.header-inner{height:76px;display:flex;align-items:center;gap:30px}
.brand{display:flex;align-items:center;gap:11px;text-decoration:none;color:var(--ink);min-width:max-content}
.brand-mark{display:grid;place-items:center;width:42px;height:42px;border-radius:13px;background:linear-gradient(145deg,var(--green),var(--green2));color:#fff;font-size:24px;font-weight:800}
.brand strong,.brand small{display:block}.brand small{color:var(--muted);font-size:11px;margin-top:1px}
nav{display:flex;gap:5px;flex:1}
.nav-btn,footer button{border:0;background:transparent;color:var(--ink);padding:9px 11px;border-radius:9px}
.nav-btn:hover,footer button:hover{background:var(--soft)}
.header-actions{display:flex;gap:8px}
.icon-btn,.cart-button,.secondary,.primary{border-radius:11px;border:1px solid var(--line);padding:11px 15px;background:#fff;color:var(--ink);font-weight:700}
.cart-button,.primary{background:var(--green);border-color:var(--green);color:#fff}
.primary:hover,.cart-button:hover{background:#194f2d}
.secondary:hover,.icon-btn:hover{background:var(--soft)}
.full{width:100%}
.hero{background:linear-gradient(135deg,#eef6ed 0%,#fafcf9 50%,#edf4ef 100%);border-bottom:1px solid var(--line)}
.hero-grid{display:grid;grid-template-columns:minmax(0,1.4fr) minmax(340px,.7fr);gap:55px;align-items:center;padding:72px 0}
.eyebrow{text-transform:uppercase;letter-spacing:.14em;font-size:11px;font-weight:800;color:var(--green2);margin:0 0 9px}
h1{font-size:clamp(38px,5.5vw,72px);line-height:.98;letter-spacing:-.045em;margin:0;max-width:900px}
.hero-copy{font-size:18px;line-height:1.65;color:#4d5e53;max-width:800px;margin:24px 0}
.hero-search{display:flex;gap:8px;max-width:800px;background:#fff;padding:8px;border-radius:16px;box-shadow:0 8px 32px rgba(32,70,44,.12)}
.hero-search input{flex:1;border:0;outline:0;padding:13px;font-size:16px;min-width:0}
.hero-search button{border:0;border-radius:11px;padding:13px 20px;background:var(--green);color:#fff;font-weight:800}
.hero-note{font-size:13px;color:var(--muted);margin-top:12px}
.hero-panel{background:#fff;border:1px solid #dce7dd;border-radius:22px;padding:26px;box-shadow:var(--shadow)}
.hero-panel h2{margin:0 0 20px;font-size:22px}
.feature{display:flex;gap:13px;margin:18px 0}.feature>span{display:grid;place-items:center;width:29px;height:29px;border-radius:50%;background:var(--lime);color:var(--green);font-weight:900;flex:0 0 auto}
.feature strong,.feature small{display:block}.feature small{margin-top:4px;color:var(--muted);line-height:1.45}
.catalog-section{padding:60px 0 85px}
.section-head{display:flex;align-items:end;justify-content:space-between;margin-bottom:24px}
.section-head h2{font-size:34px;margin:0;letter-spacing:-.02em}
.catalog-layout{display:grid;grid-template-columns:260px minmax(0,1fr);gap:28px}
.filters{position:sticky;top:102px;align-self:start;border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff}
.filters label,.form-grid label{display:block;margin-bottom:16px}
.filters label>span,.form-grid label>span{display:block;font-size:12px;font-weight:800;margin-bottom:7px;color:#394940}
input,select,textarea{width:100%;border:1px solid #cad7cd;border-radius:10px;padding:11px 12px;background:#fff;color:var(--ink);outline:none}
input:focus,select:focus,textarea:focus{border-color:var(--green2);box-shadow:0 0 0 3px rgba(52,124,78,.12)}
.filter-help{border-radius:13px;background:var(--soft);padding:15px;margin-top:8px}.filter-help p{font-size:12px;color:var(--muted);line-height:1.5;margin-bottom:0}
.results-bar{display:flex;align-items:center;justify-content:space-between;margin:0 0 15px;font-size:13px;color:var(--muted)}
.preview-badge{padding:5px 9px;background:#fff4cc;color:#735809;border-radius:999px;font-weight:700}
.product-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px}
.product-card{border:1px solid var(--line);border-radius:17px;padding:18px;background:#fff;display:flex;flex-direction:column;min-height:280px;transition:.18s ease}
.product-card:hover{transform:translateY(-2px);box-shadow:0 10px 28px rgba(24,60,39,.09);border-color:#c9d9cc}
.card-top{display:flex;justify-content:space-between;gap:10px}
.brand-pill{font-size:11px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;color:var(--green);background:#edf5ee;border-radius:999px;padding:5px 8px;max-width:75%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.heart{border:0;background:transparent;font-size:20px;padding:0;color:#68806f}.heart.active{color:#a64242}
.product-code{font-size:13px;font-weight:800;margin:18px 0 7px;word-break:break-word}
.product-name{font-size:15px;line-height:1.45;margin:0;color:#304038;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;min-height:65px}
.pack{font-size:12px;color:var(--muted);margin-top:12px}
.price-row{margin-top:auto;padding-top:17px;display:flex;align-items:end;justify-content:space-between;gap:8px}
.price{font-size:22px;font-weight:800}.old-price{font-size:12px;color:#859187;text-decoration:line-through;display:block}.quote-price{font-size:16px;color:#6d5a12;font-weight:800}
.card-actions{display:flex;gap:7px;margin-top:13px}.card-actions button{flex:1}
.card-actions .secondary{padding:9px}.card-actions .primary{padding:9px}
.pager{display:flex;justify-content:center;align-items:center;gap:15px;margin-top:26px}
.empty-state{text-align:center;padding:70px;border:1px dashed #cdd8cf;border-radius:15px;background:var(--soft)}
.hidden{display:none!important}
footer{background:#152319;color:#dce8df;padding:55px 0 25px}
.footer-grid{display:grid;grid-template-columns:1.4fr .7fr .7fr 1fr;gap:40px}
.footer-brand{color:#fff}.footer-brand .brand-mark{background:#ddecce;color:#174126}
footer h3{color:#fff;margin:0 0 12px;font-size:14px}footer p{color:#acbdb1;font-size:13px;line-height:1.6}footer button{display:block;color:#dce8df;padding-left:0}
.footer-bottom{border-top:1px solid #33473a;margin-top:35px;padding-top:20px;display:flex;justify-content:space-between;color:#8fa294;font-size:12px}
.drawer-backdrop{position:fixed;inset:0;background:rgba(9,20,13,.48);z-index:50}
.cart-drawer{position:fixed;z-index:60;top:0;right:-520px;width:min(500px,94vw);height:100vh;background:#fff;box-shadow:-20px 0 55px rgba(0,0,0,.18);transition:.25s ease;display:flex;flex-direction:column}
.cart-drawer.open{right:0}
.drawer-head{display:flex;justify-content:space-between;align-items:center;padding:22px;border-bottom:1px solid var(--line)}.drawer-head h2{margin:0}
.close-btn{width:38px;height:38px;border:0;border-radius:10px;background:var(--soft);font-size:25px}
.cart-lines{padding:14px 20px;overflow:auto;flex:1}
.cart-line{display:grid;grid-template-columns:1fr auto;gap:12px;padding:14px 0;border-bottom:1px solid var(--line)}
.cart-line h4{margin:0 0 5px;font-size:14px}.cart-line p{margin:0;color:var(--muted);font-size:12px;line-height:1.4}
.qty{display:flex;align-items:center;gap:4px;margin-top:10px}.qty button{width:28px;height:28px;border:1px solid var(--line);background:#fff;border-radius:8px}.qty span{width:34px;text-align:center}
.remove{border:0;background:transparent;color:var(--danger);font-size:12px;padding:5px 0}
.line-price{text-align:right;font-weight:800;font-size:13px}
.cart-summary{border-top:1px solid var(--line);padding:20px}.cart-summary>div{display:flex;justify-content:space-between;margin-bottom:8px}.cart-summary small{display:block;color:var(--muted);line-height:1.45;margin-bottom:14px}.cart-summary button{margin-top:8px}
.warning{background:#fff5d5;color:#6d5611;border-radius:9px;padding:9px;font-size:12px}
.modal{width:min(920px,94vw);max-height:92vh;border:0;border-radius:20px;padding:28px;box-shadow:0 30px 90px rgba(0,0,0,.3)}
.modal::backdrop{background:rgba(8,18,11,.58);backdrop-filter:blur(2px)}
.dialog-close{position:absolute;right:18px;top:18px}.modal-title{padding-right:45px}.modal-title h2{margin:0 0 9px;font-size:30px}.modal-title>p:last-child{color:var(--muted);line-height:1.5}
.product-detail{display:grid;grid-template-columns:160px 1fr;gap:28px}.product-placeholder{height:160px;border-radius:22px;background:linear-gradient(135deg,#e7f1e8,#f8faf8);display:grid;place-items:center;font-size:48px;color:var(--green);font-weight:900}
.detail-code{font-size:13px;font-weight:800;color:var(--green);margin-top:7px}.detail-description{font-size:19px;line-height:1.5}.detail-meta{display:grid;grid-template-columns:repeat(2,1fr);gap:10px;margin:18px 0}.meta-box{padding:12px;border:1px solid var(--line);border-radius:11px}.meta-box small{display:block;color:var(--muted);margin-bottom:4px}
.form-section{border-top:1px solid var(--line);padding-top:20px;margin-top:22px}.form-section h3{font-size:16px;margin:0 0 17px}.form-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:0 14px}.span-2{grid-column:1/-1}
.docs{border:1px solid var(--line);border-radius:12px;padding:13px;margin:0 0 16px}.docs legend{font-size:12px;font-weight:800}.docs label{display:inline-flex;align-items:center;margin:4px 15px 4px 0;font-size:12px}.docs input,.consent input,.payment-option input{width:auto}
.payment-options{display:grid;grid-template-columns:repeat(3,1fr);gap:10px}.payment-option{display:flex;gap:10px;border:1px solid var(--line);border-radius:12px;padding:13px}.payment-option strong,.payment-option small{display:block}.payment-option small{color:var(--muted);font-size:11px;line-height:1.4;margin-top:4px}
.consent{display:flex;gap:9px;margin-top:15px;font-size:12px;line-height:1.5}
.checkout-review{position:sticky;bottom:-28px;background:#fff;border-top:1px solid var(--line);margin:25px -28px -28px;padding:17px 28px;display:flex;justify-content:space-between;align-items:center;gap:15px}.checkout-review strong{display:block;font-size:22px}.checkout-review small{display:block;color:var(--muted)}
.order-result{background:#edf7ee;border:1px solid #bfd7c3;padding:18px;border-radius:13px;margin-top:20px}
.brands-list{display:grid;grid-template-columns:repeat(3,1fr);gap:9px;margin-top:20px;max-height:60vh;overflow:auto}.brand-row{border:1px solid var(--line);border-radius:10px;padding:10px}.brand-row button{border:0;background:transparent;font-weight:800;text-align:left}.brand-row small{display:block;color:var(--muted);margin-top:4px}
.legal-copy{color:#415249;line-height:1.7}.legal-copy p{margin:15px 0}
.toast{position:fixed;z-index:100;bottom:20px;left:50%;transform:translateX(-50%);background:#14281b;color:#fff;padding:11px 16px;border-radius:11px;box-shadow:var(--shadow);font-size:13px}
@media(max-width:1050px){.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-grid{grid-template-columns:1fr}.hero-panel{max-width:700px}.footer-grid{grid-template-columns:repeat(2,1fr)}}
@media(max-width:760px){.shell{width:min(100% - 24px,1440px)}.utility-inner{justify-content:center;gap:12px;flex-wrap:wrap}.header-inner{height:66px}.header-inner nav{display:none}.brand small{display:none}.hero-grid{padding:45px 0;gap:28px}.hero-search{display:block}.hero-search button{width:100%;margin-top:7px}.catalog-layout{grid-template-columns:1fr}.filters{position:static}.product-grid{grid-template-columns:1fr}.footer-grid{grid-template-columns:1fr}.footer-bottom{display:block}.footer-bottom span{display:block;margin-top:7px}.form-grid{grid-template-columns:1fr}.span-2{grid-column:auto}.payment-options{grid-template-columns:1fr}.checkout-review{display:block}.checkout-review button{width:100%;margin-top:12px}.product-detail{grid-template-columns:1fr}.product-placeholder{height:110px}.brands-list{grid-template-columns:1fr}.modal{padding:20px}.checkout-review{margin-left:-20px;margin-right:-20px;margin-bottom:-20px;padding:16px 20px}}
