.graham-quote-add{display:inline-flex;align-items:center;background:none;border:0;color:#075b9d;cursor:pointer;font:inherit;font-size:12px;padding:6px 0;gap:5px}
.graham-quote-feedback:not(:empty){position:fixed;bottom:20px;right:18px;max-width:min(360px,90vw);background:#fff;color:#173343;border:1px solid #cbdce6;box-shadow:0 5px 20px #183b541a;padding:14px 18px;border-radius:10px;z-index:90}
body:has(#graham-quote-page) .graham-quote-feedback{display:none}
#graham-quote-page{--quote-blue:#075b9d;box-sizing:border-box;max-width:1200px;width:100%;margin:32px auto;padding:0 20px;color:#173343;font-size:15px;line-height:1.5}
#graham-quote-page *{box-sizing:border-box}
#graham-quote-page .graham-quote-heading{margin-bottom:26px}
#graham-quote-page .graham-quote-verification-notice{margin:0 0 22px;width:100%;overflow-wrap:anywhere}
#graham-quote-page h2{font-size:clamp(26px,3vw,36px);line-height:1.2;margin:4px 0 12px;color:#183b54;font-weight:750}
#graham-quote-page h3{font-size:19px;line-height:1.3;margin:0;color:#183b54;font-weight:700}
.graham-quote-heading p,.graham-quote-help{color:#607383;margin:8px 0 0}
.graham-quote-layout{display:grid;grid-template-columns:minmax(0,1.35fr) minmax(0,1fr);gap:24px;align-items:start}
.graham-quote-products,#graham-quote-submit{background:#fff;border:1px solid #dce5eb;border-radius:14px;padding:24px;min-width:0;box-shadow:0 4px 18px #183b5407}
.graham-quote-section-heading{display:flex;gap:12px;align-items:center;justify-content:space-between;padding-bottom:16px;border-bottom:1px solid #e5edf2}
.graham-quote-summary{white-space:nowrap;font-size:13px;color:#607383;background:#f1f6f9;border-radius:20px;padding:4px 10px}
.graham-quote-row{display:grid;grid-template-columns:minmax(0,1fr) 90px 80px;gap:12px;align-items:center;padding:20px 0;border-bottom:1px solid #e5edf2}
.graham-quote-product{display:flex;gap:12px;min-width:0;align-items:center;grid-column:1/-1}
.graham-quote-product img{width:72px;height:72px;object-fit:contain;background:#fff;border:1px solid #edf2f5;border-radius:8px;flex-shrink:0}
.graham-quote-product a,.graham-quote-product strong{font-size:15px;font-weight:650;color:#183b54;text-decoration:none;overflow-wrap:anywhere}
.graham-quote-product a:hover{text-decoration:underline;color:#075b9d}
.graham-quote-row small{display:block;color:#627482;font-size:12px;margin-top:5px}.graham-quote-row label{font-size:12px;font-weight:650;margin:0}
.graham-quote-row label:first-of-type{grid-column:2;grid-row:2}.graham-quote-row label:nth-of-type(2){grid-column:3;grid-row:2}
#graham-quote-page input,#graham-quote-page select,#graham-quote-page textarea{display:block;width:100%;min-width:0;border:1px solid #b8cbd8;border-radius:7px;padding:10px;margin-top:6px;background:white;color:#173343;font:inherit;font-size:16px;min-height:44px;box-shadow:none}
#graham-quote-page textarea{resize:vertical}
#graham-quote-page :is(input,select,textarea,button,a):focus-visible{outline:2px solid #075b9d;outline-offset:3px}
#graham-quote-submit{margin:0}#graham-quote-submit>h3{margin-bottom:4px}#graham-quote-submit>.graham-quote-help{margin-bottom:20px;font-size:13px}
#graham-quote-submit label{display:block;margin:0 0 16px;font-size:13px;font-weight:650}#graham-quote-submit label small{font-weight:400;color:#607383}
.graham-quote-contact{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:0 16px}
#graham-quote-submit .button{background:#075b9d;color:white;border:0;border-radius:8px;padding:14px 20px;font:inherit;font-weight:700;width:100%;min-height:48px;cursor:pointer}
#graham-quote-submit .button:hover{background:#064b81}#graham-quote-submit .button:disabled{opacity:.5;cursor:not-allowed}
.graham-quote-account-summary{background:#f3f8fb;border:1px solid #cbdde8;border-left:4px solid #149447;border-radius:8px;margin:16px 0 18px;padding:14px 15px}
.graham-quote-account-summary>span{color:#607383;display:block;font-size:11px;font-weight:800;letter-spacing:.05em;text-transform:uppercase}
.graham-quote-account-summary strong{color:#173343;display:block;font-size:17px;line-height:1.3;margin-top:3px}
.graham-quote-account-summary p{color:#405a6d;font-size:13px;line-height:1.45;margin:4px 0 0;overflow-wrap:anywhere}
.graham-quote-account-summary small{color:#607383;display:block;font-size:12px;margin-top:5px}
.graham-quote-submit-account>label{margin-top:0}
.graham-quote-remove{grid-row:2;grid-column:1;justify-self:start;border:1px solid #e5d8d8;border-radius:6px;background:white;color:#a32c2c;cursor:pointer;padding:8px 12px;font:inherit;font-size:13px;min-height:44px}
.graham-quote-browse{display:inline-block;margin-top:20px;font-weight:650;font-size:14px;color:#075b9d}
.graham-quote-cancel{align-self:center;background:#fff;border:1px solid #b9c9d4;border-radius:6px;color:#435f72;cursor:pointer;font:inherit;font-size:13px;font-weight:700;min-height:38px;padding:7px 12px;white-space:nowrap}
.graham-quote-cancel:hover{border-color:#a52b3c;color:#a52b3c}.graham-quote-cancel:disabled{cursor:wait;opacity:.55}
.graham-quote-cancel.is-confirming{background:#fff3f4;border-color:#a52b3c;color:#8d1f31}
.graham-quote-progress.is-cancelled .graham-quote-progress-dot{background:#8a9aa6}
#graham-quote-submit .graham-quote-trap{display:none}.graham-quote-result:not(:empty){font-weight:600;background:#eff7fc;border-left:3px solid #075b9d;padding:14px;margin:18px 0 0;overflow-wrap:anywhere}
button.graham-quote-add:disabled{opacity:1;cursor:not-allowed}
button.graham-quote-add.is-basket,button.graham-quote-add.is-requested{color:#788995}
button.graham-quote-add.is-quoted{color:#149447}
button.graham-quote-add:is(.is-basket,.is-requested,.is-quoted) .graham-save-icon{color:currentColor}
.graham-header-quote{flex-shrink:0;text-decoration:none;min-height:32px}.graham-header-quote svg{display:block;width:19px;height:19px}.graham-header-quote.graham-header-account .graham-quote-label,.graham-header-quote.graham-header-account .graham-quote-count:not(:empty){display:inline}
@media(max-width:900px){.graham-quote-layout{grid-template-columns:1fr}.graham-quote-products,#graham-quote-submit{padding:20px}}
@media(max-width:480px){#graham-quote-page{margin:22px auto;padding:0 12px}.graham-quote-products,#graham-quote-submit{padding:16px}.graham-quote-contact{grid-template-columns:1fr}.graham-quote-row{grid-template-columns:minmax(0,1fr) 82px 76px;gap:8px}.graham-quote-product img{width:60px;height:60px}.graham-quote-section-heading h3{font-size:17px}}
#graham-quote-page :is(input,select,textarea){font-weight:400}
/* Keep the quote form's own heading; remove the theme's duplicate page title. */
body.graham-quote-request-page .entry-header,body.graham-quote-request-page .wp-block-post-title,body.graham-quote-request-page .page-header{display:none!important}
@media(max-width:767px){body.graham-quote-request-page #graham-quote-page{padding-top:14px;margin-top:0}.graham-quote-heading{margin-bottom:18px}}

/* 0.13.371: align quote quantities and UOMs with the storefront purchase controls. */
#graham-quote-page .graham-quote-row {
    align-items: end;
    gap: 12px;
    grid-template-columns: minmax(0, 1fr) 90px 92px 32px;
    padding: 16px 0;
}

#graham-quote-page .graham-quote-product {
    grid-column: 1;
    min-height: 72px;
}

#graham-quote-page .graham-quote-row > label {
    display: grid;
    gap: 4px;
    grid-column: auto;
    grid-row: auto;
    margin: 0;
    min-width: 0;
}

#graham-quote-page .graham-quote-row > label:first-of-type,
#graham-quote-page .graham-quote-row > label:nth-of-type(2) {
    grid-column: auto;
    grid-row: auto;
}

#graham-quote-page .graham-quote-row :is(input, select) {
    height: 42px;
    margin: 0;
    min-height: 42px;
    padding-bottom: 6px;
    padding-top: 6px;
}

#graham-quote-page .graham-quote-remove {
    align-self: end;
    grid-column: auto;
    grid-row: auto;
    justify-self: center;
    margin-bottom: 5px;
    min-height: 32px;
    padding: 0;
}

#graham-quote-page .graham-quote-empty {
    color: #607383;
    margin: 18px 0 4px;
}

@media(max-width:680px) {
    #graham-quote-page .graham-quote-row {
        align-items: end;
        grid-template-columns: minmax(0, 1fr) 82px 32px;
    }

    #graham-quote-page .graham-quote-product {
        grid-column: 1 / -1;
    }

    #graham-quote-page .graham-quote-uom {
        grid-column: 1;
    }

    #graham-quote-page .graham-quote-quantity {
        grid-column: 2;
    }

    #graham-quote-page .graham-quote-remove {
        grid-column: 3;
    }
}

body.graham-quote-request-page .entry-title{display:none!important}

/* 0.13.379: compact customer-facing request progress. */
.graham-quote-progress-list{background:#fff;border:1px solid #d5e2eb;border-radius:8px;margin:0 0 18px;overflow:hidden}
.graham-quote-progress-heading{background:#f1f7fa;border-bottom:1px solid #d5e2eb;padding:14px 18px}
.graham-quote-progress-heading h3{font-size:17px;margin:0 0 2px}
.graham-quote-progress-heading p{color:#607383;font-size:13px;margin:0}
.graham-quote-progress{align-items:center;border-bottom:1px solid #e4edf2;display:grid;gap:12px;grid-template-columns:10px minmax(0,1fr) auto;padding:13px 18px}
.graham-quote-progress:last-child{border-bottom:0}
.graham-quote-progress-dot{background:#7b8c98;border-radius:50%;height:9px;width:9px}
.graham-quote-progress.is-pricing .graham-quote-progress-dot{background:#d29413}
.graham-quote-progress.is-ready .graham-quote-progress-dot{background:#159947}
.graham-quote-progress small,.graham-quote-progress strong{display:block}
.graham-quote-progress small{color:#607383;font-size:11px;font-weight:700}
.graham-quote-progress strong{font-size:14px;margin:1px 0}
.graham-quote-progress p{color:#526d80;font-size:13px;line-height:1.35;margin:0}
.graham-quote-progress .button{margin:0;white-space:nowrap}
@media(max-width:600px){
 .graham-quote-progress{grid-template-columns:10px minmax(0,1fr)}
 .graham-quote-progress :is(.button,.graham-quote-cancel){grid-column:2;justify-self:start;max-width:100%;min-height:44px;white-space:normal}
}

/* The quote page owns the full phone canvas; theme content widths must not narrow it. */
@media(max-width:900px){
 body.graham-quote-request-page .wp-site-blocks main,
 body.graham-quote-request-page main,
 body.graham-quote-request-page .entry-content,
 body.graham-quote-request-page .wp-block-post-content,
 body.graham-quote-request-page .woocommerce{box-sizing:border-box!important;margin-left:0!important;margin-right:0!important;max-width:none!important;padding-left:2px!important;padding-right:2px!important;width:100%!important}
 body.graham-quote-request-page #graham-quote-page{box-sizing:border-box!important;margin:8px 0 0!important;max-width:none!important;padding:0 2px!important;width:100%!important}
 body.graham-quote-request-page .graham-quote-layout{gap:10px!important;grid-template-columns:minmax(0,1fr)!important;width:100%!important}
 body.graham-quote-request-page .graham-quote-products,
 body.graham-quote-request-page #graham-quote-submit{border-radius:8px;padding:12px!important;width:100%!important}
 body.graham-quote-request-page .graham-quote-heading{margin-bottom:10px}
}

@media(max-width:600px){
 body.graham-quote-request-page .graham-quote-row{align-items:end;gap:8px;grid-template-columns:minmax(0,1fr) minmax(0,1fr);padding:12px 0}
 body.graham-quote-request-page .graham-quote-product{gap:9px;grid-column:1/-1;grid-row:1;align-items:center}
 body.graham-quote-request-page .graham-quote-product img{height:68px;width:68px}
 body.graham-quote-request-page .graham-quote-product a,
 body.graham-quote-request-page .graham-quote-product strong{font-size:0.88rem;line-height:1.28}
 body.graham-quote-request-page .graham-quote-row label:first-of-type{grid-column:1;grid-row:2}
 body.graham-quote-request-page .graham-quote-row label:nth-of-type(2){grid-column:2;grid-row:2}
 body.graham-quote-request-page .graham-quote-remove{grid-column:1/-1;grid-row:3;justify-self:start;margin-top:0;min-height:36px;padding:6px 10px}
 body.graham-quote-request-page .graham-quote-section-heading{gap:8px;padding-bottom:10px}
 body.graham-quote-request-page .graham-quote-section-heading h3{font-size:1rem}
 body.graham-quote-request-page .graham-quote-summary{font-size:0.75rem;padding:3px 7px}
 body.graham-quote-request-page .graham-quote-browse{margin-top:12px}
}
