/* Quote List — Custom Printed Socks page (144) only */
.ql-card { position: relative; margin: var(--space-md, 1rem) 0 var(--space-lg, 1.5rem); padding: var(--space-md, 1.1rem) var(--space-md, 1.1rem) var(--space-md, 1.1rem);
  background: var(--surface-default, #fff); border: 1px solid var(--border-brand-soft, #d6e4fb); border-radius: var(--card-radius, 14px); box-shadow: var(--shadow-card, 0 8px 24px rgba(16,24,40,.06)); overflow: hidden;
  display: flex; flex-direction: column; gap: .8rem; }
.ql-card--old::before { content: ""; position: absolute; top: 0; left: 0; right: 0; height: 4px; background: var(--gradient-brand, #1d5fd1); }
.ql-card__head { display: flex; flex-direction: column; gap: .15rem; }
.ql-card__eyebrow { font-size: .72rem; font-weight: 700; letter-spacing: .08em; text-transform: uppercase; color: var(--brand-strong, #1d5fd1); }
.ql-card__title { font-weight: 700; font-size: 1.05rem; color: var(--text-strong, #101828); }
.ql-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: .6rem; }
.ql-field { display: flex; flex-direction: column; gap: .3rem; min-width: 0; }
.ql-field--full { grid-column: 1 / -1; }
.ql-field label { font-size: .78rem; font-weight: 600; color: var(--text-strong, #101828); }
.ql-field label small { font-weight: 400; color: var(--text-muted, #667085); }
.ql-field input, .ql-field select, .ql-field textarea { width: 100%; min-height: 40px; padding: .5rem .7rem; font: inherit; font-size: .88rem; color: var(--text-default, #344054);
  background: var(--surface-subtle, #f5f7fa); border: 1px solid var(--border-default, #e4e7ec); border-radius: var(--input-radius, 8px); transition: border-color .2s, box-shadow .2s; }
.ql-field textarea { resize: vertical; }
.ql-field input:focus, .ql-field select:focus, .ql-field textarea:focus { outline: none; border-color: var(--input-border-focus, #1d5fd1); box-shadow: 0 0 0 3px var(--brand-faint, rgba(29,95,209,.12)); background: #fff; }
.ql-field .is-invalid, .ql-field input.is-invalid { border-color: var(--border-danger, #d92d20); }
.ql-field select { appearance: none; -webkit-appearance: none; padding-right: 1.9rem; background-repeat: no-repeat; background-position: right .55rem center; background-size: .9rem;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20'%3E%3Cpath fill='%23667085' d='M5.3 7.3a1 1 0 0 1 1.4 0L10 10.6l3.3-3.3a1 1 0 1 1 1.4 1.4l-4 4a1 1 0 0 1-1.4 0l-4-4a1 1 0 0 1 0-1.4z'/%3E%3C/svg%3E"); }
.ql-upload { position: relative; }
.ql-input { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }
.ql-drop { display: flex; align-items: center; gap: .75rem; cursor: pointer; padding: .7rem .9rem; border: 2px dashed var(--border-brand-soft, #b9d3f5); border-radius: var(--radius-md, 10px);
  background: var(--surface-faint, #f6f9fe); color: var(--brand-strong, #1d5fd1); transition: border-color .2s, background .2s; }
.ql-drop span { display: flex; flex-direction: column; gap: .1rem; }
.ql-drop strong { font-size: .88rem; color: var(--text-strong, #101828); }
.ql-drop small { font-size: .74rem; color: var(--text-muted, #667085); line-height: 1.45; }
.ql-drop:hover, .ql-drop:focus-visible, .ql-drop.is-over { border-color: var(--brand-strong, #1d5fd1); background: var(--brand-faint, #eaf2ff); outline: none; }
.ql-drop.is-full { opacity: .5; pointer-events: none; }
.ql-files { list-style: none; margin: .55rem 0 0; padding: 0; display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: .5rem; }
.ql-files:empty { display: none; }
.ql-file { position: relative; display: flex; align-items: center; gap: .5rem; padding: .4rem 1.9rem .4rem .4rem; border: 1px solid var(--border-default, #e4e7ec); border-radius: var(--radius-sm, 8px); background: #fff; min-width: 0; }
.ql-file.is-loading { opacity: .65; }
.ql-file__thumb { flex: 0 0 38px; width: 38px; height: 38px; border-radius: 6px; object-fit: cover; }
.ql-doc { display: inline-flex; align-items: center; justify-content: center; background: var(--gradient-brand, #1d5fd1); color: #fff; font-size: .66rem; font-weight: 700; }
.ql-file__meta { display: flex; flex-direction: column; min-width: 0; }
.ql-file__name { font-size: .76rem; color: var(--text-strong, #101828); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ql-file__size { font-size: .7rem; color: var(--text-muted, #667085); }
.ql-x { position: absolute; top: 4px; right: 4px; width: 24px; height: 24px; padding: 0; border: 0; border-radius: 50%; cursor: pointer; background: var(--surface-muted, #f2f4f7); color: var(--text-muted, #667085); font-size: 16px; line-height: 24px; }
.ql-x:hover { background: var(--border-danger, #d92d20); color: #fff; }
.ql-msg { margin: 0; font-size: .8rem; color: var(--border-danger, #d92d20); }
.ql-msg.is-ok { color: var(--brand-strong, #1d5fd1); font-weight: 600; }
.ql-add, .ql-wide { width: 100%; justify-content: center; }
/* Floating button */
.ql-fab { position: fixed; right: 20px; bottom: 20px; z-index: 990; display: inline-flex; align-items: center; gap: .5rem; padding: .7rem 1rem; border: 0; border-radius: var(--radius-pill, 999px); cursor: pointer;
  background: var(--gradient-brand, #1d5fd1); color: #fff; font: inherit; font-weight: 600; font-size: .9rem; box-shadow: var(--shadow-lg, 0 10px 30px rgba(29,95,209,.35)); transition: transform .2s; }
.ql-fab:hover { transform: translateY(-2px); }
.ql-count { min-width: 22px; height: 22px; padding: 0 6px; border-radius: 11px; background: #fff; color: var(--brand-strong, #1d5fd1); font-size: .78rem; line-height: 22px; text-align: center; }
.ql-fab.is-bump { animation: qlbump .5s; }
@keyframes qlbump { 30% { transform: scale(1.12); } 60% { transform: scale(.96); } }
/* Drawer */
html.ql-lock { overflow: hidden; }
.ql-drawer { position: fixed; inset: 0; z-index: 10000; }
.ql-drawer__backdrop { position: absolute; inset: 0; background: rgba(16, 24, 40, .45); opacity: 0; transition: opacity .25s; }
.ql-drawer__panel { position: absolute; top: 0; right: 0; bottom: 0; width: min(440px, 100%); display: flex; flex-direction: column; background: var(--surface-default, #fff); box-shadow: var(--shadow-xl, -10px 0 40px rgba(0,0,0,.15));
  transform: translateX(100%); transition: transform .25s ease; }
.ql-drawer__panel::before { content: ""; height: 4px; flex: 0 0 4px; background: var(--gradient-brand, #1d5fd1); }
.ql-drawer.is-open .ql-drawer__backdrop { opacity: 1; }
.ql-drawer.is-open .ql-drawer__panel { transform: none; }
.ql-drawer__head { position: relative; display: flex; align-items: center; justify-content: space-between; padding: 1rem 1.25rem; border-bottom: 1px solid var(--border-default, #e4e7ec); }
.ql-drawer__head h2 { margin: 0; font-size: 1.15rem; color: var(--text-strong, #101828); }
.ql-x--lg { position: static; width: 32px; height: 32px; font-size: 20px; line-height: 32px; }
.ql-drawer__body { flex: 1; overflow-y: auto; padding: 1rem 1.25rem 1.25rem; display: flex; flex-direction: column; gap: 1rem; }
.ql-items { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: .7rem; }
.ql-item { position: relative; display: flex; gap: .8rem; padding: .7rem 2.2rem .7rem .7rem; border: 1px solid var(--border-default, #e4e7ec); border-radius: var(--radius-md, 10px); }
.ql-item__thumb { flex: 0 0 64px; width: 64px; height: 64px; border-radius: 8px; object-fit: cover; font-size: .8rem; }
.ql-item__info { display: flex; flex-direction: column; gap: .15rem; min-width: 0; font-size: .82rem; color: var(--text-default, #344054); }
.ql-item__info strong { color: var(--text-strong, #101828); font-size: .9rem; }
.ql-item__info em { color: var(--text-muted, #667085); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.ql-item__info small { color: var(--text-muted, #667085); }
.ql-qty { display: inline-flex; align-items: center; gap: .4rem; margin-top: .25rem; font-size: .8rem; }
.ql-qty input { width: 86px; padding: .3rem .5rem; border: 1px solid var(--border-default, #e4e7ec); border-radius: 6px; font: inherit; }
.ql-drawer__foot { margin-top: auto; display: flex; flex-direction: column; gap: .6rem; padding-top: .75rem; border-top: 1px solid var(--border-default, #e4e7ec); }
.ql-total { margin: 0; font-weight: 600; color: var(--text-strong, #101828); }
.ql-note { margin: 0; font-size: .75rem; color: var(--text-muted, #667085); text-align: center; }
.ql-contact { display: flex; flex-direction: column; gap: .8rem; }
.ql-back { align-self: flex-start; padding: 0; border: 0; background: none; color: var(--brand-strong, #1d5fd1); font: inherit; font-size: .85rem; cursor: pointer; }
.ql-empty, .ql-thanks { margin: auto 0; text-align: center; color: var(--text-default, #344054); }
.ql-empty p { margin: 0 0 .5rem; }
.ql-thanks__icon { width: 60px; height: 60px; margin: 0 auto 1rem; border-radius: 50%; background: var(--gradient-brand, #1d5fd1); color: #fff; font-size: 30px; line-height: 60px; }
.ql-thanks h3 { margin: 0 0 .5rem; color: var(--text-strong, #101828); }
@media (max-width: 991px) { .ql-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); } }
@media (max-width: 575px) {
  .ql-files { grid-template-columns: 1fr 1fr; }
  .ql-fab { right: 12px; bottom: 12px; padding: .6rem .85rem; }
  .ql-drop { align-items: flex-start; }
}
.ql-drawer.is-instant .ql-drawer__panel, .ql-drawer.is-instant .ql-drawer__backdrop { transition: none; }
/* ql3: configurator sits flush in the hero content */
.ql-card { margin: var(--space-md, 1rem) 0 var(--space-md, 1rem); padding: 0; background: none; border: 0; border-radius: 0; box-shadow: none; overflow: visible; }
.ql-actions { display: flex; flex-wrap: wrap; align-items: center; gap: .75rem 1.5rem; }
.ql-actions .ql-add { width: auto; }
.ql-explore { font-weight: 600; color: var(--brand-strong, #1d5fd1); text-decoration: none; }
.ql-explore:hover { text-decoration: underline; }
