.check-line{display:flex;align-items:center;gap:9px;margin:0;font-size:11px}.check-line input{width:16px;height:16px;margin:0;accent-color:var(--gold)}.sheet-conditions{border:1px solid #454132;background:#25241e;border-radius:5px;margin-bottom:20px}.sheet-conditions summary{padding:13px 18px;cursor:pointer;font-size:11px;color:#d7c8a6}.sheet-conditions summary span{float:right;color:#a79b7f}.sheet-conditions>div{padding:3px 18px 15px}.sheet-conditions p{font-size:11px;margin:9px 0}.order-notes{margin:25px 0 10px}.order-notes textarea{min-height:65px;max-height:140px;font-size:12px}.sheet-summary{position:sticky;bottom:12px;z-index:5;display:flex;justify-content:space-between;align-items:center;gap:20px;background:#303428f5;backdrop-filter:blur(8px);border:1px solid #6c654e;border-radius:6px;padding:17px 22px;box-shadow:0 10px 25px #0006;margin-top:20px}.sheet-summary strong{font-size:14px;font-weight:500}.sheet-summary span{display:block;font-size:11px;color:#c6cbbd;margin-top:5px}.order-warning{border-left:2px solid #c5a775;background:#302a20;padding:12px 15px;font-size:11px;line-height:1.7;margin:14px 0;color:#e1cba0}.review-compact .cart-line{padding:12px 0}.review-compact .quantity{flex-shrink:0}.review-compact .quantity span{font-size:11px;min-width:55px}@media(max-width:760px){.sheet-conditions summary span{float:none;display:block;margin-top:5px}.sheet-summary{bottom:8px;padding:13px 12px;gap:12px}.sheet-summary strong{font-size:12px}.sheet-summary span{font-size:9px;line-height:1.5}.sheet-summary .btn{font-size:11px;padding:12px;white-space:nowrap}.review-compact .cart-line{align-items:start}.review-compact .quantity span{font-size:10px}.review-compact .quantity button{min-width:27px;padding:7px}}
body:has(.sheet-summary) main{padding-bottom:120px}.sheet-summary{position:fixed;bottom:18px;left:284px;right:42px;max-width:1516px;margin:0 auto}.sheet-conditions>summary:focus-visible{outline:2px solid var(--gold);outline-offset:-3px}@media(max-width:1100px){.sheet-summary{left:233px;right:28px}}@media(max-width:760px){.sheet-summary{left:18px;right:18px;bottom:8px}}

.line-price{display:block;color:var(--gold);font-size:12px;margin-top:5px;line-height:1.5}

.sheet-minimums>div{padding:14px 18px}
.sheet-minimums strong,.sheet-freight strong{color:#e1cba0;font-size:12px}
.sheet-minimums p{margin:6px 0 0}
.order-warning ul{margin:5px 0 0;padding-left:18px}
.order-warning button{margin-top:9px}
.sheet-freight ol{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(100%,245px),1fr));gap:8px;margin:12px 0;padding:0;list-style:none;counter-reset:freight}
.sheet-freight li{padding:10px;border:1px solid #454132;border-radius:4px;counter-increment:freight}
.sheet-freight li strong::before{content:counter(freight) ". "}
.sheet-freight li span{display:block;margin-top:4px;color:#c4c6b9;font-size:11px;line-height:1.6}
.sheet-freight>summary span{float:none;margin-left:12px}
@media(max-width:760px){.sheet-freight>summary span{margin-left:0}}

.sheet-toolbar {
  display: flex;
  align-items: end;
  flex-wrap: wrap;
  gap: 12px 18px;
  margin: 20px 0 12px;
}

.sheet-toolbar > input { flex: 1 1 200px; width: auto; min-width: 0; margin: 0; }
.sheet-type { flex: 0 1 180px; margin: 0; }
.sheet-type select { margin-bottom: 0; }
.sheet-toolbar .check-line { min-height: 40px; }

.order-table {
  width: 100%;
  table-layout: fixed;
  white-space: normal;
  border-collapse: collapse;
}

.order-table thead th {
  padding: 9px 10px;
  border-bottom: 1px solid var(--line);
  color: var(--gold);
  text-align: left;
}

.order-table thead th:nth-child(2) { width: 22%; }
.order-table thead th:last-child { width: 156px; }
.order-table .order-row > * {
  border-bottom: 1px solid var(--line);
  padding: 11px 10px;
  vertical-align: middle;
  overflow-wrap: anywhere;
  background: transparent;
}
.order-table .order-row.selected { background: #242a1d; }
.order-table .order-row.invalid { box-shadow: inset 2px 0 #d3976e; }
.order-table .order-name { text-align: left; font-weight: 400; letter-spacing: normal; text-transform: none; }
.order-name button { color: var(--text); font-size: 13px; text-align: left; overflow-wrap: anywhere; }
.order-table small, .order-rule { display: block; margin-top: 4px; font-size: 11px; color: var(--muted); }
.order-table .order-rule, .order-price strong { color: var(--gold); }
.order-table .order-error, .sheet-summary .order-error { color: #e8a67d; }
.sheet-summary .order-error { display: block; font-size: 11px; }
.order-quantity .quantity { width: 132px; max-width: 100%; background: #151913; }
.order-quantity input {
  flex: 1;
  min-width: 0;
  padding: 0;
  border: 0;
  border-radius: 0;
  text-align: center;
  background: transparent;
  height: 36px;
  appearance: textfield;
}
.order-quantity input::-webkit-inner-spin-button { appearance: none; }
.order-quantity .quantity button { flex: 0 0 36px; min-width: 0; height: 36px; padding: 0; }
.pending-format { color: var(--muted); font-size: 11px; }

@media (max-width: 760px) {
  .sheet-toolbar { gap: 9px 12px; }
  .sheet-toolbar > input { flex-basis: 100%; }
  .sheet-type { flex: 1 1 128px; }
  .order-table thead th, .order-table .order-row > * { padding-inline: 5px; }
  .order-table thead th:nth-child(2) { width: 72px; }
  .order-table thead th:last-child { width: 110px; }
  .order-quantity .quantity button { flex-basis: 30px; height: 42px; }
  .order-quantity input { height: 42px; }
  .order-quantity .btn { padding-inline: 8px; }
}

/* Visible pallet progress on both the order sheet and review dialog. */
.sheet-conditions progress{display:block;width:100%;height:16px;margin:10px 0;appearance:none;border:0;border-radius:8px;overflow:hidden;background:#e2e8e4;accent-color:#16856f}
.sheet-conditions progress::-webkit-progress-bar{background:#e2e8e4;border-radius:8px}
.sheet-conditions progress::-webkit-progress-value{background:#16856f;border-radius:8px}
.sheet-conditions progress::-moz-progress-bar{background:#16856f;border-radius:8px}

.freight-qualified{color:#087047;background:#e7f5ec;border:1px solid #93cda8;border-radius:8px;padding:12px 16px;font-weight:700}.freight-qualified span{font-size:1.3em;margin-right:8px}

.freight-charge{color:#a82121;background:#fff0f0;border:1px solid #e6a3a3;border-radius:8px;padding:12px 16px;font-weight:700}.freight-charge span{margin-right:8px}
.order-menu-group summary{display:flex;align-items:center;gap:12px;padding:12px 16px;cursor:pointer;color:inherit}.order-menu-group summary svg{width:20px;height:20px}.order-menu-group summary:after{content:'⌄';margin-left:auto}.order-menu-group[open] summary:after{content:'⌃'}.order-menu-group>a{margin-left:18px!important;font-size:.92em}
