.sd-quote {
  --sd-ink: #212529;
  --sd-muted: #576471;
  --sd-line: #e1e5e9;
  --sd-field: #c3c8cc;
  --sd-surface: #f6f7f9;
  --sd-yellow: #fbbf47;
  width: 100%;
  max-width: 1064px;
  min-width: 0;
  margin: 44px auto 88px;
  color: var(--sd-ink);
  font: 300 16px/1.55 Alexandria, Arial, sans-serif;
  text-align: left;
}
.sd-quote *, .sd-quote *::before {box-sizing: border-box}
.sd-quote [hidden] {display: none !important}
.sd-quote .quote-heading h2 {
  margin: 0 0 16px; color: var(--sd-ink); font-family: inherit;
  font-size: clamp(26px, 4vw, 36px); font-weight: 800; line-height: 1.2;
}
.sd-quote .quote-heading p {margin: 0; color: var(--sd-muted)}
.sd-quote form {margin: 0; padding: 0}
.sd-quote fieldset {min-inline-size: 0; border: 0; margin: 0; padding: 0}
.sd-quote .panel {
  margin: 26px 0 30px; padding: 22px 24px; background: white;
  border: 1px solid var(--sd-line); border-radius: 16px;
}
.sd-quote .panel > legend {
  float: none; width: auto; max-width: 100%; padding: 0 10px; margin: 0 0 0 -15px;
  color: var(--sd-ink); font: 800 1.2em/1.3 Alexandria, Arial, sans-serif;
}
.sd-quote .grid {display: grid; grid-template-columns: repeat(2, minmax(0,1fr)); gap: 20px 16px}
.sd-quote label {display: grid; align-content: start; gap: 6px; margin: 0; min-width: 0; font-size: 15px; font-weight: 650; color: var(--sd-ink)}
.sd-quote input:not([type=radio]):not([type=checkbox]), .sd-quote select, .sd-quote textarea {
  width: 100%; min-width: 0; min-height: 50px; margin: 0; padding: 10px 12px;
  border: 1px solid var(--sd-field); border-radius: 8px; background: white; box-shadow: none; color: var(--sd-ink);
  font: inherit; line-height: 1.55;
}
.sd-quote textarea {resize: vertical}
.sd-quote :is(input, select, button, textarea, a):focus-visible {outline: 2px solid #825800; outline-offset: 3px}
.sd-quote .choices {display: flex; flex-wrap: wrap; gap: 8px 26px; margin: 0 0 12px}
.sd-quote .choice {display: flex; align-items: center; gap: 10px; min-height: 32px; cursor: pointer}
.sd-quote input[type=radio], .sd-quote input[type=checkbox] {width: 19px; height: 19px; flex: none; accent-color: var(--sd-yellow); margin: 0}
.sd-quote [data-pickup] > legend {margin-bottom: 6px; padding: 0; font-size: 15px; font-weight: 650}
.sd-quote .pickup-options {display: grid; gap: 4px}
.sd-quote .pickup-options .choice:has(input:disabled) {color: var(--sd-muted); font-weight: 400; cursor: default}
.sd-quote .table-head, .sd-quote .item {
  display: grid; grid-template-columns: minmax(0,1fr) minmax(124px,18%); gap: 20px; align-items: center;
}
.sd-quote .table-head {background: var(--sd-surface); border-radius: 8px; color: var(--sd-muted); font-size: 14px; font-weight: 700; padding: 10px 15px}
.sd-quote .item {padding: 14px 15px; border-bottom: 1px solid #ebedef}
.sd-quote .item:last-of-type {border-bottom: 0}
.sd-quote .item:has(input:checked), .sd-quote .bulk-item {background: #fffaef}
.sd-quote .quantity {display: flex; align-items: center; gap: 8px}
.sd-quote .quantity:has(input:disabled) {visibility: hidden}
.sd-quote .quantity input[type=number] {width: min(94px,75%); text-align: center; font-weight: 700}
.sd-quote .hint, .sd-quote output {color: var(--sd-muted); font-size: 14px; margin: 6px 0 0}
.sd-quote output {display: block; margin: 12px 0 0}
.sd-quote .hint:empty, .sd-quote .warning:empty {display: none}
.sd-quote .address {margin: 0 0 14px; padding: 18px; border: 1px solid var(--sd-line); border-radius: 12px; background: var(--sd-surface)}
.sd-quote .address-head {display: flex; justify-content: space-between; align-items: center; gap: 12px; margin-bottom: 12px}
.sd-quote .address-head strong {font-weight: 700}
.sd-quote .date-field {margin-top: 16px}
.sd-quote .notes {grid-column: 1 / -1}
.sd-quote button {
  min-height: 44px; margin: 0; padding: 10px 18px; border: 1px solid var(--sd-ink);
  border-radius: 8px; background: white; color: var(--sd-ink); cursor: pointer;
  font: 700 15px/1.55 Alexandria, Arial, sans-serif; text-transform: none;
}
.sd-quote button:hover:not(:disabled) {background: var(--sd-surface)}
.sd-quote button:disabled {opacity: .5; cursor: default}
.sd-quote .remove {font-size: 14px; min-height: 36px; padding: 5px 12px}
.sd-quote .submit {background: var(--sd-yellow); border-color: var(--sd-yellow); padding: 13px 25px; margin-top: 16px; font-size: 16px; font-weight: 800}
.sd-quote .submit:hover:not(:disabled) {background: #f1b132; border-color: #f1b132}
.sd-quote a {color: inherit; text-decoration: underline; text-underline-offset: .15em}
.sd-quote .warning {color: #922b19; margin: 10px 0; font-weight: 650}
.sd-quote .status:not(:empty) {margin: 16px 0; padding: 14px 18px; background: var(--sd-surface); border-left: 4px solid var(--sd-yellow); white-space: pre-line; overflow-wrap: anywhere}
.sd-quote .trap {position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%)}
@media (max-width: 640px) {
  .sd-quote {margin: 28px auto 48px}
  .sd-quote .panel {padding: 16px 12px; margin: 22px 0}
  .sd-quote .panel > legend {margin-left: -5px; padding: 0 5px}
  .sd-quote .grid {grid-template-columns: minmax(0,1fr); gap: 14px}
  .sd-quote .address {padding: 12px}
  .sd-quote .table-head, .sd-quote .item {grid-template-columns: minmax(0,1fr) 84px; gap: 8px; padding-inline: 8px}
  .sd-quote .quantity input[type=number] {width: 58px; padding-inline: 5px}
  .sd-quote input:not([type=checkbox]):not([type=radio]), .sd-quote select, .sd-quote textarea {font-size: 16px}
}
