.fdv-quote{--fdv-navy:#073b64;--fdv-orange:#ff6900;max-width:1100px;margin:24px auto;padding:clamp(16px,2.4vw,28px);border:1px solid #dbe2e8;border-radius:14px;background:#fff;color:#193448;font:15px/1.45 system-ui,sans-serif;box-sizing:border-box}
.fdv-quote *{box-sizing:border-box}.fdv-quote h2{font-size:clamp(25px,3vw,34px);line-height:1.2;margin:0 0 10px}.fdv-quote p{margin:10px 0 14px}.fdv-quote label{display:block;font:600 14px/1.4 system-ui,sans-serif;margin:0;min-width:0}
/* Explicit sizing protects controls from theme/Elementor height and padding rules. */
.fdv-quote .fdv-form input:not([type=checkbox]),.fdv-quote .fdv-form select,.fdv-quote .fdv-row input{display:block;width:100%;height:42px!important;min-height:42px!important;max-height:none!important;line-height:22px!important;padding:9px 12px!important;margin:5px 0 0!important;border:1px solid #a7b7c4;border-radius:7px;background-color:#fff;color:#193448;font-family:inherit!important;font-size:15px!important;font-weight:400!important;box-shadow:none;box-sizing:border-box!important}
.fdv-quote .fdv-form select{height:46px!important;min-height:46px!important;line-height:normal!important;padding:10px 36px 10px 12px!important;appearance:auto!important;-webkit-appearance:menulist!important;background-image:none!important;text-overflow:ellipsis}
.fdv-quote input.fdv-search{display:block;width:100%;height:50px;min-height:50px;line-height:24px;padding:12px 20px;margin:7px 0 0;border:1.5px solid #193448;border-radius:28px;background:#fff;color:#193448;font:400 16px/24px system-ui,sans-serif;box-shadow:none}
.fdv-fields{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:12px 16px;margin-top:18px}.fdv-fields label:first-child{grid-column:1/-1;max-width:520px;width:100%;margin-bottom:2px}
.fdv-results{margin:12px 0 18px}.fdv-results:empty{display:none}.fdv-result{display:grid;grid-template-columns:72px minmax(0,1fr) auto;align-items:center;gap:16px;padding:14px 16px;border:1px solid #e1e5e9;border-radius:10px;background:#fff;box-shadow:0 6px 18px #1934481c;margin:8px 0}
.fdv-thumb{display:flex;align-items:center;justify-content:center;width:72px;height:72px;overflow:hidden;border-radius:8px;background:#fff;flex-shrink:0}.fdv-thumb img{display:block;width:100%!important;height:100%!important;max-width:100%;object-fit:contain;padding:3px}.fdv-no-image{background:#f1f4f6;color:#627584;text-align:center;font:400 11px/1.3 system-ui,sans-serif;padding:6px}
.fdv-product-info{min-width:0}.fdv-product-info strong{display:block;color:#334e61;font-size:16px;font-weight:600;line-height:1.35;overflow-wrap:anywhere}.fdv-product-meta{display:flex;flex-wrap:wrap;gap:6px 14px;margin-top:5px;align-items:center;font-size:15px}.fdv-sku{color:#c64c00;font-weight:700}.fdv-price{color:#334e61;font-weight:700}
.fdv-quote button,.fdv-status a{border:0;border-radius:7px;background:var(--fdv-navy);color:#fff;padding:10px 15px;font:600 14px/1.4 system-ui,sans-serif;cursor:pointer;min-height:42px;text-transform:none;letter-spacing:normal;margin:0;white-space:normal}.fdv-quote .fdv-add{background:var(--fdv-orange);color:#fff;min-width:112px;font-size:16px;padding:12px 20px}.fdv-quote .fdv-add:hover{background:#db5700}.fdv-quote button:disabled{opacity:.5;cursor:wait}
.fdv-row{display:grid;grid-template-columns:64px minmax(0,1fr) 100px auto;align-items:center;gap:10px 16px;padding:16px 0;border-bottom:1px solid #dbe2e8}.fdv-row .fdv-thumb{width:64px;height:64px;grid-row:1/3}.fdv-row .fdv-product-info{grid-column:2}.fdv-row>label{grid-column:3;grid-row:1}.fdv-row>button{grid-column:4;grid-row:1;background:#edf2f6;color:#234458}.fdv-line-amount{grid-column:2/-1;color:#36556a;font-size:13px;overflow-wrap:anywhere}
.fdv-totals{padding:10px 18px;margin:16px 0;background:#edf5f8;border-radius:8px;text-align:right}.fdv-totals:empty{display:none}.fdv-totals p{margin:5px 0}.fdv-totals p:last-child{font-size:23px;font-weight:700}.fdv-actions{display:flex;flex-wrap:wrap;gap:10px;margin-top:16px}.fdv-status{padding:8px 0;overflow-wrap:anywhere}.fdv-status a{display:inline-block}.fdv-quote .fdv-form>p{font-size:13px;color:#536c7c;margin:14px 0}.fdv-quote .fdv-form>label{font-size:13px;font-weight:400}.fdv-quote input[type=checkbox]{appearance:auto!important;width:16px;height:16px;min-height:0;margin:0 6px 0 0;vertical-align:middle}.fdv-quote :focus-visible{outline:3px solid #e59d25;outline-offset:3px}
@media(max-width:760px){.fdv-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.fdv-result{gap:12px;padding:12px}.fdv-quote .fdv-add{min-width:90px}}
@media(max-width:480px){.fdv-quote{padding:16px;margin:14px auto}.fdv-fields{grid-template-columns:1fr;gap:10px}.fdv-fields label:first-child{max-width:none}.fdv-result{grid-template-columns:56px minmax(0,1fr);gap:8px 12px}.fdv-result .fdv-thumb{width:56px;height:56px}.fdv-result .fdv-add{grid-column:2;justify-self:start;min-height:38px;padding:8px 18px}.fdv-product-info strong{font-size:14px}.fdv-product-meta{font-size:13px;gap:4px 10px}.fdv-row{grid-template-columns:54px minmax(0,1fr) 85px;gap:8px}.fdv-row .fdv-thumb{width:54px;height:54px;grid-row:1}.fdv-row>label{grid-column:3}.fdv-row>button{grid-column:3;grid-row:2;padding:6px;min-height:34px;font-size:12px}.fdv-line-amount{grid-column:1/3;grid-row:2}.fdv-actions button{width:100%}.fdv-quote .fdv-form input:not([type=checkbox]),.fdv-quote .fdv-form select,.fdv-quote .fdv-row input{font-size:16px!important}}
/* 0.2.1: contain the search control even under Elementor content-box rules. */
.fdv-quote.fdv-quote{width:100%;max-width:1100px;padding:24px;overflow-wrap:anywhere;box-sizing:border-box!important}
.fdv-quote.fdv-quote h2{font:700 30px/1.2 system-ui,sans-serif!important;letter-spacing:-.4px;margin:0 0 8px!important;color:#193448}
.fdv-quote.fdv-quote>p{font:400 15px/1.45 system-ui,sans-serif;margin:0 0 18px}
.fdv-quote.fdv-quote input.fdv-search{box-sizing:border-box!important;display:block!important;width:100%!important;max-width:100%!important;min-width:0!important;height:46px!important;min-height:46px!important;max-height:46px!important;padding:10px 16px!important;line-height:24px!important;border-width:1.5px!important;border-radius:9px!important;margin:6px 0 0!important;font:400 16px/24px system-ui,sans-serif!important;box-shadow:none!important}
.fdv-quote .fdv-lines>p{background:#f4f7fa;border:1px dashed #c8d5df;border-radius:8px;padding:14px 16px;font-size:14px;color:#536c7c;margin:14px 0}
.fdv-quote .fdv-fields{gap:10px 14px;margin-top:16px}.fdv-quote .fdv-fields>label:first-child{max-width:440px}
.fdv-quote .fdv-actions{padding-top:14px;border-top:1px solid #e2e9ee;gap:8px}.fdv-quote .fdv-actions button[data-mode=whatsapp]{background:#157347}.fdv-quote .fdv-actions button[data-mode=email]{background:#fff;color:#073b64;border:1px solid #9cb2c2}.fdv-quote .fdv-actions button:hover{filter:brightness(.94)}
.fdv-quote .fdv-status:empty{display:none}
@media(max-width:480px){.fdv-quote.fdv-quote{padding:16px}.fdv-quote.fdv-quote h2{font-size:25px!important}.fdv-quote .fdv-fields>label:first-child{max-width:100%}}
/* Ferretería De Valle brand palette, sampled from the supplied logo. */
.fdv-quote.fdv-quote{--fdv-navy:#2e3c85;--fdv-orange:#ff6000;border-top:4px solid var(--fdv-orange);color:#29365d}
.fdv-quote.fdv-quote h2{color:#2e3c85}.fdv-quote .fdv-result{border-left:3px solid #ff6000;border-radius:6px;box-shadow:0 4px 14px #2e3c8512}.fdv-quote .fdv-product-info strong{color:#2e3c85}.fdv-quote .fdv-sku{color:#a63e00}.fdv-quote .fdv-add{background:#ff6000;color:#17204c;border-radius:5px;font-weight:700}.fdv-quote .fdv-add:hover{background:#f58b4b}.fdv-quote .fdv-totals{background:#f0f2fa;border-left:3px solid #ff6000;color:#2e3c85}.fdv-quote .fdv-totals p:last-child{background:#2e3c85;color:#fff;padding:8px 12px;border-radius:4px;margin-top:10px}.fdv-quote .fdv-fields>label:first-child select{border-left:3px solid #ff6000}.fdv-quote .fdv-actions button[data-mode=pdf]{background:#ff6000;color:#17204c}.fdv-quote .fdv-actions button[data-mode=whatsapp]{background:#2e3c85;color:#fff}.fdv-quote .fdv-actions button[data-mode=email]{border-color:#2e3c85;color:#2e3c85;background:#fff}.fdv-quote .fdv-lines>p{border-color:#e9c6ad;background:#fff7f1}.fdv-quote :focus-visible{outline-color:#2e3c85}
/* Results scroll independently on desktop and touch screens. */
.fdv-quote .fdv-results{max-height:420px;max-height:min(420px,55dvh);overflow-y:auto;overflow-x:hidden;overscroll-behavior-y:contain;scrollbar-gutter:stable;scrollbar-width:thin;scrollbar-color:#2e3c85 #edf0f7;padding:2px 5px 2px 2px;-webkit-overflow-scrolling:touch}
.fdv-quote .fdv-results::-webkit-scrollbar{width:8px}.fdv-quote .fdv-results::-webkit-scrollbar-track{background:#edf0f7;border-radius:6px}.fdv-quote .fdv-results::-webkit-scrollbar-thumb{background:#2e3c85;border-radius:6px}
@media(max-width:600px){.fdv-quote .fdv-results{max-height:340px;max-height:min(340px,50dvh)}}
