/* WordPress/Woodmart integration only. Demo visual rules remain in their versioned files. */
.xpf-unified-product-wrap,.xpd-app{width:100%;max-width:none}
.xpd-app{--xpd-z-section-nav:300;--xpd-z-sticky-header:310;--xpd-z-desktop-popover:340;--xpd-z-modal-backdrop:1190;--xpd-z-modal-panel:1200;--xpd-z-modal-dialog:1300}
.xpd-app .detail-v3{width:100%}
.xpd-app .detail-v3>.commerce-pair.is-single{grid-template-columns:minmax(0,1fr)}
.xpd-app .detail-header-actions>.detail-shortlist-control,
.xpd-app .detail-header-actions>.wdm_enquiry{width:142px;flex:0 0 142px}
.xpd-app .detail-header-actions>.detail-shortlist-control>.detail-compare,
.xpd-app .detail-header-actions>.wdm_enquiry{width:100%;justify-content:center;text-align:center}
@media(max-width:760px){
  .xpd-app .detail-header-actions>.detail-shortlist-control,
  .xpd-app .detail-header-actions>.wdm_enquiry{width:100%;min-width:0;flex-basis:auto}
}

/* RC107: Product Detail and Product Finder use one Sourcing Inquiry visual
   system. Only the selected-vehicle count/content changes by entry point. */
.xpd-app .xpd-inquiry-dialog{z-index:100002}
.xpd-app .xpd-inquiry-panel{width:min(860px,100%);padding:28px}
.xpd-app .xpd-inquiry-panel>header{padding:0 0 14px;border-bottom:1px solid #e4e7ec}
.xpd-app .xpd-inquiry-panel [data-xpd-close-inquiry]{width:40px;height:40px;min-width:40px;min-height:40px;flex-basis:40px}
.xpd-app .xpd-inquiry-selection{display:block;max-height:none;padding:16px 0 0;overflow:visible;border:0;background:transparent}
.xpd-app .xpd-inquiry-selection-head{display:block;margin-bottom:10px}
.xpd-app .xpd-inquiry-selection-head>b{display:block;color:#101828;font-size:14px;line-height:1.35}
.xpd-app .xpd-inquiry-selection-head>b>span{color:#f15a29}
.xpd-app .xpd-inquiry-selection-head>small{display:block;margin-top:2px;color:#667085;font-size:11px;line-height:1.4}
.xpd-app .xpd-inquiry-vehicles{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:8px;margin-bottom:16px}
.xpd-app .xpd-inquiry-vehicles article{display:flex;min-width:0;align-items:center;gap:10px;padding:8px 10px;border:1px solid #e0e5ec;border-radius:10px;background:#f8fafc}
.xpd-app .xpd-inquiry-vehicles img,.xpd-app .xpd-inquiry-vehicles .xpd-inquiry-image-placeholder{width:48px;height:42px;flex:0 0 48px;border-radius:7px;background:#fff;object-fit:contain}
.xpd-app .xpd-inquiry-vehicles .xpd-inquiry-image-placeholder{display:grid;place-items:center;color:#98a2b3;font-size:7px;line-height:1.1;text-align:center}
.xpd-app .xpd-inquiry-vehicles article>span:last-child{min-width:0}
.xpd-app .xpd-inquiry-vehicles b,.xpd-app .xpd-inquiry-vehicles small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xpd-app .xpd-inquiry-vehicles b{color:#101828;font-size:12px;line-height:1.35}
.xpd-app .xpd-inquiry-vehicles small{margin-top:2px;color:#667085;font-size:10px;line-height:1.35}
.xpd-app .xpd-inquiry-form-host{padding:0}
@media(max-width:620px){
  .xpd-app .xpd-inquiry-panel{width:100%;max-height:92dvh;padding:18px 14px max(18px,env(safe-area-inset-bottom));border-radius:20px 20px 0 0}
  .xpd-app .xpd-inquiry-panel>header{min-height:104px;padding:0 0 14px}
  .xpd-app .xpd-inquiry-vehicles{grid-template-columns:1fr}
  .xpd-app .xpd-inquiry-form-host{padding:0}
}

/* RC33 / XF-38: QuoteUp can append its modal after the XEVITA root and may
   toggle .in before the observer runs. The mobile sheet geometry therefore
   keys off the modal's own open class; the body class remains scroll/widget
   coordination, not a prerequisite for keeping the close button visible. */
@media(max-width:760px){
  .wdm-modal.in[id*="wdm-quoteup-modal"]{inset:0!important;padding:0!important;overflow:hidden!important;background:rgba(16,24,40,.48)!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-dialog{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;max-width:none!important;height:min(92dvh,820px)!important;margin:0!important;padding:0!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-content{display:flex!important;height:100%!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important;border:0!important;border-radius:20px 20px 0 0!important;background:#fff!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-header{position:sticky!important;top:0!important;z-index:3!important;flex:0 0 auto!important;min-height:64px!important;padding:16px 64px 14px 18px!important;border-bottom:1px solid #e4e7ec!important;background:#fff!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-header .close{position:absolute!important;top:10px!important;right:12px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:8px!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-body{min-height:0!important;flex:1 1 auto!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-body .w3eden,.wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-body #wdm-container-fluid{min-height:100%!important;padding:0!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-quoteup-form{display:flex!important;min-height:100%!important;flex-direction:column!important;padding:16px!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-quoteup-form .form-group{flex:0 0 auto!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-quoteup-form .submit-btn{position:sticky!important;z-index:3!important;bottom:0!important;width:100%!important;min-height:48px!important;margin:16px 0 0!important;padding:11px 16px!important;border:1px solid #f15a29!important;border-radius:8px!important;background:#f15a29!important;color:#fff!important;box-shadow:0 -12px 0 #fff!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-quoteup-form .submit-btn:disabled{border-color:#d0d5dd!important;background:#d0d5dd!important;color:#667085!important;opacity:1!important;cursor:not-allowed!important}
}
.xpd-app .xpd-mobile-shortlist[hidden],.xpd-app .xpd-mobile-backdrop[hidden],.xpd-compare-modal[hidden]{display:none!important}
.xpd-lock{overflow:hidden!important}
.xpd-app .xpd-mobile-backdrop{position:fixed;z-index:var(--xpd-z-modal-backdrop,1190);inset:0;background:rgba(17,20,25,.5)}
body.xpf-modal-open .qlwapp__container,body.xpf-modal-open .wd-cookies-popup{display:none!important}
.xpd__notice{max-width:640px;margin:48px auto;padding:22px 26px;border:1px solid #fdba9d;border-radius:14px;background:#fff8f4;color:#7a2e0e;font:14px/1.5 Inter,Arial,sans-serif;text-align:center}
.xpd-compare-modal{position:fixed;inset:0;z-index:var(--xpd-z-modal-dialog,1300);display:flex;align-items:center;justify-content:center;padding:20px}
.xpd-compare-backdrop{position:absolute;inset:0;background:rgba(17,20,25,.5)}
.xpd-compare-panel{position:relative;z-index:1;width:min(920px,100%);max-height:min(82vh,720px);display:flex;flex-direction:column;border-radius:16px;background:#fff;box-shadow:0 30px 80px rgba(0,0,0,.28)}
.xpd-compare-panel>header{display:flex;align-items:center;justify-content:space-between;padding:18px 20px;border-bottom:1px solid #e4e7ec}
.xpd-compare-scroll{overflow:auto;padding:4px 20px 20px}
.xpd-compare-scroll table{width:100%;border-collapse:collapse}
.xpd-compare-scroll th,.xpd-compare-scroll td{padding:10px 14px;border-bottom:1px solid #f0f1f3;text-align:left;white-space:nowrap}
.related-grid article>img{width:100%;height:180px;object-fit:contain;border-radius:8px;background:#f2f4f7}
@media(max-width:980px){
  .detail-shortlist-popover.xpd-mobile-shortlist{position:fixed;z-index:var(--xpd-z-modal-panel,1200);display:block;inset:auto 0 0;width:100%;max-height:min(82vh,720px);padding:18px;border-radius:20px 20px 0 0;opacity:1;visibility:visible;transform:translateY(24px);overflow:auto}
  .detail-shortlist-popover.xpd-mobile-shortlist.is-open{transform:none}
}

/* Latest Demo shortlist geometry, isolated from Woodmart button resets. */
.xpd-app .detail-product-header,.xpd-app .detail-header-inner,.xpd-app .detail-header-actions,.xpd-app .detail-shortlist-control{overflow:visible!important}
.xpd-app .detail-shortlist-popover{z-index:var(--xpd-z-desktop-popover,340)!important;width:min(480px,calc(100vw - 32px))!important;max-width:480px!important;box-sizing:border-box!important}
.xpd-app .detail-shortlist-popover>header{display:grid!important;grid-template-columns:minmax(0,1fr) auto 36px!important;align-items:start!important;gap:12px!important}
.xpd-app .detail-shortlist-popover>header [data-detail-clear]{width:auto!important;min-width:0!important;min-height:36px!important;margin:0!important;padding:5px 0!important;border:0!important;border-radius:0!important;background:linear-gradient(currentColor,currentColor) 0 100%/0 1px no-repeat!important;box-shadow:none!important;color:#d9481d!important;font-size:12px!important;font-weight:600!important;text-transform:none!important;line-height:1.4!important}
.xpd-app .detail-shortlist-popover>header [data-detail-clear]:hover,.xpd-app .detail-shortlist-popover>header [data-detail-clear]:focus-visible{background-size:100% 1px!important}
.xpd-app .detail-shortlist-popover>header .xpd-mobile-close{display:grid!important;place-items:center!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;border:0!important;border-radius:8px!important;background:rgba(52,64,84,.10)!important;box-shadow:none!important;color:#344054!important}
.xpd-app .detail-shortlist-popover>header .xpd-mobile-close svg{display:block!important;width:18px!important;height:18px!important;fill:none!important;stroke:currentColor!important;stroke-width:2!important;stroke-linecap:round!important}
.xpd-app .detail-shortlist-items{max-height:min(420px,calc(100dvh - var(--xpf-sticky-top,100px) - 230px))!important}
@media(max-width:980px){.xpd-app .detail-shortlist-popover{z-index:var(--xpd-z-modal-panel,1200)!important;max-width:none!important}.xpd-app .detail-shortlist-popover>header{position:sticky;top:-18px;z-index:2;margin:-18px -18px 12px;padding:18px;background:#171719;color:#fff}.xpd-app .detail-shortlist-popover>header small{color:#d0d5dd}.xpd-app .detail-shortlist-popover>header .xpd-mobile-close{background:rgba(255,255,255,.16)!important;color:#fff!important}}

/* Demo v155: the complete Related Vehicle card is the accessible link. */
.xpd-app .related-vehicle-card{position:relative;overflow:hidden;background:#fff!important;transform:translateY(0);transition:transform .18s ease,box-shadow .18s ease!important}
.xpd-app .related-card-link{display:flex;height:100%;min-width:0;flex-direction:column;color:inherit!important;text-decoration:none!important}
.xpd-app .related-image{display:flex;width:100%;aspect-ratio:16/6;align-items:center;justify-content:center;overflow:hidden;border-radius:9px}
.xpd-app .related-image.has-image{background:#fff}
.xpd-app .related-image.has-image img{width:100%;height:100%;object-fit:contain;background:#fff;transform:scale(1);transition:transform .18s ease}
.xpd-app .related-image-placeholder{background:#f2f4f7;color:#98a2b3;font-size:11px}
@media(hover:hover){.xpd-app .related-vehicle-card:hover,.xpd-app .related-vehicle-card:focus-within{transform:translateY(-2px);box-shadow:0 12px 28px rgba(16,24,40,.12)!important}.xpd-app .related-card-link:hover .has-image img,.xpd-app .related-card-link:focus-visible .has-image img{transform:scale(1.025)}}
.xpd-app .related-card-link:focus-visible{outline:3px solid rgba(241,90,41,.22);outline-offset:-3px}.xpd-app .related-card-link:active{transform:translateY(1px)}
.xpd-app .related-grid>.related-vehicle-card{display:flex!important;align-items:stretch!important;padding:0!important}
.xpd-app .related-grid>.related-vehicle-card>a.related-card-link{display:flex!important;width:100%!important;height:auto!important;min-height:100%!important;flex:1 1 100%!important;align-self:stretch!important;box-sizing:border-box!important;margin:0!important;padding:16px!important}

/* Product Finder and Product Detail already provide their own accessible
   enquiry actions. Site-wide floating utilities obscure product identity,
   gallery and filter content, so suppress them for the complete page rather
   than only while a sheet/modal is open. */
body:has(.xpf) .qlwapp__container,body:has(.xpd-app) .qlwapp__container,
body:has(.xpf) .joinchat,body:has(.xpd-app) .joinchat,
body:has(.xpf) [class*="chatbot"],body:has(.xpd-app) [class*="chatbot"],
body:has(.xpf) [class*="floating-button"],body:has(.xpd-app) [class*="floating-button"]{display:none!important}

/* RC38 / XF-28: SiteGround AI uses its own id/class rather than the shared
   floating-button hooks. Product Detail already has an enquiry route, so the
   complete SiteGround utility is removed on this page instead of covering
   gallery/specification content. */
body.single-product:has(.xpd-app) #wp-ai-studio-container,
body.single-product:has(.xpd-app) .sg-ai-floating-chat{
  display:none!important;
  visibility:hidden!important;
  pointer-events:none!important;
}

/* RC38 / XF-53: keep the selected state as one optical label. At intermediate
   widths the action group may wrap, but the label/check must never split. */
.xpd-app .detail-header-actions>.detail-shortlist-control{
  width:auto!important;
  min-width:154px!important;
  flex:0 0 auto!important;
}
.xpd-app [data-detail-shortlist]{
  display:inline-flex!important;
  width:100%!important;
  min-width:154px!important;
  align-items:center!important;
  justify-content:center!important;
  flex-wrap:nowrap!important;
  white-space:nowrap!important;
  text-transform:none!important;
  letter-spacing:normal!important;
}
@media(max-width:1100px){
  .xpd-app .detail-header-actions{flex-wrap:wrap!important}
}
@media(max-width:760px){
  .xpd-app .detail-header-actions>.detail-shortlist-control{
    width:100%!important;
    min-width:0!important;
    flex-basis:auto!important;
  }
  .xpd-app [data-detail-shortlist]{min-width:0!important;white-space:nowrap!important}
}

/* Demo v156 conversion actions. */
.xpd-app .detail-conversion .btn{display:inline-flex;min-height:46px;align-items:center;justify-content:center;border-radius:9px;transition:background-color .18s ease,border-color .18s ease,color .18s ease,transform .18s ease,box-shadow .18s ease!important}
.xpd-app .detail-conversion .light{border:1px solid #667085!important;background:transparent!important;color:#fff!important}
.xpd-app .detail-conversion .light:hover,.xpd-app .detail-conversion .light:focus-visible{border-color:#f15a29!important;background:rgba(241,90,41,.12)!important;color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 8px 18px rgba(241,90,41,.14)!important}
.xpd-app .detail-conversion .conversion-primary{border:1px solid #f15a29!important;background:#f15a29!important;color:#fff!important}
.xpd-app .detail-conversion .conversion-primary:hover,.xpd-app .detail-conversion .conversion-primary:focus-visible,.xpd-app .detail-conversion [data-xpf-inquiry-proxy]:hover,.xpd-app .detail-conversion [data-xpf-inquiry-proxy]:focus-visible{border-color:#d9481d!important;background:#d9481d!important;color:#fff!important;transform:translateY(-2px)!important;box-shadow:0 9px 20px rgba(241,90,41,.24)!important}
.xpd-app .detail-conversion .btn:focus-visible{outline:3px solid rgba(241,90,41,.24)!important;outline-offset:2px}.xpd-app .detail-conversion .btn:active{transform:none!important;box-shadow:none!important}
.xpd-app .detail-conversion .btn:disabled{border-color:#667085!important;background:#475467!important;color:#98a2b3!important;transform:none!important;box-shadow:none!important;cursor:not-allowed!important}

/* Keep the product sticky bar compact and place the secondary navigation directly below it. */
.xpd-app .detail-product-header.is-stuck{z-index:var(--xpd-z-sticky-header,310)!important;min-height:72px!important;max-height:112px!important;margin:0!important;padding-top:12px!important;padding-bottom:12px!important;overflow:visible!important}
.xpd-app .detail-section-nav{z-index:var(--xpd-z-section-nav,300)!important;top:var(--detail-section-nav-top,0)!important}
.xpd-app .detail-section-nav:not(.is-stuck){box-shadow:0 -26px 0 #fff,0 8px 24px rgba(16,24,40,.045)!important}

.xpd-app .wdm-modal button.close,.xpd-app~.wdm-modal button.close,.wdm-modal[id*="wdm-quoteup-modal"] button.close{display:grid!important;width:36px!important;height:36px!important;min-width:36px!important;min-height:36px!important;margin:0!important;padding:0!important;place-items:center!important;border:0!important;border-radius:8px!important;background:#f2f4f7!important;color:#344054!important;font-size:22px!important;line-height:1!important}
.xpd-app .detail-section-nav a[aria-current="location"]{color:#1d2939!important}.xpd-app .detail-section-nav a[aria-current="location"]:after{transform:scaleX(1)!important}

/* Real-data empty state: retain the Demo hero composition when summary data
   exists; otherwise let the gallery occupy the full hero without a blank
   Configuration at a Glance column. */
.xpd-app .decision-first-screen.is-gallery-only{grid-template-columns:minmax(0,1fr)!important}
.xpd-app .decision-first-screen.is-gallery-only>.gallery{grid-column:1/-1;min-width:0}
@media(max-width:760px){
  .xpd-app .detail-v3 .spec-groups{grid-auto-rows:auto!important;align-items:start!important}
  .xpd-app .detail-v3 .spec-group{height:auto!important;min-height:0!important;align-self:start!important}
  .xpd-app .xpd-mobile-close,.xpd-app .xpd-compare-close{width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
}

/* QuoteUp mobile inquiry: fixed sheet frame, fixed header/action, independently
   scrolling fields, and a real disabled state driven by product-detail JS. */
@media(max-width:760px){
  body.xpf-modal-open{overflow:hidden!important}
  body.xpf-modal-open .wdm-modal.in{inset:0!important;padding:0!important;overflow:hidden!important;background:rgba(16,24,40,.48)!important}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-dialog{position:absolute!important;inset:auto 0 0!important;top:auto!important;bottom:0!important;width:100%!important;max-width:none!important;height:min(92dvh,820px)!important;margin:0!important;padding:0!important;transform:none!important}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-content{display:flex!important;height:100%!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important;border:0!important;border-radius:20px 20px 0 0!important;background:#fff!important}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-header{position:sticky!important;top:0!important;z-index:3!important;flex:0 0 auto!important;min-height:64px!important;padding:16px 64px 14px 18px!important;border-bottom:1px solid #e4e7ec!important;background:#fff!important;transform:none!important}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-header .close{position:absolute!important;top:10px!important;right:12px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important;border-radius:8px!important}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-body{min-height:0!important;flex:1 1 auto!important;padding:0!important;overflow-y:auto!important;overscroll-behavior:contain!important;-webkit-overflow-scrolling:touch}
  body.xpf-modal-open .wdm-modal.in .wdm-modal-body .w3eden,body.xpf-modal-open .wdm-modal.in .wdm-modal-body #wdm-container-fluid{min-height:100%!important;padding:0!important}
  body.xpf-modal-open .wdm-modal.in .wdm-quoteup-form{display:flex!important;min-height:100%!important;flex-direction:column!important;padding:16px!important}
  body.xpf-modal-open .wdm-modal.in .wdm-quoteup-form .form-group{flex:0 0 auto!important}
  body.xpf-modal-open .wdm-modal.in .wdm-quoteup-form .submit-btn{position:sticky!important;z-index:3!important;bottom:0!important;width:100%!important;min-height:48px!important;margin:16px 0 0!important;padding:11px 16px!important;border:1px solid #f15a29!important;border-radius:8px!important;background:#f15a29!important;color:#fff!important;box-shadow:0 -12px 0 #fff!important}
  body.xpf-modal-open .wdm-modal.in .wdm-quoteup-form .submit-btn:disabled{border-color:#d0d5dd!important;background:#d0d5dd!important;color:#667085!important;opacity:1!important;cursor:not-allowed!important}
}
.xpd-app .related-grid .related-vehicle-card:hover,.xpd-app .related-grid .related-vehicle-card:focus-within{border-color:rgba(241,90,41,.55)!important}

/* RC41 / XF-55: current Demo Related action component. */
.xpd-app .related-card-action{display:flex;min-height:32px;align-items:center;justify-content:space-between;gap:12px;margin-top:auto;padding-top:2px;color:#344054;font-size:11px;font-weight:750;transition:color .18s ease}
.xpd-app .related-card-action>span{position:relative;transform:scale(1);transform-origin:left center;transition:transform .18s ease}
.xpd-app .related-card-action>span::after{content:"";position:absolute;left:0;right:0;bottom:-4px;height:2px;background:#f15a29;transform:scaleX(0);transform-origin:left;transition:transform .18s ease}
.xpd-app .related-card-action>b{color:#f15a29;font-size:23px;font-weight:500;line-height:1;transition:transform .18s ease}
@media(hover:hover){.xpd-app .related-vehicle-card:hover .related-card-action,.xpd-app .related-vehicle-card:focus-within .related-card-action{color:#d9481d!important}.xpd-app .related-card-link:hover .related-card-action>span,.xpd-app .related-card-link:focus-visible .related-card-action>span{transform:scale(1.06)}.xpd-app .related-card-link:hover .related-card-action>span::after,.xpd-app .related-card-link:focus-visible .related-card-action>span::after{transform:scaleX(1)}.xpd-app .related-card-link:hover .related-card-action>b,.xpd-app .related-card-link:focus-visible .related-card-action>b{transform:translateX(4px)}}
.xpd-app .related-card-link:focus-visible .related-card-action{color:#d9481d!important}

/* RC90 / Demo v186: at most four server-ranked Related Configurations. */
.xpd-app .related-module>.row-head{
  width:100%!important;
  max-width:none!important;
  align-items:center!important;
  margin-bottom:24px!important
}
.xpd-app .related-module>.row-head>div{min-width:0!important}
.xpd-app .related-module>.row-head .text-link{
  display:inline-flex!important;
  min-height:42px!important;
  flex:0 0 auto!important;
  align-items:center!important;
  justify-content:center!important;
  gap:10px!important;
  margin-left:auto!important;
  padding:9px 14px!important;
  border:1px solid var(--xo)!important;
  border-radius:9px!important;
  background:transparent!important;
  box-shadow:none!important;
  color:var(--xod)!important;
  font-size:12px!important;
  font-weight:800!important;
  line-height:1.2!important;
  text-decoration:none!important;
  transform:translateY(0);
  transition:border-color .18s ease,background-color .18s ease,color .18s ease,box-shadow .18s ease,transform .18s ease!important
}
.xpd-app .related-module>.row-head .text-link>span:last-child{
  font-size:17px!important;
  line-height:1!important;
  transition:transform .18s ease!important
}
.xpd-app .related-module>.row-head .text-link:hover,
.xpd-app .related-module>.row-head .text-link:focus-visible{
  border-color:var(--xo)!important;
  background:var(--xw)!important;
  color:var(--xod)!important;
  transform:translateY(-1px)
}
.xpd-app .related-module>.row-head .text-link:hover>span:last-child,
.xpd-app .related-module>.row-head .text-link:focus-visible>span:last-child{transform:translateX(3px)}
.xpd-app .related-module>.row-head .text-link:focus-visible{outline:3px solid rgba(241,90,41,.22)!important;outline-offset:3px!important}
.xpd-app .related-module .related-grid{
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  column-gap:18px!important;
  row-gap:18px!important
}
.xpd-app .related-module .related-grid>.related-vehicle-card{
  height:100%!important;
  padding:0!important;
  overflow:hidden!important;
  border-color:var(--xl)!important;
  background:#fff!important;
  transform:translateY(0);
  transition:border-color .18s ease,background-color .18s ease,box-shadow .18s ease,transform .18s ease!important
}
.xpd-app .related-module .related-grid>.related-vehicle-card>a.related-card-link{
  display:flex!important;
  width:100%!important;
  height:100%!important;
  min-height:100%!important;
  min-width:0!important;
  flex:1 1 100%!important;
  align-self:stretch!important;
  box-sizing:border-box!important;
  margin:0!important;
  padding:16px!important;
  overflow:hidden!important
}
.xpd-app .related-module .related-grid>.related-vehicle-card:hover,
.xpd-app .related-module .related-grid>.related-vehicle-card:focus-within{
  border-color:var(--xl)!important;
  background:#fff!important;
  transform:translateY(-2px);
  box-shadow:var(--outline-card-hover-shadow)!important
}
.xpd-app .related-module .related-card-link:focus-visible{outline:none!important}
.xpd-app .related-module .related-image,
.xpd-app .related-module .related-image-placeholder{
  display:flex!important;
  width:100%!important;
  min-height:0!important;
  aspect-ratio:16/9!important;
  align-items:center!important;
  justify-content:center!important;
  overflow:hidden!important;
  border-radius:9px!important
}
.xpd-app .related-module .related-image{background:#fff!important}
.xpd-app .related-module .related-image img{
  display:block!important;
  width:100%!important;
  height:100%!important;
  object-fit:contain!important;
  background:#fff!important;
  transform:scale(1);
  transition:transform .22s ease!important
}
.xpd-app .related-module .related-image-placeholder{
  background:#f2f4f7!important;
  color:#98a2b3!important;
  font-size:11px!important
}
.xpd-app .related-module .related-card-action{min-width:0!important;overflow:hidden!important;padding-right:6px!important}
.xpd-app .related-module .related-card-action>span{min-width:0!important}
.xpd-app .related-module .related-card-action>b{display:inline-flex!important;width:24px!important;max-width:24px!important;flex:0 0 24px!important;align-items:center!important;justify-content:flex-end!important;overflow:hidden!important}
.xpd-app .related-module .related-card-link:hover .related-card-action>b,
.xpd-app .related-module .related-card-link:focus-visible .related-card-action>b{transform:translateX(2px)}
@media(min-width:1180px){
  .xpd-app .related-module .related-grid{grid-template-columns:repeat(4,minmax(0,1fr))!important}
}
@media(max-width:760px){
  .xpd-app .related-module .related-grid>.related-vehicle-card>a.related-card-link{padding:12px!important}
  .xpd-app .related-module .related-grid h3{display:-webkit-box!important;min-height:2.6em!important;margin:5px 0 8px!important;overflow:hidden!important;-webkit-box-orient:vertical!important;-webkit-line-clamp:2!important;font-size:13px!important;line-height:1.3!important}
  .xpd-app .related-module .related-grid small{margin-top:9px!important;font-size:9px!important;line-height:1.25!important}
  .xpd-app .related-module .related-card-action{min-height:28px!important;gap:6px!important;font-size:10px!important}
  .xpd-app .related-module .related-card-action>b{font-size:18px!important}
}
@media(min-width:361px) and (max-width:760px){
  .xpd-app .related-module>.row-head{align-items:flex-start!important}
  .xpd-app .related-module>.row-head .text-link{margin-left:0!important}
  .xpd-app .related-module .related-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;column-gap:12px!important;row-gap:16px!important}
}
@media(max-width:360px){
  .xpd-app .related-module>.row-head{align-items:flex-start!important}
  .xpd-app .related-module>.row-head .text-link{margin-left:0!important}
  .xpd-app .related-module .related-grid{grid-template-columns:1fr!important;row-gap:16px!important}
}

/* RC41 / XF-38: pin the QuoteUp shell itself to the viewport. This avoids
   Bootstrap/Woodmart vertical-centering transforms moving the header above
   the screen when the form is taller than the mobile viewport. */
@media(max-width:760px){
  .wdm-modal.in[id*="wdm-quoteup-modal"],body.xpf-modal-open .wdm-modal.in{position:fixed!important;display:block!important;inset:0!important;top:0!important;right:0!important;bottom:0!important;left:0!important;width:100vw!important;height:100dvh!important;margin:0!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-dialog,.wdm-modal.in[id*="wdm-quoteup-modal"] .modal-dialog,body.xpf-modal-open .wdm-modal.in .wdm-modal-dialog,body.xpf-modal-open .wdm-modal.in .modal-dialog{position:fixed!important;inset:auto 0 0!important;top:auto!important;right:0!important;bottom:0!important;left:0!important;width:100%!important;max-width:none!important;height:min(92dvh,820px)!important;max-height:92dvh!important;margin:0!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .wdm-modal-content,.wdm-modal.in[id*="wdm-quoteup-modal"] .modal-content,body.xpf-modal-open .wdm-modal.in .wdm-modal-content,body.xpf-modal-open .wdm-modal.in .modal-content{position:relative!important;top:auto!important;bottom:auto!important;display:flex!important;width:100%!important;height:100%!important;min-height:0!important;flex-direction:column!important;overflow:hidden!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .modal-header,body.xpf-modal-open .wdm-modal.in .modal-header{position:relative!important;top:auto!important;flex:0 0 auto!important;min-height:64px!important;padding:16px 64px 14px 18px!important;background:#fff!important;transform:none!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .modal-header .close,body.xpf-modal-open .wdm-modal.in .modal-header .close{position:absolute!important;top:10px!important;right:12px!important;width:44px!important;height:44px!important;min-width:44px!important;min-height:44px!important}
  .wdm-modal.in[id*="wdm-quoteup-modal"] .modal-body,body.xpf-modal-open .wdm-modal.in .modal-body{min-height:0!important;flex:1 1 auto!important;overflow-y:auto!important}
}

/* RC41 / XF-28: cover the actual SiteGround host naming variants as well as
   late-appended iframe/custom-element hosts on XEVITA Product Detail pages. */
body.single-product:has(.xpd-app) [id*="sg-ai" i],
body.single-product:has(.xpd-app) [class*="sg-ai" i],
body.single-product:has(.xpd-app) [id*="wp-ai-studio" i],
body.single-product:has(.xpd-app) [class*="wp-ai-studio" i],
body.single-product:has(.xpd-app) [id*="ai-studio" i],
body.single-product:has(.xpd-app) [class*="ai-studio" i],
body.single-product:has(.xpd-app) iframe[src*="siteground" i],
body.single-product:has(.xpd-app) [id*="siteground" i][style*="fixed" i],
body.single-product:has(.xpd-app) [class*="siteground" i][style*="fixed" i]{display:none!important;visibility:hidden!important;pointer-events:none!important}

/* Keep the complete hero-to-nav transition structural white. The horizontal
   divider belongs to the full first-screen Grid, matching the Demo source. */
.xpd-app .detail-v3>.detail-product-header+.decision-first-screen{
  --xpd-hero-nav-gap:26px;
  position:relative!important;
  margin-bottom:var(--xpd-hero-nav-gap)!important;
}
.xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.gallery,
.xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.product-summary{
  min-width:0!important;
  width:auto!important;
  max-width:none!important;
  margin:0!important;
  float:none!important;
  transform:none!important;
  box-sizing:border-box!important;
}
.xpd-app .detail-v3>.detail-product-header+.decision-first-screen::after{
  content:none!important;
}
.xpd-app .detail-section-nav:not(.is-stuck){box-shadow:0 -26px 0 #fff,0 8px 24px rgba(16,24,40,.045)!important}
@media(min-width:1021px){
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen{gap:0!important}
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen{border-bottom:1px solid #e4e7ec!important}
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.gallery{position:relative!important;align-self:stretch!important}
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.gallery::after{content:none!important}
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.product-summary{height:auto!important;align-self:center!important;padding-right:var(--page-gutter)!important;border-left:0!important;border-top:0!important;border-radius:0!important}
}
@media(max-width:1020px){
  .xpd-app .detail-v3>.detail-product-header+.decision-first-screen>.product-summary{height:auto!important;align-self:stretch!important;border-left:0!important;border-top:1px solid rgba(208,213,221,.9)!important}
}

/* Products without an approved factory image must not retain the empty visual column. */
.xpd-app .manufacturer-module .manufacturer-grid.is-text-only{grid-template-columns:minmax(0,1fr)!important}
.xpd-app .manufacturer-module .manufacturer-grid.is-text-only>.manufacturer-content{grid-column:1/-1!important;width:100%!important;max-width:none!important}
/* Woodmart leaves a global 40px header margin on single-product pages.
   Remove it only when this plugin owns the active product-detail template. */
body.single-product.xpf-product-detail-active .whb-header.whb-overcontent{margin-bottom:0!important}
body.single-product.xpf-product-detail-active .xpd-app .detail-v3>.detail-product-header:not(.is-stuck){border-top:0!important}
body.single-product.xpf-product-detail-active .whb-main-header,
body.single-product.xpf-product-detail-active .whb-row.whb-general-header,
body.single-product.xpf-product-detail-active .whb-sticky-row{
  background-color:#1d1d1f!important;
  background-image:none!important
}
.xpf-product-inquiry-form-source[hidden]{display:none!important}

/* RC73: one accessible CF7 inquiry dialog for every Product Detail CTA.
   Current-product buttons pass one configuration; only the Shortlist action
   may pass multiple explicitly selected configurations. */
.xpd-app .xpd-inquiry-dialog[hidden]{display:none!important}
.xpd-app .xpd-inquiry-dialog{position:fixed;inset:0;z-index:1300;display:grid;place-items:center;padding:24px}
.xpd-app .xpd-inquiry-backdrop{position:absolute;inset:0;background:rgba(11,23,36,.72)}
.xpd-app .xpd-inquiry-panel{position:relative;z-index:1;display:flex;width:min(980px,100%);max-height:88dvh;flex-direction:column;overflow:hidden;border:0;border-radius:16px;background:#fff;box-shadow:0 24px 80px rgba(0,0,0,.33)}
.xpd-app .xpd-inquiry-panel>header{display:flex;flex:0 0 auto;align-items:flex-start;justify-content:space-between;gap:24px;padding:28px 28px 20px;border-bottom:0;background:#fff}
.xpd-app .xpd-inquiry-panel>header span{display:block;margin-bottom:5px;color:#f15a29;font-size:11px;font-weight:800;letter-spacing:.12em}
.xpd-app .xpd-inquiry-panel>header h2{margin:0;color:#171719;font-family:Inter,Arial,sans-serif;font-size:28px;font-weight:800;line-height:1.15;text-transform:none}
.xpd-app .xpd-inquiry-panel>header p{max-width:620px;margin:6px 0 0;color:#667085;font-size:13px;line-height:1.45}
.xpd-app .xpd-inquiry-panel [data-xpd-close-inquiry]{display:grid;width:44px;height:44px;min-width:44px;min-height:44px;flex:0 0 44px;margin:0;padding:0;place-items:center;border:0;border-radius:8px;background:#f2f4f7;color:#344054;transition:border-color .16s ease,background-color .16s ease,color .16s ease}
.xpd-app .xpd-inquiry-panel [data-xpd-close-inquiry]:hover,.xpd-app .xpd-inquiry-panel [data-xpd-close-inquiry]:focus-visible{border-color:#f15a29;background:#fff4ef;color:#c83f18}
.xpd-app .xpd-inquiry-panel [data-xpd-close-inquiry] svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-width:2;stroke-linecap:round}
.xpd-app .xpd-inquiry-selection{display:grid;flex:0 0 auto;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;max-height:168px;padding:16px 24px;overflow:auto;border-bottom:1px solid #e4e7ec;background:#f8fafc}
.xpd-app .xpd-inquiry-selection article{display:flex;min-width:0;align-items:center;gap:12px;padding:10px;border:1px solid #e4e7ec;border-radius:11px;background:#fff}
.xpd-app .xpd-inquiry-selection img,.xpd-app .xpd-inquiry-image-placeholder{width:54px;height:46px;flex:0 0 54px;border-radius:8px;background:#f2f4f7;object-fit:contain}
.xpd-app .xpd-inquiry-selection article>span:last-child{min-width:0}
.xpd-app .xpd-inquiry-selection b,.xpd-app .xpd-inquiry-selection small{display:block;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}
.xpd-app .xpd-inquiry-selection b{color:#171719;font-size:13px;font-weight:800}
.xpd-app .xpd-inquiry-selection small{margin-top:3px;color:#667085;font-size:11px}
.xpd-app .xpd-inquiry-form-host{min-height:0;overflow:auto;padding:0 28px 28px;overscroll-behavior:contain}
.xpd-app .xpd-inquiry-form-host>.wpcf7{margin:0!important}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form>p{min-width:0;margin:0!important}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form>p:nth-last-child(-n+3){grid-column:1/-1}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form label{display:block;color:#344054;font-size:12px;font-weight:700;line-height:1.45}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form input:not([type="submit"]),.xpd-app .xpd-inquiry-form-host .xev-inquiry-form select,.xpd-app .xpd-inquiry-form-host .xev-inquiry-form textarea{width:100%;margin-top:6px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#171719;font:400 13px/1.45 Inter,Arial,sans-serif;transition:border-color .16s ease,box-shadow .16s ease}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form input:not([type="submit"]),.xpd-app .xpd-inquiry-form-host .xev-inquiry-form select{min-height:44px;padding:0 12px}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form textarea{min-height:112px;padding:10px 12px;resize:vertical}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-form input:not([type="submit"]):focus,.xpd-app .xpd-inquiry-form-host .xev-inquiry-form select:focus,.xpd-app .xpd-inquiry-form-host .xev-inquiry-form textarea:focus{border-color:#f15a29;outline:0;box-shadow:0 0 0 3px rgba(241,90,41,.12)}
.xpd-app .xpd-inquiry-form-host .xev-form-note{color:#667085;font-size:11px;line-height:1.45}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-actions{display:flex;position:sticky;bottom:0;z-index:2;align-items:center;justify-content:flex-end;gap:10px;margin-top:4px!important;padding:14px 0 2px;background:#fff;text-align:right}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-cancel{min-width:110px;min-height:46px;border:1px solid #d0d5dd;border-radius:9px;background:#fff;color:#344054;font:800 13px/1 Inter,Arial,sans-serif;transition:border-color .16s ease,background-color .16s ease,color .16s ease}
.xpd-app .xpd-inquiry-form-host .xev-inquiry-cancel:hover,.xpd-app .xpd-inquiry-form-host .xev-inquiry-cancel:focus-visible{border-color:#f15a29;background:#fff4ef;color:#c83f18}
.xpd-app .xpd-inquiry-form-host .wpcf7-submit{min-width:170px;min-height:46px;border:1px solid #f15a29;border-radius:9px;background:#f15a29;color:#fff;font:800 13px/1 Inter,Arial,sans-serif;transition:background-color .16s ease,border-color .16s ease,transform .16s ease}
.xpd-app .xpd-inquiry-form-host .wpcf7-submit:hover,.xpd-app .xpd-inquiry-form-host .wpcf7-submit:focus-visible{border-color:#d9481d;background:#d9481d;transform:translateY(-1px)}
.xpd-app .xpd-inquiry-form-host .wpcf7-response-output{grid-column:1/-1;margin:12px 0 0!important}
@media(max-width:760px){
  .xpd-app .xpd-inquiry-dialog{align-items:end;padding:0}
  .xpd-app .xpd-inquiry-panel{width:100%;max-height:92dvh;border-radius:20px 20px 0 0}
  .xpd-app .xpd-inquiry-panel>header{min-height:104px;padding:18px 16px 14px}
  .xpd-app .xpd-inquiry-panel>header h2{font-size:24px}
  .xpd-app .xpd-inquiry-selection{grid-template-columns:1fr;max-height:138px;padding:12px 14px}
  .xpd-app .xpd-inquiry-form-host{padding:16px 14px max(18px,env(safe-area-inset-bottom))}
  .xpd-app .xpd-inquiry-form-host .xev-inquiry-form{grid-template-columns:1fr}
  .xpd-app .xpd-inquiry-form-host .xev-inquiry-form>p{grid-column:1!important}
}
