/* Aluna Quotes – front-end forms (matches the Aluna Schrift theme) */
.aq-mount{--aq-acc:var(--acc,#5552cc);--aq-ink:#1a1b1e;--aq-muted:#5d6273;--aq-line:#e3e9f6;--aq-pale:#f4f7fe;--aq-cta:#fc4b10;font-family:"Red Hat Text",sans-serif;color:var(--aq-muted);text-align:left}
.aq-mount *,.aq-mount *::before,.aq-mount *::after{box-sizing:border-box}
.aq-loading{display:flex;align-items:center;justify-content:center;gap:6px;padding:60px 20px;font:600 15px/1 "Red Hat Display",sans-serif;color:var(--aq-muted)}
.aq-loading span{width:8px;height:8px;border-radius:50%;background:var(--aq-acc);animation:aq-dot 1s infinite ease-in-out}
.aq-loading span:nth-child(2){animation-delay:.15s}.aq-loading span:nth-child(3){animation-delay:.3s;margin-right:8px}
@keyframes aq-dot{0%,80%,100%{opacity:.25;transform:scale(.8)}40%{opacity:1;transform:none}}
.aq-fail{padding:30px;border-radius:16px;background:#fff4ec;color:#9a3d10;font-size:15px}
.aq-form{margin:0;animation:aq-in .5s ease}
@keyframes aq-in{from{opacity:0;transform:translateY(10px)}}
.aq-hp{position:absolute!important;left:-9999px!important;width:1px;height:1px;overflow:hidden}
.aq-sec{margin:0 0 26px;padding:0;border:0;min-width:0}
.aq-sec>legend{display:flex;align-items:center;gap:12px;width:100%;padding:0 0 16px;margin:0 0 4px;border-bottom:1px solid var(--aq-line);font:800 18px/1.3 "Red Hat Display",sans-serif;color:var(--aq-ink)}
.aq-sec>legend .n{flex:0 0 auto;width:30px;height:30px;border-radius:50%;display:grid;place-items:center;background:var(--aq-acc);color:#fff;font-size:14px}
.aq-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px 18px;padding-top:16px}
.aq-f{grid-column:1/-1;display:flex;flex-direction:column;gap:7px;min-width:0;margin:0;padding:0;border:0}
.aq-f.half{grid-column:span 1}
.aq-f>label,.aq-f>legend,.aq-f .aq-lab{font:700 14.5px/1.35 "Red Hat Display",sans-serif;color:var(--aq-ink);padding:0;margin:0}
.aq-f>legend{margin-bottom:9px}
.aq-f i{color:var(--aq-cta);font-style:normal}
.aq-f .opt{font-weight:500;color:#8a90a0;font-size:13px}
.aq-mount input[type=text],.aq-mount input[type=search],.aq-mount input[type=email],.aq-mount input[type=tel],.aq-mount input[type=url],.aq-mount input[type=number],.aq-mount input[type=date],.aq-mount select,.aq-mount textarea{width:100%;margin:0;padding:13px 15px;border-radius:14px;border:1.5px solid var(--aq-line);background:#fff;font:500 15px/1.4 "Red Hat Text",sans-serif;color:var(--aq-ink);box-shadow:none;transition:border-color .2s,box-shadow .2s;min-height:50px}
.aq-mount textarea{min-height:110px;resize:vertical}
.aq-mount select{appearance:none;-webkit-appearance:none;background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%235d6273' stroke-width='1.8'/%3E%3C/svg%3E");background-repeat:no-repeat;background-position:right 15px center;padding-right:40px}
.aq-mount input:focus,.aq-mount select:focus,.aq-mount textarea:focus{outline:none;border-color:var(--aq-acc);box-shadow:0 0 0 4px color-mix(in srgb,var(--aq-acc) 14%,transparent)}
.aq-mount ::placeholder{color:#a0a6b5}
.aq-help{font-size:13px;color:#8a90a0}
.aq-opts{display:flex;flex-wrap:wrap;gap:8px}
.aq-chip{position:relative;cursor:pointer;margin:0}
.aq-chip input{position:absolute;opacity:0;width:1px;height:1px}
.aq-chip span{display:inline-flex;align-items:center;gap:8px;padding:10px 15px;border-radius:20px;border:1.5px solid var(--aq-line);background:#fff;font:600 14px/1.2 "Red Hat Display",sans-serif;color:#4a5068;transition:all .2s}
.aq-chip span::before{content:"";width:16px;height:16px;border-radius:5px;border:1.5px solid #c9d4ee;background:#fff;flex:0 0 auto;transition:all .2s}
.aq-chip input[type=radio]+span::before{border-radius:50%}
.aq-chip:hover span{border-color:color-mix(in srgb,var(--aq-acc) 40%,#fff)}
.aq-chip input:checked+span{border-color:var(--aq-acc);background:color-mix(in srgb,var(--aq-acc) 7%,#fff);color:var(--aq-ink)}
.aq-chip input:checked+span::before{background:var(--aq-acc) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='8' viewBox='0 0 10 8'%3E%3Cpath d='M1 4l3 3 5-6' fill='none' stroke='%23fff' stroke-width='1.8'/%3E%3C/svg%3E") center no-repeat;border-color:var(--aq-acc)}
.aq-chip input:focus-visible+span{outline:3px solid var(--aq-cta);outline-offset:2px}
.aq-drop{position:relative;display:flex;align-items:center;gap:14px;padding:16px 18px;border-radius:16px;border:1.5px dashed #c9d4ee;background:var(--aq-pale);cursor:pointer;transition:all .2s}
.aq-drop:hover,.aq-drop.drag{border-color:var(--aq-acc);background:color-mix(in srgb,var(--aq-acc) 5%,#fff)}
.aq-drop.has-file{border-style:solid;border-color:var(--aq-acc);background:#fff}
.aq-drop input{position:absolute;opacity:0;width:1px;height:1px}
.aq-drop:focus-within{outline:3px solid var(--aq-cta);outline-offset:2px}
.aq-drop .ic{flex:0 0 auto;width:44px;height:44px;border-radius:12px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='22' height='22' viewBox='0 0 24 24' fill='none' stroke='%235552cc' stroke-width='1.9' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M7 3h7l5 5v13H7zM14 3v5h5M12 18v-6M9.5 14.5L12 12l2.5 2.5'/%3E%3C/svg%3E") center no-repeat;box-shadow:0 2px 8px rgba(42,67,113,.08)}
.aq-drop .tx{font-size:14.5px;color:var(--aq-muted);line-height:1.4}
.aq-drop .tx b{color:var(--aq-acc);word-break:break-all}
.aq-drop .tx small{display:block;font-size:12.5px;color:#8a90a0;margin-top:2px}
.aq-err{font-size:13px;font-weight:600;color:#c2410c;min-height:0}
.aq-err:empty{display:none}
.has-err input,.has-err select,.has-err textarea{border-color:#f0a07a!important}
.has-err .aq-chip span,.has-err .aq-drop{border-color:#f0a07a}
.aq-foot{padding-top:6px}
.aq-consent{display:flex;flex-wrap:wrap;align-items:flex-start;gap:10px;padding:14px 16px;border-radius:14px;background:var(--aq-pale);font-size:14px;line-height:1.55;cursor:pointer;margin:0}
.aq-consent input{margin:3px 0 0;width:18px;height:18px;accent-color:var(--aq-acc);flex:0 0 auto}
.aq-consent>span:first-of-type{flex:1;min-width:200px}
.aq-consent a{color:var(--aq-acc);font-weight:700;text-decoration:underline}
.aq-consent .aq-err{flex-basis:100%}
.aq-note{margin:14px 0 0;padding:12px 16px;border-radius:12px;background:#fff8e6;border:1px solid #f5dc93;color:#7a5b00;font-size:14px}
.aq-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 20px;margin-top:20px}
.aq-submit{display:inline-flex;align-items:center;gap:10px;border:0;cursor:pointer;padding:16px 30px;border-radius:30px;background:var(--aq-cta);color:#fff;font:800 16px/1 "Red Hat Display",sans-serif;box-shadow:0 10px 24px rgba(252,75,16,.28);transition:transform .2s,box-shadow .2s,background .2s}
.aq-submit:hover{transform:translateY(-2px);box-shadow:0 14px 30px rgba(252,75,16,.34)}
.aq-submit:focus-visible{outline:3px solid var(--aq-ink);outline-offset:3px}
.aq-submit i{font-style:normal;transition:transform .2s}
.aq-submit:hover i{transform:translateX(3px)}
.aq-submit.busy{pointer-events:none;opacity:.85}
.aq-submit.busy i{width:16px;height:16px;border:2.5px solid rgba(255,255,255,.4);border-top-color:#fff;border-radius:50%;font-size:0;animation:aq-spin .7s linear infinite}
@keyframes aq-spin{to{transform:rotate(360deg)}}
.aq-small{margin:0;font-size:13.5px;color:#8a90a0}
.aq-summary{margin-top:12px;font-weight:700;color:#c2410c;font-size:14.5px}
.aq-summary:empty{display:none}
.aq-success{text-align:center;padding:30px 10px;outline:none;animation:aq-in .5s ease}
.aq-tick svg{width:76px;height:76px;fill:none;stroke-width:3;stroke-linecap:round;stroke-linejoin:round}
.aq-tick circle{stroke:#16a34a;stroke-dasharray:160;stroke-dashoffset:160;animation:aq-draw .7s ease forwards}
.aq-tick path{stroke:#16a34a;stroke-dasharray:40;stroke-dashoffset:40;animation:aq-draw .4s ease .6s forwards}
@keyframes aq-draw{to{stroke-dashoffset:0}}
.aq-success h3{margin:14px 0 10px;font:900 24px/1.3 "Red Hat Display",sans-serif;color:var(--aq-ink)}
.aq-success p{font-size:16px;line-height:1.65;margin:0 0 14px}
.aq-success a{color:var(--aq-acc);font-weight:700}
.aq-next{display:inline-flex;flex-direction:column;gap:10px;text-align:left;margin:6px 0 18px;padding:0;list-style:none;counter-reset:n}
.aq-next li{position:relative;padding-left:40px;font:600 15px/1.5 "Red Hat Display",sans-serif;color:var(--aq-ink);counter-increment:n}
.aq-next li::before{content:counter(n);position:absolute;left:0;top:-2px;width:28px;height:28px;border-radius:50%;background:color-mix(in srgb,var(--aq-acc) 12%,#fff);color:var(--aq-acc);display:grid;place-items:center;font-size:13px;font-weight:800}
@media (max-width:700px){.aq-grid{grid-template-columns:1fr}.aq-f.half{grid-column:1/-1}.aq-submit{width:100%;justify-content:center}.aq-sec>legend{font-size:17px}}
@media (prefers-reduced-motion:reduce){.aq-form,.aq-success,.aq-loading span{animation:none}.aq-tick circle,.aq-tick path{animation:none;stroke-dashoffset:0}}
.aq-f[hidden]{display:none!important}
.aq-reveal{animation:aq-in .4s ease}

/* catalog picker */
.aq-cat{display:flex;flex-direction:column;gap:12px}
.aq-cat-search{position:relative}
.aq-mount .aq-cat-search input{padding-left:44px;background:#fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='18' height='18' viewBox='0 0 24 24' fill='none' stroke='%238a90a0' stroke-width='2' stroke-linecap='round'%3E%3Ccircle cx='11' cy='11' r='7'/%3E%3Cpath d='M21 21l-5-5'/%3E%3C/svg%3E") 15px center no-repeat}
.aq-cat-list{position:absolute;z-index:20;left:0;right:0;top:calc(100% + 6px);max-height:280px;overflow:auto;margin:0;padding:6px;list-style:none;background:#fff;border:1px solid var(--aq-line);border-radius:14px;box-shadow:0 14px 34px rgba(42,67,113,.16)}
.aq-cat-list li{padding:10px 12px;border-radius:10px;font:600 14px/1.3 "Red Hat Display",sans-serif;color:var(--aq-ink);cursor:pointer}
.aq-cat-list li:hover,.aq-cat-list li.on{background:color-mix(in srgb,var(--aq-acc) 9%,#fff);color:var(--aq-acc)}
.aq-cat-list li.none{cursor:default;color:#8a90a0;font-weight:500}
.aq-cat-sel{display:flex;flex-direction:column;gap:8px}
.aq-cat-empty{margin:0;padding:14px 16px;border-radius:12px;border:1.5px dashed #d6deef;color:#8a90a0;font-size:14px}
.aq-cat-row{display:flex;align-items:center;gap:12px;padding:10px 12px 10px 16px;border-radius:14px;background:color-mix(in srgb,var(--aq-acc) 6%,#fff);border:1.5px solid color-mix(in srgb,var(--aq-acc) 30%,#fff);animation:aq-in .3s ease}
.aq-cat-row .nm{flex:1;font:700 14.5px/1.3 "Red Hat Display",sans-serif;color:var(--aq-ink);word-break:break-word}
.aq-cat-row .qt{display:flex;align-items:center;gap:6px;font-size:13px;color:var(--aq-muted);margin:0}
.aq-mount .aq-cat-row .qt input{width:84px;min-height:40px;padding:8px 10px}
.aq-cat-row .rm{flex:0 0 auto;width:34px;height:34px;border:0;border-radius:10px;background:#fff;color:#c2410c;font-size:18px;cursor:pointer}
@media (max-width:700px){.aq-cat-row{flex-wrap:wrap}.aq-cat-row .nm{flex-basis:100%}}
.aq-mount .aq-cat-search input[type=search]{width:100%!important;max-width:100%!important;margin:0!important;box-sizing:border-box!important;-webkit-appearance:none;appearance:none}
.aq-mount .aq-cat-search input[type=search]::-webkit-search-cancel-button{cursor:pointer}
