/* Design Print Core — quote basket. Uses the theme's --red / --ink when present. */
.dpq-hp{position:absolute!important;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}
.dpq-add-mini{margin:0}
.dpq-flash{padding:14px 18px;margin:0 0 22px;font-size:14px;border-inline-start:3px solid var(--red,#e92127);background:#fff5f5}
.dpq-flash.is-ok{border-color:#1f7a3a;background:#f1f8f2}
.dpq-flash a{color:var(--red,#e92127);margin-inline-start:8px}
.dpq-field-error{display:block;color:#b3141a;font-size:12px;margin-top:6px}
[aria-invalid=true]{border-color:#b3141a!important}
.dpq-form{display:grid;grid-template-columns:1.1fr 1fr;gap:48px;align-items:start}
.dpq-form h2{font-size:clamp(24px,2.4vw,32px);margin:0 0 20px;display:flex;align-items:center;gap:12px}
.dpq-items,.dpq-customer{min-width:0}
.dpq-item{display:grid;grid-template-columns:1fr 150px auto;gap:14px 18px;align-items:end;background:var(--paper,#f6f5f1);padding:16px 18px;margin:0 0 10px}
.dpq-item-name{font-weight:700;font-size:17px}
.dpq-item-opts{display:block;color:#666;font-size:12px;margin-top:4px;line-height:1.7}
.dpq-item label{margin:10px 0 0;font-size:12px}
.dpq-item input{background:#fff}
.dpq-remove{background:none;border:0;color:var(--red,#e92127);font-size:13px;padding:10px 0}
.dpq-update{margin-top:6px}
.dpq-empty{background:var(--paper,#f6f5f1);padding:22px;font-size:15px}
.dpq-empty a{color:var(--red,#e92127)}
.dpq-customer .solid{width:100%;margin-top:6px}
.dpq-inline-status{font-size:13px;min-height:1.6em;margin:10px 0 0;color:#555}
.dpq-inline-status a{color:var(--red,#e92127)}
.dpq-product-form{display:grid;gap:4px}
.dpq-options{display:grid;grid-template-columns:1fr 1fr;gap:0 16px}
.dpq-hint{font-size:12px;margin:0;color:#777}
.dpq-success-box{background:var(--paper,#f6f5f1);padding:clamp(28px,5vw,60px);max-width:760px}
.dpq-success-box small{color:var(--red,#e92127);font-size:14px}
.dpq-success-box h2{font-size:clamp(34px,5vw,58px);margin:10px 0 18px}
.dpq-ref{font-size:18px;color:var(--ink,#171717)}
.dpq-ref strong{font-family:Arial,sans-serif;letter-spacing:1px;background:#fff;padding:4px 10px;margin-inline-start:6px}
.dpq-success-actions{display:flex;flex-wrap:wrap;gap:18px;align-items:center;margin-top:24px}
@media(max-width:860px){.dpq-form{grid-template-columns:1fr;gap:32px}}
@media(max-width:560px){.dpq-item{grid-template-columns:1fr auto}.dpq-item-main{grid-column:1/-1}.dpq-options{grid-template-columns:1fr}}

/* 1.6.0 — display-only brief */
.dpq-brief { margin-bottom: 34px; }
.dpq-group { border: 0; padding: 0; margin: 0 0 24px; }
.dpq-group legend { font-weight: 700; margin-bottom: 12px; font-size: 17px; padding: 0; }
.dpq-choices { display: flex; flex-wrap: wrap; gap: 10px; }
.dpq-choice { position: relative; display: inline-flex; cursor: pointer; }
.dpq-choice input { position: absolute; opacity: 0; inset: 0; margin: 0; cursor: pointer; }
.dpq-choice span { display: inline-block; padding: 12px 18px; border: 1px solid #d6d3cc; border-radius: 999px; font-size: 15px; line-height: 1.3; background: #fff; transition: border-color .15s, background .15s, color .15s; }
.dpq-choice input:checked + span { background: #171717; border-color: #171717; color: #fff; }
.dpq-choice input:focus-visible + span { outline: 3px solid #1598b5; outline-offset: 3px; }
.dpq-choice:hover span { border-color: #171717; }
.dpq-group .dpq-field-error { display: block; margin-top: 8px; }

/* 1.7.0 — contact form: boxed fields, pick-or-type choice fields */
.dpq-fields { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 18px 16px; margin-bottom: 18px; }
.dpq-field { display: flex; flex-direction: column; gap: 8px; min-width: 0; }
.dpq-field--wide { grid-column: 1 / -1; }
.dpq-field > label { font-size: 14px; font-weight: 700; margin: 0; }
.dpq-field > label small { font-weight: 400; color: #8a857d; }
.dpq-field input, .dpq-field textarea { width: 100%; }
.dpq-field input[type=tel] { text-align: right; }
.dpq-field.is-invalid input, .dpq-field.is-invalid textarea { border-color: #c8141c !important; background: #fff8f8 !important; }
.dpq-field .dpq-field-error { margin: 0; line-height: 1.6; }
.dpq-combo-box { position: relative; }
.dpq-combo-box input { padding-inline-end: 46px !important; text-overflow: ellipsis; }
.dpq-combo-toggle { position: absolute; inset-inline-end: 6px; top: 0; bottom: 0; margin: auto 0; width: 36px; height: 36px; padding: 0; line-height: 0; border: 0; border-radius: 10px; background: transparent; color: #6b665e; display: grid; place-items: center; cursor: pointer; transition: color .2s; }
.dpq-combo-toggle svg { transition: transform .2s; }
.dpq-combo-toggle:hover { color: var(--red, #e92127); }
.dpq-combo.is-open .dpq-combo-toggle { color: var(--red, #e92127); }
.dpq-combo.is-open .dpq-combo-toggle svg { transform: rotate(180deg); }
.dpq-combo-box > input { margin: 0 !important; }
.dpq-combo-list { position: absolute; z-index: 30; inset-inline: 0; top: calc(100% + 6px); margin: 0; padding: 6px; list-style: none; background: #fff; border: 1px solid #e6e1d9; border-radius: 16px; box-shadow: 0 18px 44px rgba(0,0,0,.12); max-height: 280px; overflow-y: auto; overscroll-behavior: contain; }
.dpq-combo-list [role=option] { display: flex; align-items: center; gap: 12px; padding: 12px 14px; border-radius: 11px; font-size: 15px; line-height: 1.4; cursor: pointer; }
.dpq-combo-list [role=option]::before { content: ""; flex: none; width: 18px; height: 18px; border: 1.5px solid #cfc9bf; border-radius: 50%; transition: background .15s, border-color .15s; }
.dpq-combo[data-multi] .dpq-combo-list [role=option]::before { border-radius: 5px; }
.dpq-combo-list [role=option]:hover, .dpq-combo-list [role=option].is-active { background: #f6f3ee; }
.dpq-combo-list [aria-selected=true] { font-weight: 700; }
.dpq-combo-list [aria-selected=true]::before { background: var(--red, #e92127) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5' fill='none' stroke='%23fff' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E") center / 13px no-repeat; border-color: var(--red, #e92127); }
.dpq-combo-hint { padding: 10px 14px 6px; font-size: 12.5px; color: #8a857d; border-top: 1px solid #f0ece5; margin-top: 4px; }
@media (max-width: 600px) {
	.dpq-fields { grid-template-columns: minmax(0, 1fr); gap: 16px; }
	.dpq-combo-list { max-height: 240px; }
}
/* The toggle sits over the input's padding, where long typed text can scroll: give it the input's fill. */
.dpq-combo-toggle { background: #faf9f6; }
.dpq-combo-box:focus-within .dpq-combo-toggle { background: #fff; }
.dpq-combo.is-invalid .dpq-combo-toggle { background: #fff8f8; }
