@import url('https://fonts.googleapis.com/css2?family=DM+Sans:wght@400;500;600;700;800&display=swap');

:root { --green:#11643f; --green-dark:#0b3828; --red:#ce3934; --ink:#17231c; --muted:#647169; --line:#dde4dc; --paper:#f4f6f3; }
* { box-sizing:border-box; }
html { scroll-behavior:smooth; }
body { margin:0; background:var(--paper); color:var(--ink); font-family:'DM Sans',Arial,sans-serif; font-size:14px; }
button,input,textarea { font:inherit; }
button { cursor:pointer; }
a { color:inherit; }
.skip-link { position:fixed; top:-60px; left:12px; padding:10px 14px; background:#fff; z-index:100; }
.skip-link:focus { top:8px; }
.trade-header { position:sticky; top:0; z-index:30; background:rgba(255,255,255,.96); border-bottom:1px solid var(--line); backdrop-filter:blur(12px); }
.header-inner { max-width:1450px; min-height:70px; padding:0 28px; margin:auto; display:flex; align-items:center; justify-content:space-between; gap:24px; }
.brand { display:flex; align-items:center; gap:11px; text-decoration:none; white-space:nowrap; }
.brand-logo { display:block; width:135px; height:auto; }
.brand-partner-logo { display:block; width:38px; height:38px; object-fit:contain; }
.header-right { display:flex; align-items:center; gap:24px; }
.header-help { color:var(--muted); font-size:12px; }
.header-help a { color:var(--green); font-weight:700; text-decoration:none; }
.header-order { display:inline-flex; align-items:center; gap:12px; padding:11px 15px; background:var(--green); color:white; font-size:12px; font-weight:800; text-decoration:none; }
.header-order:hover,.submit-button:hover { background:var(--green-dark); }
.trade-layout { max-width:1450px; margin:auto; padding:28px; display:grid; grid-template-columns:minmax(0,1fr) minmax(360px,410px); align-items:start; gap:24px; }
.catalog-column,.order-column { min-width:0; }
.catalog-intro { display:flex; align-items:end; justify-content:space-between; gap:18px; margin-bottom:20px; }
.eyebrow { margin:0 0 6px; color:var(--green); font-size:10px; font-weight:800; letter-spacing:.14em; text-transform:uppercase; }
h1 { margin:0; font-size:clamp(27px,3vw,38px); line-height:1.1; letter-spacing:-.045em; }
.intro-copy { margin:8px 0 0; color:var(--muted); line-height:1.5; }
.catalog-count { flex:none; padding:7px 10px; background:#e7eee7; color:var(--green-dark); font-size:11px; font-weight:700; }
.offer-strip { display:grid; grid-template-columns:1fr 1fr; gap:10px; margin-bottom:23px; }
.offer-strip > div { display:flex; align-items:center; gap:8px; min-height:46px; padding:10px 13px; border:1px solid #c7d9ca; background:#edf5ee; font-size:11px; }
.offer-strip strong { color:var(--green-dark); }
.offer-strip span:last-child { color:var(--muted); }
.offer-icon { width:19px; height:19px; flex:none; display:grid; place-items:center; border-radius:50%; color:#fff; background:var(--green); font-weight:800; }
.catalog-heading { display:flex; align-items:baseline; justify-content:space-between; margin-bottom:10px; }
.catalog-heading h2 { margin:0; font-size:17px; letter-spacing:-.03em; }
.catalog-heading span { color:var(--muted); font-size:11px; }
#products,#order { scroll-margin-top:82px; }
.product-grid { display:grid; gap:9px; }
.loading-state,.error-state { padding:25px; background:#fff; color:var(--muted); }
.product-card { display:grid; grid-template-columns:130px minmax(0,1fr); min-height:142px; border:1px solid var(--line); background:white; transition:border-color .2s,box-shadow .2s; }
.product-card:hover,.product-card.is-selected { border-color:#8ab59b; box-shadow:0 3px 12px rgba(22,66,36,.07); }
.product-image { position:relative; min-width:0; min-height:140px; padding:8px; display:grid; place-items:center; background:#f3f0e9; overflow:hidden; }
.product-card[data-accent="green"] .product-image { background:#e9f1e6; }
.product-card[data-accent="orange"] .product-image { background:#f8eee1; }
.product-card[data-accent="blue"] .product-image { background:#e8f1f4; }
.product-card[data-accent="silver"] .product-image { background:#eff0ef; }
.product-card[data-accent="black"] .product-image { background:#e8e8e7; }
.product-image img { display:block; max-width:100%; width:100%; height:125px; object-fit:contain; mix-blend-mode:multiply; }
.case-badge { position:absolute; top:7px; left:7px; padding:3px 5px; background:white; color:var(--muted); font-size:8px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.stock-badge { position:absolute; z-index:2; left:50%; top:50%; transform:translate(-50%,-50%); padding:7px 9px; background:var(--red); color:#fff; font-size:10px; font-weight:800; white-space:nowrap; text-transform:uppercase; }
.is-out-of-stock .product-image img { filter:grayscale(1); opacity:.45; }
.product-info { min-width:0; padding:16px 18px 12px; display:grid; grid-template-rows:auto auto 1fr; }
.product-kicker { color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.08em; }
.product-title-row { display:flex; justify-content:space-between; align-items:baseline; gap:12px; }
.product-title-row h3 { margin:2px 0 0; font-size:16px; letter-spacing:-.025em; }
.product-price { color:var(--green); font-size:16px; font-weight:800; white-space:nowrap; }
.product-price small { margin-left:4px; color:var(--muted); font-size:10px; font-weight:500; }
.product-sku { margin:3px 0 0; color:#879189; font-size:9px; overflow-wrap:anywhere; }
.quantity-row { display:flex; align-items:end; justify-content:space-between; gap:10px; margin-top:7px; }
.quantity-row > span { color:var(--muted); font-size:10px; font-weight:700; text-transform:uppercase; letter-spacing:.05em; }
.quantity-controls,.stepper { display:flex; align-items:center; }
.quantity-controls { gap:7px; }
.stepper { border:1px solid var(--line); }
.stepper button { width:30px; height:30px; border:0; background:#fff; font-size:17px; line-height:1; }
.stepper button:hover,.summary-stepper button:hover { background:#e9f2ea; }
.stepper input { width:38px; height:30px; padding:0; border:0; border-inline:1px solid var(--line); background:white; text-align:center; font-size:12px; font-weight:800; appearance:textfield; }
.stepper input::-webkit-inner-spin-button { appearance:none; }
.quick-add { height:32px; padding:0 9px; border:1px solid var(--green); background:#eaf4ec; color:var(--green); font-size:11px; font-weight:800; }
.quick-add:hover { background:#d5ead9; }
.quantity-controls.is-disabled { opacity:.4; }
.quantity-controls :disabled { cursor:not-allowed; }
.is-out-of-stock .quantity-row > span::after { content:" · unavailable"; color:var(--red); }
.order-column { position:sticky; top:90px; max-height:calc(100vh - 105px); overflow:auto; scrollbar-width:thin; }
.order-panel { border:1px solid var(--line); background:white; box-shadow:0 4px 22px rgba(29,55,35,.05); }
.order-summary { padding:19px 20px 17px; background:#f1f5ef; border-bottom:1px solid var(--line); }
.panel-heading { display:flex; justify-content:space-between; align-items:center; gap:12px; }
.panel-heading h2,#order-form h2 { margin:0; font-size:16px; letter-spacing:-.03em; }
.panel-heading > span { padding:5px 7px; background:var(--green); color:#fff; font-size:10px; font-weight:700; white-space:nowrap; text-transform:uppercase; }
.summary-items { margin-top:13px; }
.empty-summary { padding:12px 0; margin:0; color:var(--muted); font-size:12px; }
.summary-product { padding:11px 0; border-top:1px solid var(--line); }
.summary-product:first-child { border-top:0; }
.summary-line { display:grid; grid-template-columns:minmax(0,1fr) auto auto; gap:8px; align-items:start; font-size:11px; }
.summary-line strong:first-child { overflow-wrap:anywhere; }
.summary-line span { color:var(--muted); white-space:nowrap; }
.summary-line strong:last-child { text-align:right; white-space:nowrap; }
.offer-earned,.offer-progress { margin-top:8px; padding:7px 8px; font-size:10px; }
.offer-earned { display:flex; justify-content:space-between; gap:8px; color:var(--green-dark); background:#dceede; }
.offer-earned span { font-weight:800; text-transform:uppercase; }
.offer-progress { display:flex; align-items:center; justify-content:space-between; gap:8px; background:#f7ecd8; color:#705637; }
.offer-progress button { flex:none; padding:5px 7px; border:0; background:var(--green); color:#fff; font-size:10px; font-weight:800; }
.summary-adjust { display:flex; align-items:center; justify-content:space-between; margin-top:8px; }
.summary-adjust > span { color:var(--muted); font-size:9px; font-weight:700; text-transform:uppercase; }
.summary-stepper { display:flex; align-items:center; border:1px solid var(--line); background:#fff; }
.summary-stepper button { width:26px; height:25px; border:0; background:#fff; font-size:15px; }
.summary-stepper strong { min-width:26px; text-align:center; font-size:11px; }
.summary-total { display:flex; align-items:start; justify-content:space-between; gap:10px; padding-top:13px; border-top:1px solid #afbdaf; }
.summary-total > span { font-size:11px; font-weight:700; }
.summary-total small { display:block; margin-top:3px; color:var(--muted); font-size:9px; font-weight:400; }
.summary-total > strong { color:var(--green); font-size:19px; white-space:nowrap; }
#order-form { padding:18px 20px 20px; }
.form-grid { display:grid; grid-template-columns:1fr 1fr; gap:11px; margin-top:15px; }
.form-grid label { min-width:0; display:grid; gap:5px; }
.form-grid label:nth-child(5) { grid-column:1 / -1; }
.form-grid label span { color:#4d5a50; font-size:10px; font-weight:700; }
.form-grid input,.form-grid textarea { width:100%; min-width:0; padding:9px 10px; border:1px solid #cdd7cd; border-radius:3px; outline:none; background:#fff; color:var(--ink); font-size:12px; }
.form-grid textarea { resize:vertical; }
.form-grid input:focus,.form-grid textarea:focus { border-color:var(--green); box-shadow:0 0 0 2px #deecdf; }
[aria-invalid="true"] { border-color:var(--red)!important; }
.bot-field { position:absolute; left:-9999px; }
.consent { display:flex; align-items:start; gap:7px; margin-top:12px; color:var(--muted); font-size:10px; line-height:1.4; }
.consent input { flex:none; margin:1px 0 0; accent-color:var(--green); }
.form-status { min-height:13px; margin:8px 0 0; color:var(--red); font-size:11px; }
.form-status.success { color:var(--green); }
.submit-button { width:100%; margin-top:6px; padding:12px 14px; display:flex; justify-content:space-between; border:0; background:var(--green); color:#fff; font-size:11px; font-weight:800; text-transform:uppercase; letter-spacing:.05em; }
.submit-button:disabled { opacity:.6; cursor:wait; }
.mobile-order-bar { display:none; }
.trade-footer { max-width:1450px; margin:0 auto; padding:20px 28px 100px; display:flex; align-items:center; gap:16px; border-top:1px solid var(--line); color:var(--muted); font-size:11px; }
.trade-footer img { width:60px; height:60px; object-fit:contain; }
.trade-footer .trade-footer-palestine { width:130px; height:auto; padding:5px; background:#fff; }
.trade-footer a { margin-left:auto; color:var(--green); font-weight:700; text-decoration:none; }

@media(max-width:1060px) {
  .trade-layout { grid-template-columns:minmax(0,1fr) 350px; gap:16px; padding:20px; }
  .header-inner { padding-inline:20px; }
  .product-card { grid-template-columns:110px minmax(0,1fr); }
  .product-info { padding:12px; }
}
@media(max-width:800px) {
  .trade-layout { grid-template-columns:1fr; max-width:650px; padding:18px 16px 90px; }
  .order-column { position:static; max-height:none; overflow:visible; }
  .header-help { display:none; }
  .mobile-order-bar { position:fixed; z-index:40; left:12px; right:12px; bottom:12px; display:flex; align-items:center; justify-content:space-between; gap:12px; padding:13px 15px; background:var(--green); box-shadow:0 8px 24px rgba(0,0,0,.2); color:#fff; text-decoration:none; font-size:11px; font-weight:700; }
  .mobile-order-bar strong { margin-left:auto; font-size:12px; }
}
@media(max-width:520px) {
  .header-inner { min-height:62px; padding-inline:15px; }
  .header-order { padding:9px; font-size:10px; }
  .brand-logo { width:100px; }
  .brand-partner-logo { width:28px; height:28px; }
  .trade-footer { padding:18px 16px 100px; flex-wrap:wrap; }
  .catalog-intro { display:block; }
  .catalog-count { display:inline-block; margin-top:10px; }
  .offer-strip { grid-template-columns:1fr; gap:6px; margin-bottom:18px; }
  .offer-strip > div { min-height:36px; padding:7px 9px; }
  .product-card { grid-template-columns:92px minmax(0,1fr); min-height:132px; }
  .product-image { min-height:130px; }
  .product-image img { height:112px; }
  .case-badge { font-size:7px; }
  .product-title-row h3 { font-size:13px; }
  .product-price { font-size:13px; }
  .product-price small { display:block; margin:0; font-size:8px; text-align:right; }
  .product-sku { font-size:8px; }
  .quantity-row > span { display:none; }
  .quantity-row { justify-content:end; }
  .stepper button { width:27px; height:28px; }
  .stepper input { width:30px; height:28px; }
  .quick-add { height:30px; padding:0 7px; }
  .form-grid { grid-template-columns:1fr; }
  .form-grid label:nth-child(5) { grid-column:auto; }
}
@media(prefers-reduced-motion:reduce) { html { scroll-behavior:auto; } }
