/* 2026-11-06: Art Prof Group compact, progressive 3-step constructor.
   This file is loaded ONLY on /contact/, never on service pages. */
#detailed-quote.apg-compact-builder .quote-stage:not(.apg-active-stage){display:none!important}
#detailed-quote.apg-compact-builder .quote-journey{
 display:grid!important;grid-template-columns:repeat(3,minmax(0,1fr))!important;
 margin:9px 0 12px!important;padding:5px!important;gap:5px!important;
 border:1px solid #e5d8bf!important;background:#f9f5eb!important;border-radius:10px!important
}
#detailed-quote.apg-compact-builder .apg-step-tab{
 min-width:0;min-height:43px;display:flex;align-items:center;justify-content:center;
 gap:7px;padding:7px 8px;border:1px solid transparent;border-radius:7px;
 color:#40505a;background:transparent;cursor:pointer;font-size:15px;font-weight:750;
 font-family:inherit;white-space:normal;line-height:1.2;text-align:center
}
#detailed-quote.apg-compact-builder .apg-step-tab[aria-current=step]{
 background:white;color:#583d12;border-color:#c69b49;box-shadow:0 2px 7px #3d331217
}
#detailed-quote.apg-compact-builder .apg-step-tab:focus-visible{outline:3px solid #d9b65f;outline-offset:1px}
#detailed-quote.apg-compact-builder .apg-step-number{
 display:inline-grid;place-items:center;flex:none;width:23px;height:23px;
 background:#efe2c7;border-radius:6px;color:#75521b;font-size:14px
}
#detailed-quote.apg-compact-builder .apg-step-tab[aria-current=step] .apg-step-number{
 background:#bd943e;color:#fff
}
#detailed-quote.apg-compact-builder .quote-stage{
 margin:0!important;padding:13px!important;border:1px solid #e3d6bc!important;
 border-radius:9px!important;background:#fff!important;box-shadow:none!important
}
#detailed-quote.apg-compact-builder .quote-section-id{
 font-size:15px!important;margin-bottom:8px!important;gap:7px!important;letter-spacing:0!important
}
#detailed-quote.apg-compact-builder .quote-section-id b{
 width:25px;height:25px;min-width:25px;font-size:14px;border-radius:6px
}
#detailed-quote.apg-compact-builder .quote-stage .quote-block-head{
 margin:0 0 8px!important
}
#detailed-quote.apg-compact-builder .quote-stage .quote-block-head h3{
 font-size:20px!important;line-height:1.23!important;margin:0!important
}
#detailed-quote.apg-compact-builder .quote-stage .quote-block-head p,
#detailed-quote.apg-compact-builder .apg-material-work-scope{display:none!important}
#detailed-quote.apg-compact-builder .work-checkboxes{
 grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:7px!important;
 max-height:none!important;margin:0!important
}
#detailed-quote.apg-compact-builder .choose-work{
 padding:9px!important;min-height:45px!important;font-size:15px!important;
 line-height:1.25!important;align-items:center!important
}
#detailed-quote.apg-compact-builder .quote-stage .selected-counter{
 padding:4px 7px!important;font-size:14px!important
}
#detailed-quote.apg-compact-builder .product-checkboxes{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:9px!important;padding:0!important;margin:0!important
}
/* Compact horizontal catalog tiles: small image, product, price, quantity. */
#detailed-quote.apg-compact-builder .product-choice-card{
 display:grid!important;
 grid-template-columns:98px minmax(0,1fr)!important;
 grid-template-rows:auto minmax(0,1fr)!important;
 align-items:stretch;gap:0!important;
 border:1px solid #dfd0b4!important;border-radius:9px!important;
 box-shadow:none!important;overflow:hidden!important;min-height:0!important
}
#detailed-quote.apg-compact-builder .product-card-title{
 grid-column:1 / -1!important;grid-row:1!important;
 min-height:0!important;padding:6px 8px!important;gap:7px!important;
 border-bottom:1px solid #eee7da
}
#detailed-quote.apg-compact-builder .product-select-label{
 font-size:15px!important;min-width:0!important;gap:6px!important
}
#detailed-quote.apg-compact-builder .product-select-name{
 overflow:hidden;text-overflow:ellipsis;white-space:nowrap
}
#detailed-quote.apg-compact-builder .product-select-label input{
 width:19px!important;height:19px!important;min-width:19px
}
#detailed-quote.apg-compact-builder .demo-tag{
 font-size:13px!important;letter-spacing:0!important;padding:3px 5px!important;
 line-height:1.1!important;white-space:nowrap
}
#detailed-quote.apg-compact-builder .product-carousel{
 grid-column:1!important;grid-row:2!important;
 width:98px!important;height:112px!important;min-height:0!important;
 border-radius:0!important;align-self:start!important
}
#detailed-quote.apg-compact-builder .product-carousel img{
 width:100%!important;height:100%!important;object-fit:cover!important
}
#detailed-quote.apg-compact-builder .variant-arrow{
 width:24px!important;height:31px!important;font-size:23px!important;
 border-radius:5px!important;padding:0!important
}
#detailed-quote.apg-compact-builder .variant-prev{left:1px!important}
#detailed-quote.apg-compact-builder .variant-next{right:1px!important}
#detailed-quote.apg-compact-builder .variant-bottom{
 grid-column:2!important;grid-row:2!important;display:flex!important;
 flex-direction:column!important;gap:3px!important;min-width:0!important;
 padding:7px 9px!important;align-self:stretch!important
}
#detailed-quote.apg-compact-builder .variant-line{
 display:flex!important;gap:5px!important;align-items:start!important;
 font-size:14px!important;line-height:1.25!important;min-width:0!important
}
#detailed-quote.apg-compact-builder .variant-name{
 overflow:hidden;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;
 overflow-wrap:anywhere;font-size:14px!important;font-weight:650!important
}
#detailed-quote.apg-compact-builder .variant-count{
 white-space:nowrap;font-size:12px!important;flex:none
}
#detailed-quote.apg-compact-builder .variant-status,
#detailed-quote.apg-compact-builder .variant-description,
#detailed-quote.apg-compact-builder .variant-selected-total{display:none!important}
#detailed-quote.apg-compact-builder .variant-price-row{
 display:flex!important;align-items:baseline!important;flex-wrap:wrap!important;
 gap:4px!important;min-width:0!important
}
#detailed-quote.apg-compact-builder .variant-price{
 font-size:18px!important;line-height:1.2!important;white-space:nowrap
}
#detailed-quote.apg-compact-builder .variant-unit{
 font-size:13px!important;white-space:nowrap
}
#detailed-quote.apg-compact-builder .variant-controls{
 display:flex!important;align-items:center!important;justify-content:flex-start!important;
 min-height:0!important;gap:5px!important;padding-top:0!important;margin-top:auto!important
}
#detailed-quote.apg-compact-builder .variant-quantity-label{
 font-size:13px!important;line-height:1.1!important;gap:5px!important
}
#detailed-quote.apg-compact-builder .variant-quantity{
 width:54px!important;min-height:32px!important;font-size:15px!important;
 padding:4px!important
}
#detailed-quote.apg-compact-builder .quote-final-intro{margin:0 0 9px!important}
#detailed-quote.apg-compact-builder .quote-final-intro h3{
 font-size:22px!important;margin:0 0 4px!important
}
#detailed-quote.apg-compact-builder .quote-final-intro p{display:none}
#detailed-quote.apg-compact-builder .quote-checkout-grid{
 display:grid!important;grid-template-columns:repeat(2,minmax(0,1fr))!important;
 gap:11px!important
}
#detailed-quote.apg-compact-builder .quote-checkout-grid>section{
 padding:13px!important;margin:0!important;box-shadow:none!important
}
#detailed-quote.apg-compact-builder .quote-checkout-grid h3{
 font-size:20px!important;margin:0!important
}
#detailed-quote.apg-compact-builder .quote-selection-stats,
#detailed-quote.apg-compact-builder .quote-summary-top{margin-bottom:7px!important}
#detailed-quote.apg-compact-builder .estimate-total-row{margin-top:6px!important;padding:9px!important}
#detailed-quote.apg-compact-builder .estimate-total-row strong{font-size:20px!important}
#detailed-quote.apg-compact-builder .apg-stage-controls{
 display:flex;align-items:center;justify-content:space-between;gap:10px;
 margin-top:13px;padding-top:12px;border-top:1px solid #e8e0cf
}
#detailed-quote.apg-compact-builder .apg-stage-controls button{
 border-radius:7px;min-height:43px;padding:9px 16px;
 font:750 15px/1.2 inherit;font-family:inherit;font-size:15px;font-weight:800;cursor:pointer
}
#detailed-quote.apg-compact-builder .apg-stage-next{
 margin-left:auto;border:1px solid #cda554;background:#e6bb62;color:#273239
}
#detailed-quote.apg-compact-builder .apg-stage-back{
 border:1px solid #d4c7aa;background:white;color:#465158
}
#detailed-quote.apg-compact-builder .apg-stage-controls button:hover{filter:brightness(.97)}
#detailed-quote.apg-compact-builder .quote-stage{scroll-margin-top:95px}
@media(max-width:960px){
 #detailed-quote.apg-compact-builder .product-checkboxes{
  grid-template-columns:minmax(0,1fr)!important
 }
 #detailed-quote.apg-compact-builder .quote-checkout-grid{
  grid-template-columns:minmax(0,1fr)!important
 }
 #detailed-quote.apg-compact-builder .work-checkboxes{
  grid-template-columns:repeat(2,minmax(0,1fr))!important
 }
}
@media(max-width:440px){
 #detailed-quote.apg-compact-builder .apg-step-tab{
  min-height:41px;font-size:14px;gap:3px;padding:6px 3px
 }
 #detailed-quote.apg-compact-builder .apg-step-number{
  width:19px;height:19px;font-size:12px
 }
 #detailed-quote.apg-compact-builder .quote-stage{padding:9px!important}
 #detailed-quote.apg-compact-builder .product-choice-card{
  grid-template-columns:88px minmax(0,1fr)!important
 }
 #detailed-quote.apg-compact-builder .product-carousel{
  width:88px!important;height:105px!important
 }
 #detailed-quote.apg-compact-builder .variant-bottom{padding:6px!important}
 #detailed-quote.apg-compact-builder .variant-price{font-size:17px!important}
 #detailed-quote.apg-compact-builder .work-checkboxes{gap:6px!important}
 #detailed-quote.apg-compact-builder .quote-stage .quote-block-head h3{font-size:18px!important}
}

/* Reduce duplicated headings and category badges; do not hide prices or selection. */
#detailed-quote.apg-compact-builder .quote-works-block .quote-block-head,
#detailed-quote.apg-compact-builder .quote-products-block .quote-block-head,
#detailed-quote.apg-compact-builder .quote-final-intro{display:none!important}
#detailed-quote.apg-compact-builder .product-card-title .demo-tag{display:none!important}
/* A floating chatbot must not cover product selectors or navigation on phones. */
@media(max-width:760px){
 body:has(#detailed-quote.apg-compact-builder[open]) .apchat-launcher{
  opacity:0!important;pointer-events:none!important
 }
}
