/* Single order page, 2026-11-11. Plain CSS color names only. */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip-path:inset(50%);white-space:nowrap;border:0}
.op-body{background:floralwhite}
.op .wrap{max-width:1160px}
.op-sec{padding:30px 0 34px;border-top:1px solid gainsboro;scroll-margin-top:12px}
.op-items{padding-top:26px;border-top:0}
.op h2{font-size:1.7rem;margin:0 0 14px}
.op-head{display:flex;flex-wrap:wrap;align-items:center;gap:10px 22px;margin-bottom:6px}
.op-head h2{margin:0}

/* totals line under the tables */
.op-totals{display:flex;flex-wrap:wrap;justify-content:space-between;gap:10px 26px;border-top:2px solid teal;margin-top:8px;padding:16px 4px 0;font-size:21px;font-weight:700;color:darkslategray}
.op-totals output{font-variant-numeric:tabular-nums}
.op-totals .op-total{color:teal}
.pack-table tr.has td,.pack-table tr.has th{background:honeydew;font-weight:700;color:black}
.pack-table tr.has>*{border-top:2px solid teal !important;border-bottom:2px solid teal !important}
.pack-table tr.has>:first-child{border-left:2px solid teal !important}
.pack-table tr.has>:last-child{border-right:2px solid teal !important}
.pack-table tr.has input{font-weight:700;border-color:teal}

/* retail table: product, price, qty */
.op-retail-group .pack-table td:nth-child(2){white-space:nowrap;font-weight:700;color:black}

/* address and form fields */
.op-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:14px 22px;max-width:900px}
.op .f{display:flex;flex-direction:column;gap:5px;min-width:0}
.op .f-wide{grid-column:1/-1}
.op .f-phone{display:grid;grid-template-columns:minmax(0,1fr) 168px;gap:12px 16px;grid-column:1/-1}
.op .f-phone>div{display:flex;flex-direction:column;gap:5px;min-width:0}
.op label{font-size:17px;font-weight:600;color:black}
.op label small{font-weight:400;color:dimgray;font-size:15px}
.op input[type=text],.op input[type=tel],.op input[type=email],.op textarea,.op select{width:100%;min-height:48px;padding:10px 12px;border:1px solid gray;border-radius:6px;background:white;color:black;font:18px Arial,sans-serif}
.op input::placeholder{color:darkgray}
.op input:focus-visible,.op select:focus-visible{outline:3px solid var(--bo-green);outline-offset:2px}
.op input.op-form-bad,.op select.op-form-bad{border:2px solid var(--bo-red);background:mistyrose}
.op .f-check label,.op-same label{display:flex;align-items:center;gap:12px;font-weight:600;min-height:44px;cursor:pointer}
.op .f-check input,.op-same input{width:24px;height:24px;accent-color:var(--bo-green);flex:none;margin:0}
.op-extra{margin-top:16px}
.op-same{margin:0 0 10px}
.op-btns{display:flex;flex-wrap:wrap;gap:10px;margin:4px 0 16px}
.op-mini{font:600 16px Arial,sans-serif;min-height:44px;padding:8px 16px;border:2px solid black;border-radius:24px;background:transparent;color:black;cursor:pointer}
.op-mini:hover{background:whitesmoke}
.op-mini:focus-visible{outline:3px solid var(--bo-green);outline-offset:2px}
body:not(.op-ws) .ws-only{display:none}

/* freight */
.op-freight-grid{display:grid;grid-template-columns:minmax(240px,1fr) minmax(0,1.6fr);gap:22px 34px}
.op fieldset{border:0;padding:0;margin:0;min-width:0}
.op legend{font-weight:700;color:black;font-size:18px;padding:0;margin-bottom:8px}
.op-terms label{display:flex;align-items:center;gap:12px;min-height:46px;font-weight:600;cursor:pointer;line-height:1.25}
.op-terms input,.op-svc input{width:24px;height:24px;accent-color:var(--bo-green);margin:0;flex:none}
.op-acct{display:grid;gap:12px;margin-top:12px;padding:14px;border:1px solid silver;border-radius:8px;background:white}
.op-svc{display:grid;grid-template-columns:24px 120px minmax(0,1fr);align-items:center;gap:14px;min-height:52px;padding:8px 14px;border:1px solid silver;border-radius:8px;background:white;margin-bottom:8px;cursor:pointer}
.op-svc.on{border:2px solid var(--bo-green);background:var(--bo-green-soft)}
.op-svc-price{font-weight:700;color:black;text-align:right;font-variant-numeric:tabular-nums;font-size:19px}
.op-svc-name{font-size:18px;color:black}
.op-svc-name small{font-size:14px;color:dimgray;margin-left:6px;text-transform:uppercase;letter-spacing:.06em}
.op-wait{font-size:17px;color:dimgray;margin:6px 0}
.op-detail{margin-top:18px;max-width:560px;margin-left:auto}
.op-ftable{width:100%;border-collapse:collapse;background:white;border:1px solid silver;font-size:17px}
.op-ftable caption{text-align:left;font-weight:700;color:black;padding:0 0 6px}
.op-ftable td{padding:8px 14px;border-bottom:1px solid gainsboro}
.op-ftable td.n{text-align:right;white-space:nowrap;font-variant-numeric:tabular-nums}
.op-ftable tr.discount td{color:seagreen}
.op-ftable tr.net td{font-weight:700;color:black;background:whitesmoke}
.op-duties{margin:18px 0 0;padding:12px 16px;background:seashell;border-radius:6px;font-weight:700;color:black}
.op-small{font-size:16px;color:dimgray;margin:8px 0 0}

/* summary */
.op-sum{border-collapse:collapse;min-width:min(420px,100%);font-size:20px}
.op-sum th{text-align:left;font-weight:600;padding:7px 30px 7px 0;color:darkslategray}
.op-sum td{text-align:right;font-variant-numeric:tabular-nums;padding:7px 0;color:black}
.op-sum .op-sum-total th,.op-sum .op-sum-total td{font-weight:700;color:black;border-top:2px solid black;padding-top:10px;font-size:22px}
.op-quote-row{margin:22px 0 0}
.op .btn.op-quote{background:lightyellow;color:black;border:2px solid black;font-size:19px;padding:12px 30px;width:auto}
.op .btn.op-quote:hover{background:khaki}

/* card and submit */
.op-card{display:grid;gap:10px;max-width:440px}
.op-card-row{display:grid;grid-template-columns:1fr 1fr;gap:10px}
.op-card input{font-size:19px}
.op-after{text-align:center;margin:24px auto 0;max-width:760px}
.op-after p{margin:0 0 6px;font-style:italic;color:black}
.op-after .op-after-h{font-style:normal;font-weight:700;color:teal;margin-top:10px}
.op-submit-row{text-align:center;margin:22px 0 0}
.op .btn.op-submit{min-width:240px;font-size:20px;width:auto;cursor:pointer}
.op-gentle{margin:18px auto 0;max-width:760px;padding:14px 18px;border:1px solid silver;border-radius:8px;background:white;text-align:center}
.op-todo{margin:26px auto 0;max-width:820px;border-top:2px solid black;padding-top:14px;text-align:center}
.op-todo-h{font-weight:700;color:teal;margin-bottom:8px}
.op-todo ul{list-style:none;margin:0;padding:0}
.op-todo li{margin:0 0 8px}
.op-todo a{color:crimson;font-weight:600;font-size:17px}
.op-todo-ok{color:teal;font-weight:700}

/* printable quote, hidden on screen */
.op-quote-doc{display:none}
@media print{
 body.op-printing-quote>*:not(.op-quote-doc){display:none!important}
 body.op-printing-quote .op-quote-doc{display:block;color:black;font:13pt Arial,sans-serif;background:white}
 .qd-head{display:flex;justify-content:space-between;align-items:flex-start;border-bottom:2px solid black;padding-bottom:10px}
 .qd-head h1{font-size:24pt;margin:6px 0 0}
 .qd-head p{margin:0}
 .qd-from{text-align:right}
 .qd-addr{display:grid;grid-template-columns:1fr 1fr;gap:20px;margin:14px 0}
 .qd-items,.qd-sum{width:100%;border-collapse:collapse;margin-top:10px}
 .qd-items th,.qd-items td{border-bottom:1px solid gray;padding:5px 6px;text-align:left}
 .qd-items .n,.qd-sum .n{text-align:right}
 .qd-sum{width:50%;margin-left:auto}
 .qd-sum td{padding:4px 6px}
 .qd-sum tr.net td{font-weight:700;border-top:2px solid black}
 .qd-note{margin-top:14px}
 .go-to-orders,.back-to-top{display:none!important}
}

/* tablet */
@media(max-width:900px){
 .op-freight-grid{grid-template-columns:1fr}
 .op-detail{margin-left:0}
}
/* phone */
@media(max-width:650px){
 .op-sec{padding:22px 0 26px}
 .op .wrap{padding:0 14px}
 .op h2{font-size:1.5rem}
 .op-grid{grid-template-columns:1fr}
 .op-totals{font-size:18px;flex-direction:column;gap:4px}
 .op-svc{grid-template-columns:24px minmax(0,1fr);gap:4px 12px;padding:10px 12px}
 .op-svc input{grid-row:1/3}
 .op-svc-price{text-align:left;grid-column:2}
 .op-svc-name{grid-column:2;font-size:17px}
 .op-sum{width:100%;font-size:18px}
 .op .btn.op-quote,.op .btn.op-submit{width:100%}
 .op-retail-group .pack-table tr{grid-template-columns:minmax(0,1fr) 168px}
 .op-retail-group .pack-table td:nth-child(2){grid-column:1;grid-row:1;align-self:center;font-size:19px}
 .op-retail-group .pack-table td:nth-child(3){grid-column:2;grid-row:1}
 .op-retail-group .pack-table td:nth-child(3)::before{content:'Qty';display:block;font-size:14px;margin-bottom:3px}
}
.op-acct[hidden],#op-own[hidden],#p-wrap[hidden],#b-wrap[hidden],#op-retail[hidden],#op-wholesale[hidden],.op-duties[hidden],.op-gentle[hidden]{display:none!important}
@media(max-width:650px){.pack-table tr.has{background:honeydew;outline:2px solid teal;outline-offset:2px;border-radius:6px}.pack-table tr.has td,.pack-table tr.has th{background:transparent;font-weight:700;border:0 !important}}
.op-retail-group:first-child{margin-top:4px}
@media print{body.op-printing-quote{background:white!important}.qd-items td:nth-child(2){white-space:nowrap}}
.op .order-mode label{font-size:22px;font-weight:700;color:var(--bo-red)}
.op .order-mode label:has(input:checked){color:var(--bo-green)}
@media(max-width:650px){.op .order-mode label{font-size:19px}}

/* 2026-11-11 Bill: when a retail order qualifies, tell them and switch to wholesale */
#op-ws-notice,#op-zip-notice{position:fixed;inset:0;z-index:80;display:flex;align-items:center;justify-content:center;padding:22px;background:rgba(0,0,0,.28)}
#op-ws-notice[hidden],#op-zip-notice[hidden]{display:none!important}
#op-ws-notice .op-ws-notice,#op-zip-notice .op-zip-notice{background:floralwhite;border:2px solid black;border-radius:12px;max-width:34rem;width:100%;padding:36px 40px 30px;text-align:center;box-shadow:0 10px 32px rgba(0,0,0,.18)}
#op-ws-notice .op-ws-notice p,#op-zip-notice .op-zip-notice p{margin:0;font:600 20px/1.45 Arial,sans-serif;color:black}
#op-ws-notice #op-ws-notice-why,#op-zip-notice #op-zip-notice-why{margin-top:20px;font-weight:500}
#op-ws-notice-ok,#op-zip-notice-ok{margin-top:26px;font:700 18px Arial,sans-serif;min-height:48px;min-width:120px;padding:10px 32px;border:2px solid black;border-radius:24px;background:wheat;color:black;cursor:pointer}
#op-ws-notice-ok:hover,#op-zip-notice-ok:hover{background:#e8d5a3}
#op-ws-notice-ok:focus-visible,#op-zip-notice-ok:focus-visible{outline:3px solid var(--bo-green);outline-offset:2px}
#op-zip-notice .op-zip-notice{max-width:30rem;padding:32px 34px 28px}
#op-zip-notice .op-zip-notice p{font-size:19px}

/* Quantity boxes stay compact (they became type=text so the form-field width no longer applies). */
.op .pack-quantity input{
  width:52px;
  min-width:52px;
  max-width:52px;
  min-height:44px;
  padding:6px 2px;
  box-sizing:border-box;
  font:18px Arial,sans-serif;
  border-radius:5px;
}
@media(max-width:650px){
  .op .pack-quantity input{width:47px;min-width:47px;max-width:47px}
}


/* 2026-11-12 Bill: explanation on the same line as country and ZIP; carries down to Ship To */
.op-where{margin:0 0 22px;padding:16px 20px;border:2px solid black;border-radius:12px;background:wheat}
.op-where-row{display:grid;grid-template-columns:minmax(0,280px) minmax(0,200px) minmax(16rem,1fr);gap:12px 22px;align-items:center}
.op-where.needs-zip .op-where-row{grid-template-columns:minmax(0,280px) minmax(0,292px) minmax(14rem,1fr)}
.op-where-why{margin:0;min-width:0}
.op-where-why p{margin:0;font:500 17px/1.4 Arial,sans-serif;color:black}
.op-where-why p + p{margin-top:8px}
.op-where label{font-size:17px}
.op-where select,.op-where input[type=text]{min-height:52px;font-size:19px;border:2px solid black;width:100%;box-sizing:border-box}
.op-where input.op-form-bad,.op-where select.op-form-bad{border:2px solid var(--bo-red);background:mistyrose}
.op-zip-aim{display:flex;align-items:center;gap:6px;min-width:0}
.op-zip-aim input{flex:1 1 auto;min-width:0;max-width:200px}
.op-zip-arrow{display:none;flex:0 0 84px;line-height:0;pointer-events:none}
.op-where.needs-zip .op-zip-arrow{display:block}
.op-zip-arrow svg{display:block;width:84px;height:36px}
@media (prefers-reduced-motion: no-preference){
 .op-where.needs-zip .op-zip-arrow{animation:op-zip-nudge 1.8s ease-in-out infinite}
}
@keyframes op-zip-nudge{
 0%,100%{transform:translateX(0)}
 50%{transform:translateX(-7px)}
}
.op-wait a{color:teal;font-weight:700}

/* Freight detail, laid out like the order confirmations */
.op-ftable caption span{font-weight:600;color:dimgray}

/* Placed by and billed to: check only when different */
.op .op-diff{margin:26px 0 0;padding:16px 20px 12px;border:1px solid silver;border-radius:10px;background:white;max-width:900px}
.op .op-diff legend{float:left;width:100%;margin:0 0 2px}
.op-diff-note{clear:both;margin:0 0 6px}
.op-diff .f-check label{font-size:18px;min-height:48px}
.op-diff .f-check input{width:26px;height:26px}
.op-opt{font:400 17px Arial,sans-serif;color:dimgray;margin-left:8px}
#op-placed[hidden],#op-billto[hidden],#b-copy-p[hidden]{display:none!important}
@media(max-width:900px){
 .op-where{padding:14px}
 .op-where-row,
 .op-where.needs-zip .op-where-row{grid-template-columns:1fr 1fr;align-items:end;column-gap:16px}
 .op-where-why{grid-column:1/-1;order:-1;margin-bottom:4px}
 .op-where-why p{font-size:16px}
}
@media(max-width:500px){
 .op-where-row,
 .op-where.needs-zip .op-where-row{grid-template-columns:1fr}
 .op-zip-aim input{max-width:none}
}

.op-invoice-me-note{margin:4px 0 0;color:teal;font-size:16px;line-height:1.35}
.op-card.invoice-me #card-exp,
.op-card.invoice-me #card-cvv,
.op-card.invoice-me #card-name{border-color:#c5c0b4}

/* Retail: a quiet note on how close the order is to wholesale. Not a dialog, not urgent. */

/* Quiet weight / carton count on the totals line (carton count only when more than one). */
.op-weight{font-weight:600;color:dimgray;font-size:18px}
@media(max-width:500px){.op-weight{font-size:17px}}

/* After submit: confirmation and a skippable prompt to email it to associates. Tremor-friendly. */
.op-forward{background:floralwhite}
.op-forward h2{margin-bottom:8px}
.op-forward h3{font:700 24px Arial,sans-serif;margin:28px 0 10px;color:black}
.op-confirm-inv{font-size:20px;font-weight:700;margin:0 0 12px}
.op-confirm-text{font:18px/1.45 Arial,sans-serif;white-space:pre-wrap;background:white;border:1px solid silver;border-radius:10px;padding:16px 18px;max-width:760px;overflow:auto}
.op-forward-note{font-size:18px;max-width:40em;margin:0 0 16px;line-height:1.4}
.op-forward-list{display:flex;flex-direction:column;gap:14px;max-width:560px}
.op-forward-email input{min-height:56px;font-size:20px;padding:10px 14px;width:100%;box-sizing:border-box;border:2px solid black;border-radius:8px}
.op-forward-row,.op-forward-actions{margin:18px 0 0;display:flex;flex-wrap:wrap;gap:14px 18px;align-items:center}
.op-forward .btn{min-height:56px;font-size:20px;padding:12px 28px;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;cursor:pointer}
.op-forward .btn.is-off{opacity:.55;cursor:default}
@media(max-width:500px){
 .op-forward h3{font-size:22px}
 .op-forward .btn{width:100%}
}

.op-own-ready,.op-no-choice{font-size:17px;color:black;line-height:1.45;margin:6px 0}
.op-no-choice a{color:var(--bo-green);font-weight:700}
.op-no-choice a:hover{color:var(--bo-green-hover)}
.op textarea{min-height:72px;resize:vertical;width:100%;padding:10px 12px;border:1px solid gray;border-radius:6px;background:white;color:black;font:18px Arial,sans-serif}
.op textarea:focus-visible{outline:3px solid var(--bo-green);outline-offset:2px}
.op textarea.op-form-bad{border:2px solid var(--bo-red);background:mistyrose}

/* 2026-11-16: keep order content clear of the phone Top / Stories bubbles */
@media(max-width:600px){
  #panel-order .op, #panel-order{
    padding-bottom:120px;
  }
  .op .wrap{
    padding-right:80px;
  }
}

/* Call-for-card payment step (2026-11-16) */
.op-call-for-card{font-size:19px;line-height:1.45;margin:0 0 .5em;max-width:36em}
.op-call-for-card-note{font-size:16px;color:dimgray;line-height:1.4;margin:0 0 1.2em;max-width:36em}

.op-todo-err{color:crimson;font-weight:700;max-width:36em;margin:0 auto}
/* Honeypot: off-screen, not display:none, so a person never sees it. */
.op-hp{position:absolute;left:-10000px;top:auto;width:1px;height:1px;overflow:hidden}
#op-submit:disabled{opacity:.7;cursor:wait}
