/* Compact grain rows; only explicitly uploaded item images occupy space. */
.bulk-card-nav{display:flex;flex-wrap:wrap;gap:6px;margin:0 0 16px}.bulk-card-nav a{display:inline-flex;align-items:center;min-height:40px;padding:7px 12px;border-radius:8px;text-decoration:none;color:#53695c;background:#edf2ee;font-size:14px}.bulk-card-nav a[aria-current=page]{color:#245f47;background:#dcebe2}.bulk-card-nav a:hover{background:#d7e6dc}.bulk-card-nav a:focus-visible{outline:2px solid #286a50;outline-offset:2px}.bulk-card-nav small{font-size:12px;color:#617369}
.bulk-intro{margin:10px 0 14px;color:var(--text-2,#6b7770);line-height:1.6;font-size:14px}



.bulk-grid{display:block;border:1px solid #dce5df;border-radius:12px;background:white;overflow:hidden}
.bulk-item{display:grid;grid-template-columns:minmax(160px,1fr) minmax(120px,1.4fr) 176px minmax(104px,1fr);align-items:center;gap:8px 14px;padding:8px 14px;min-height:58px;border-bottom:1px solid #e6ebe7}
.bulk-item:last-child{border-bottom:0}.bulk-item.selected{background:#f6faf7}
.bulk-item-name{display:flex;align-items:center;gap:7px;min-width:0;min-height:36px;padding:0;border:0;background:transparent;text-align:left;color:inherit;font:inherit;font-size:16px;font-weight:650;cursor:pointer}
.bulk-item-name>span:first-of-type{overflow-wrap:anywhere}.bulk-item img{width:32px;height:32px;object-fit:contain;border-radius:5px;flex-shrink:0}.bulk-details-cue{color:#84958b;font-size:14px;flex-shrink:0}.bulk-item-name[aria-expanded=true] .bulk-details-cue{transform:rotate(180deg)}
.bulk-item-name:focus-visible,.bulk-state-switch button:focus-visible{outline:2px solid #286a50;outline-offset:2px}
.bulk-price{display:flex;flex-wrap:wrap;gap:2px 10px;color:inherit;font-size:14px;font-weight:400;min-width:0}.bulk-price span{white-space:nowrap}.bulk-price .bulk-member-price{color:inherit;font-size:13px;font-weight:400}
.bulk-stepper{display:flex;align-items:center;gap:8px}.bulk-stepper button{display:grid;place-items:center;width:40px;height:40px;padding:0;border:1px solid #dce5df;border-radius:8px;background:#eff5f0;color:#286a50;font-size:23px;line-height:1;cursor:pointer;flex-shrink:0}.bulk-stepper button:disabled{opacity:.35;cursor:default}.bulk-stepper input{width:54px;min-width:0;height:40px;padding:4px;text-align:center;border:1px solid #dce5df;border-radius:7px;font:inherit;background:white;color:inherit}
.bulk-row-amount{text-align:right;font-size:14px;overflow-wrap:anywhere}.bulk-item-details{grid-column:1/-1;padding:6px 0 2px;border-top:1px dashed #dce5df;font-size:13px;color:var(--muted);line-height:1.7}.bulk-item-details p{margin:4px 0;overflow-wrap:anywhere}
@media(max-width:700px){.bulk-item{grid-template-columns:minmax(160px,1fr) minmax(0,1fr);gap:3px 8px;padding:6px 10px}.bulk-item-name{grid-column:1;grid-row:1;min-height:30px}.bulk-price{grid-column:2;grid-row:1;justify-content:flex-end;font-size:13px;column-gap:6px}.bulk-price .bulk-member-price{font-size:12px}.bulk-stepper{grid-column:1;grid-row:2;gap:6px}.bulk-stepper input{width:48px}.bulk-row-amount{grid-column:2;grid-row:2;font-size:13px}.bulk-item-details{grid-row:3}.bulk-totals{font-size:16px}.bulk-category-list{grid-template-columns:1fr}}
.bulk-summary{margin:18px 0;background:#fff;border:1px solid #dce5df;border-radius:14px;padding:18px;line-height:1.8}.bulk-pack{display:flex;gap:12px;flex-wrap:wrap;margin:10px 0}.bulk-pack label{display:flex;align-items:center;gap:6px;min-height:42px;cursor:pointer}.bulk-picks{padding:0;list-style:none}.bulk-picks li{display:flex;justify-content:space-between;gap:12px;border-bottom:1px solid #edf1ed;padding:6px 0}.bulk-totals{font-size:18px;font-weight:700}.bulk-inquiry{white-space:pre-wrap;line-height:1.7;width:100%;min-height:150px;font:inherit;border:1px solid #dce5df;padding:10px;border-radius:8px}.bulk-inquiry-dialog{max-width:560px;width:calc(100% - 32px);border:0;border-radius:14px;padding:22px;max-height:85dvh;overflow:auto}.bulk-inquiry-dialog::backdrop{background:#0006}.bulk-inquiry-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:14px}.bulk-category-list{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px}.bulk-category-list a{display:flex;gap:14px;padding:16px;background:#fff;border:1px solid #dce5df;border-radius:12px;color:inherit;text-decoration:none}.bulk-category-list img{width:90px;height:90px;object-fit:contain}.bulk-category-list small{display:block;margin-top:8px;color:var(--text-2,#6b7770)}


.bulk-live-total{margin:12px 0 18px;padding:12px 16px;background:#e7f1eb;border-radius:10px;color:#286a50;font-weight:700;line-height:1.6}.bulk-buy-total{flex:1 0 100%;font-size:14px;color:#286a50;line-height:1.5}.buy-bar-inner{flex-wrap:wrap;row-gap:6px}

/* Quiet hierarchy, with feedback that does not move the rows or controls. */
.bulk-item,.bulk-item-name,.bulk-state-switch button,.bulk-stepper button,.bulk-stepper input{transition:background-color 140ms ease,color 140ms ease,border-color 140ms ease,box-shadow 140ms ease}
.bulk-item.selected{background:#edf5f0}
.bulk-price.bulk-consult,.bulk-item:not(.selected) .bulk-row-amount,.bulk-pending-amount{color:#6b7770;font-size:13px;font-weight:400}
.bulk-row-weight,.bulk-details-cue{color:#6b7770;font-size:12px;font-weight:400}
.bulk-item-details{color:#6b7770;font-size:13px}
.bulk-stepper>span{color:#6b7770;font-size:13px}
.bulk-stepper button:focus-visible,.bulk-stepper input:focus-visible{outline:2px solid #286a50;outline-offset:2px}
.bulk-stepper button:not(:disabled):active{background:#c8dfd1;border-color:#85b599;box-shadow:inset 0 1px 2px #254f3620}
.bulk-item-name:active{color:#286a50}

@media(hover:hover) and (pointer:fine){
  .bulk-item:hover{background:#f7faf8}
  .bulk-item.selected:hover{background:#e4f0e8}
  .bulk-item-name:hover{color:#286a50}
  .bulk-stepper button:not(:disabled):hover{background:#dcebe2;border-color:#a9cbb7}
  .bulk-stepper button:not(:disabled):active{background:#c8dfd1;border-color:#85b599}


}
@media(hover:none){.bulk-item:active{background:#f7faf8}.bulk-item.selected:active{background:#e4f0e8}}
@media(prefers-reduced-motion:reduce){.bulk-item,.bulk-item-name,.bulk-state-switch button,.bulk-stepper button,.bulk-stepper input{transition:none}}

@media(max-width:700px){.bulk-card-nav{flex-wrap:nowrap;overflow-x:auto;padding:2px 2px 6px;margin-bottom:10px}.bulk-card-nav a{flex-shrink:0}}
.bulk-grain-chat{display:inline-flex;align-items:center;justify-content:center;gap:6px;min-height:36px;padding:5px 10px;border:0;border-radius:8px;background:#e8f3ed;color:#2d7257;font:inherit;cursor:pointer}
.bulk-grain-chat svg{width:18px;height:18px}
.bulk-grain-chat:hover{background:#d3e8dc}
.bulk-grain-chat:focus-visible{outline:2px solid #2d7257;outline-offset:2px}
