/* Parts page redesigned to match the established CAR detail layout.
   Only this plugin owns .hmpc-*; all car pages unchanged. */
body.hmpc-section{--hmpc-red:#d90730;--hmpc-red2:#b40529;--hmpc-navy:#102c51;--hmpc-bg:#f3f6fa;--hmpc-stroke:#dde6f0;--hmpc-muted:#71839b}
body.hmpc-section .site-header a.header-cta,body.hmpc-section .site-header .header-cta,
body.hmpc-section a[href]:is(.sell-car-button,.btn-sell-car){background:#d90730!important;background-color:#d90730!important;border-color:#d90730!important;color:white!important;-webkit-text-fill-color:white!important}
body.single-hm_part .content-page{background:#f3f6fa!important;min-width:0!important;overflow-x:clip!important}
body.single-hm_part .content-page .wrap{width:100%!important;max-width:100%!important;padding:0!important;margin:0!important}
body.single-hm_part .hmp{width:100%!important;max-width:1240px!important;min-width:0!important;padding:18px 18px 80px!important;margin:0 auto!important;box-sizing:border-box!important;background:transparent!important}
body.single-hm_part .hmp-detail-breadcrumb{display:flex!important;align-items:center!important;flex-wrap:wrap!important;min-height:34px!important;margin:0 0 12px!important;padding:0 3px!important;background:transparent!important;border:0!important;box-shadow:none!important;color:#798ba1!important;font-size:12px!important;line-height:1.5!important}
body.single-hm_part .hmp-detail-crumb-title{color:var(--hmpc-navy)!important;font-weight:800!important}
/* Fail-safe: leave the unmodified original page visible until JS builds whole layout. */
body.single-hm_part .hmpc-root{direction:rtl!important;display:grid!important;grid-template-columns:324px minmax(0,1fr)!important;grid-template-areas:"sidebar main"!important;gap:24px!important;align-items:start!important;width:100%!important;max-width:100%!important;min-width:0!important;box-sizing:border-box!important}
body.single-hm_part .hmpc-main{grid-area:main!important;display:flex!important;flex-direction:column!important;gap:16px!important;min-width:0!important;max-width:100%!important}
body.single-hm_part .hmpc-sidebar{grid-area:sidebar!important;display:flex!important;flex-direction:column!important;gap:15px!important;position:sticky!important;top:78px!important;min-width:0!important;max-width:100%!important;align-self:start!important}
body.single-hm_part .hmpc-head{padding:0 2px!important;min-width:0!important}
body.single-hm_part .hmpc-head .hmp-kicker{display:inline-flex!important;width:max-content!important;max-width:100%!important;font-size:12px!important;padding:4px 9px!important;border-radius:999px!important;border:1px solid #f7cbd5!important;background:#fff0f3!important;color:#b5052a!important;font-weight:700!important;line-height:1.4!important;margin:0 0 7px!important}
body.single-hm_part .hmpc-head h1,body.single-hm_part .hmpc-head h2{display:block!important;font-weight:900!important;font-size:clamp(25px,3.1vw,37px)!important;line-height:1.42!important;letter-spacing:0!important;margin:0 0 8px!important;padding:0!important;color:#102c51!important;text-align:right!important;overflow-wrap:anywhere!important}
body.single-hm_part .hmpc-head-meta{display:flex!important;flex-wrap:wrap!important;gap:6px!important;align-items:center!important;margin-top:7px!important}
body.single-hm_part .hmpc-chip{display:inline-flex!important;max-width:100%!important;border:1px solid #dce4ee!important;background:white!important;color:#5c718c!important;padding:5px 10px!important;border-radius:99px!important;font-size:12px!important;line-height:1.4!important}
body.single-hm_part .hmpc-gallery{min-width:0!important;width:100%!important}
body.single-hm_part .hmpc-gallery .hmp-slideshow-large{display:block!important;position:relative!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important;border-radius:0!important;overflow:visible!important}
body.single-hm_part .hmpc-stage{position:relative!important;display:block!important;box-sizing:border-box!important;width:100%!important;min-width:0!important;aspect-ratio:16/9!important;overflow:hidden!important;border:1px solid #dce6ef!important;border-radius:15px!important;background:#e9f0f7!important;isolation:isolate!important}
body.single-hm_part .hmpc-stage>.hmp-slide-frame{display:block!important;position:relative!important;width:100%!important;height:100%!important;max-height:100%!important;min-height:0!important;aspect-ratio:auto!important;overflow:hidden!important;margin:0!important;padding:0!important;border:0!important;border-radius:0!important;background:transparent!important}
body.single-hm_part .hmpc-stage .hmp-slide-frame .hmp-slide,body.single-hm_part .hmpc-stage .hmp-slide-frame img{display:block;width:100%!important;height:100%!important;max-height:100%!important;max-width:100%!important;min-height:0!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;border-radius:0!important;background:transparent!important}
body.single-hm_part .hmpc-stage .hmp-slide-frame .hmp-slide:not(.is-active){display:none!important}
body.single-hm_part .hmpc-stage .hmp-slide-controls,body.single-hm_part .hmpc-stage .hmp-slide-count,body.single-hm_part .hmpc-gallery .hmp-slide-controls,body.single-hm_part .hmpc-gallery .hmp-slide-toggle{display:none!important;visibility:hidden!important}
body.single-hm_part .hmpc-control-layer{position:absolute!important;inset:0!important;z-index:15!important;pointer-events:none!important;background:transparent!important}
body.single-hm_part .hmpc-control-layer button{position:absolute!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;flex:0 0 auto!important;flex-grow:0!important;flex-shrink:0!important;min-width:0!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;pointer-events:auto!important;cursor:pointer!important;transition:background-color .15s ease!important}
body.single-hm_part .hmpc-control-layer button.hmpc-arrow{top:50%!important;width:42px!important;height:42px!important;transform:translateY(-50%)!important;background:#44515b!important;color:#fff!important;border:1px solid #9baab7!important;border-radius:50%!important;box-shadow:0 5px 14px rgba(0,0,0,.2)!important}
body.single-hm_part .hmpc-control-layer button.hmpc-arrow:hover{background:var(--hmpc-red)!important}
body.single-hm_part .hmpc-control-layer .hmpc-prev{right:12px!important;left:auto!important}
body.single-hm_part .hmpc-control-layer .hmpc-next{left:12px!important;right:auto!important}
body.single-hm_part .hmpc-control-layer button.hmpc-zoom{bottom:14px!important;left:13px!important;right:auto!important;top:auto!important;min-height:35px!important;height:35px!important;width:auto!important;max-width:104px!important;gap:7px!important;padding:0 11px!important;border-radius:20px!important;background:#44515b!important;color:#fff!important;border:0!important;font-size:12px!important;font-weight:800!important}
body.single-hm_part .hmpc-control-layer button svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;display:block!important;flex:0 0 17px!important}
body.single-hm_part .hmpc-gallery .hmp-slide-tabs{display:flex!important;flex-flow:row nowrap!important;align-items:stretch!important;justify-content:flex-start!important;gap:9px!important;width:100%!important;max-width:100%!important;box-sizing:border-box!important;margin:0!important;padding:10px 1px 4px!important;overflow-x:auto!important;overflow-y:hidden!important;scrollbar-width:thin!important}
body.single-hm_part .hmpc-gallery .hmp-slide-tab{position:relative!important;display:block!important;flex:0 0 87px!important;width:87px!important;height:69px!important;min-width:0!important;max-width:none!important;min-height:0!important;margin:0!important;padding:0!important;box-sizing:border-box!important;overflow:hidden!important;border:2px solid #e1e7ef!important;border-radius:10px!important;background-color:#e7edf4!important;box-shadow:none!important}
body.single-hm_part .hmpc-gallery .hmp-slide-tab:is(.is-active,[aria-pressed="true"]){border-color:var(--hmpc-red)!important;box-shadow:0 0 0 1px rgba(217,7,48,.15)!important}
body.single-hm_part .hmpc-gallery .hmp-slide-tab img{width:100%!important;height:100%!important;display:block!important;object-fit:cover!important}
body.single-hm_part .hmpc-price-card,body.single-hm_part .hmpc-contact-card,body.single-hm_part .hmpc-extra-card{border:1px solid #dbe5ef!important;background:white!important;border-radius:14px!important;padding:16px!important;box-shadow:0 5px 18px rgba(15,40,70,.035)!important;box-sizing:border-box!important;min-width:0!important;max-width:100%!important}
body.single-hm_part .hmpc-price-card{display:flex!important;flex-direction:column!important;gap:11px!important}
body.single-hm_part .hmpc-price-panel{display:flex!important;flex-direction:column!important;align-items:flex-start!important;justify-content:center!important;min-height:98px!important;padding:14px!important;background:linear-gradient(135deg,#ed0c3b,#b4042b)!important;border-radius:12px!important;box-sizing:border-box!important;overflow:hidden!important}
body.single-hm_part .hmpc-price-label{color:#ffe8ed!important;font-size:12px!important;font-weight:700!important}
body.single-hm_part .hmpc-price-panel .hmp-price{display:block!important;width:100%!important;max-width:100%!important;margin:0!important;padding:0!important;color:#fff!important;-webkit-text-fill-color:#fff!important;background:transparent!important;font-weight:900!important;line-height:1.35!important;font-size:clamp(25px,2.6vw,34px)!important;direction:rtl!important;text-align:left!important;white-space:normal!important;overflow-wrap:anywhere!important}
body.single-hm_part .hmpc-side-meta{display:flex!important;gap:7px!important;flex-wrap:wrap!important}
body.single-hm_part .hmpc-side-chip{display:inline-flex!important;align-items:center!important;font-size:12px!important;line-height:1.4!important;border:1px solid #dce6ef!important;background:#f9fbfe!important;border-radius:9px!important;padding:9px!important;color:#506983!important}
body.single-hm_part .hmpc-contact-card h3{display:block!important;color:#102c51!important;font-size:19px!important;font-weight:900!important;margin:0 0 12px!important;padding:0 0 10px!important;border-bottom:1px solid #e4ebf3!important}
body.single-hm_part .hmpc-contact-card .hmp-contact{display:block!important;margin:0!important;padding:0!important;background:transparent!important;border:0!important;box-shadow:none!important}
body.single-hm_part .hmpc-contact-card .hmp-note{display:block!important;margin:0 0 12px!important;padding:12px!important;border-radius:9px!important;background:#edf4fe!important;border:1px solid #dae6f5!important;color:#45627f!important;font-size:13px!important;line-height:1.65!important;text-align:center!important}
body.single-hm_part .hmpc-contact-card .hmp-btn,body.single-hm_part .hmpc-contact-card a[href]{display:inline-flex!important;align-items:center!important;justify-content:center!important;max-width:100%!important;min-width:0!important;min-height:43px!important;margin:0!important;padding:10px 12px!important;box-sizing:border-box!important;border-radius:9px!important;background:#102c51!important;color:#fff!important;-webkit-text-fill-color:#fff!important;text-align:center!important;font-size:14px!important;font-weight:800!important;text-decoration:none!important}
body.single-hm_part .hmpc-contact-card .hmp-contact{display:flex!important;flex-flow:row wrap!important;gap:9px!important;align-items:stretch!important}
body.single-hm_part .hmpc-contact-card .hmp-contact .hmp-note{flex:1 0 100%!important}
body.single-hm_part .hmpc-contact-card .hmp-contact>a[href]{flex:1 1 115px!important}
body.single-hm_part .hmpc-contact-card a[href*='wa.me'],body.single-hm_part .hmpc-contact-card a[href*='whatsapp.com'],body.single-hm_part .hmpc-contact-card a[href*='api.whatsapp.com']{background:#1bc565!important;color:#fff!important;-webkit-text-fill-color:#fff!important}
body.single-hm_part .hmpc-contact-card .hmp-contact>a:only-of-type{display:flex!important;width:100%!important}
body.single-hm_part .hmpc-extra-card{padding:14px!important}
body.single-hm_part .hmpc-extra-card h3{font-size:15px!important;color:#102c51!important;margin:0 0 8px!important}
body.single-hm_part .hmpc-extra-card p{font-size:13px!important;color:#657a95!important;margin:0!important;line-height:1.8!important}
body.single-hm_part .hmpc-facts-panel{border-top:1px solid #dce5ef!important;padding:13px 0 0!important;margin-top:2px!important;background:transparent!important;min-width:0!important}
body.single-hm_part .hmpc-facts-panel h2{color:#102c51!important;font-size:23px!important;font-weight:900!important;line-height:1.5!important;text-align:right!important;margin:0 0 10px!important;padding:0!important}
body.single-hm_part details.hmpc-accordion{background:#fff!important;border:1px solid #dbe5ef!important;border-radius:13px!important;overflow:hidden!important;box-shadow:none!important}
body.single-hm_part details.hmpc-accordion>summary{cursor:pointer!important;display:flex!important;align-items:center!important;justify-content:space-between!important;padding:14px 16px!important;margin:0!important;border-bottom:1px solid #e2e9f1!important;background:#fff!important;color:#102c51!important;font-weight:800!important;font-size:14px!important;list-style:none!important}
body.single-hm_part details.hmpc-accordion>summary::-webkit-details-marker{display:none!important}
body.single-hm_part details.hmpc-accordion>summary:after{content:'⌄'!important;display:inline-flex!important;align-items:center!important;justify-content:center!important;width:25px!important;height:25px!important;border-radius:8px!important;background:#eaf0f7!important;font-size:19px!important;color:#203a5a!important}
body.single-hm_part details.hmpc-accordion:not([open])>summary{border-bottom:0!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;gap:0!important;direction:rtl!important;list-style:none!important;width:100%!important;min-width:0!important;margin:0!important;padding:18px 8px!important;background:#fff!important;border:0!important;border-radius:0!important;box-sizing:border-box!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs>li{position:relative!important;display:flex!important;flex-direction:column!important;align-items:center!important;justify-content:center!important;gap:6px!important;min-width:0!important;width:auto!important;max-width:none!important;min-height:87px!important;padding:4px 6px!important;margin:0!important;border:0!important;border-radius:0!important;background:transparent!important;box-shadow:none!important;text-align:center!important;grid-column:auto!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs>li:not(:first-child){border-inline-start:1px solid #e0e6ee!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs>li:nth-child(n+5){display:none!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs>li .term{display:none!important}
body.single-hm_part .hmpc-facts-panel .hmp-specs>li strong{display:block!important;width:100%!important;color:#102c51!important;-webkit-text-fill-color:#102c51!important;font-size:clamp(12px,1.3vw,15px)!important;line-height:1.4!important;font-weight:850!important;text-align:center!important;overflow-wrap:anywhere!important;padding:0!important;margin:0!important}
body.single-hm_part .hmpc-facts-panel .hmpc-fact-icon{display:flex!important;align-items:center!important;justify-content:center!important;flex:0 0 32px!important;width:32px!important;height:32px!important;min-height:32px!important;margin:0 auto!important;position:static!important;background:none!important;border:0!important}
body.single-hm_part .hmpc-facts-panel .hmpc-fact-icon svg{display:block!important;width:29px!important;height:29px!important;max-width:29px!important;max-height:29px!important}
body.single-hm_part .hmpc-additional{display:flex!important;gap:12px!important;flex-wrap:wrap!important;padding:0 16px 14px!important;margin:0!important;color:#657b95!important;font-size:13px!important}
body.single-hm_part .hmpc-additional .hmpc-row{display:flex!important;gap:7px!important}
body.single-hm_part .hmpc-additional strong{color:#102c51!important}
body.single-hm_part .hmpc-desc-panel{background:#fff!important;border:1px solid #dce6ef!important;border-radius:13px!important;padding:18px 19px!important;box-sizing:border-box!important;min-width:0!important}
body.single-hm_part .hmpc-desc-panel h3{color:#102c51!important;font-size:20px!important;font-weight:850!important;padding:0!important;margin:0 0 9px!important}
body.single-hm_part .hmpc-desc-panel .hmp-description{background:transparent!important;margin:0!important;padding:0!important;border:0!important;box-shadow:none!important;color:#263c5c!important;font-size:15px!important;line-height:1.8!important}
body.single-hm_part .hmpc-desc-panel .hmp-description>h3{display:none!important}
body.single-hm_part .hmpc-desc-panel .hmp-description p{margin:0!important;line-height:1.8!important}
body.single-hm_part .hmpc-mobile-cta{display:none!important}
body.single-hm_part .hmpc-modal[hidden]{display:none!important}
body.single-hm_part .hmpc-modal{position:fixed!important;inset:0!important;z-index:999999!important;display:flex!important;align-items:center!important;justify-content:center!important;background:rgba(3,12,27,.9)!important;padding:40px 12px!important;box-sizing:border-box!important}
body.single-hm_part .hmpc-modal__image{max-width:calc(100vw - 28px)!important;max-height:calc(100dvh - 100px)!important;width:auto!important;height:auto!important;object-fit:contain!important;background:transparent!important;border-radius:8px!important}
body.single-hm_part .hmpc-modal button{position:absolute!important;display:flex!important;align-items:center!important;justify-content:center!important;cursor:pointer!important;margin:0!important;padding:0!important;z-index:2!important;color:#fff!important;background:rgba(18,34,53,.9)!important;border:1px solid #65768b!important;border-radius:50%!important;width:43px!important;height:43px!important}
body.single-hm_part .hmpc-modal__close{right:15px!important;top:15px!important}
body.single-hm_part .hmpc-modal__prev{right:14px!important;top:50%!important}
body.single-hm_part .hmpc-modal__next{left:14px!important;top:50%!important}
body.single-hm_part .hmpc-modal button svg{width:22px!important;height:22px!important}
/* Market: red accents stay restricted to spare parts pages. */
body.page-id-1159 .hmp-grid .hmp-price,body.page-id-1159 .hmp-grid .hmp-card-bottom strong{color:var(--hmpc-red)!important;-webkit-text-fill-color:var(--hmpc-red)!important}
body.page-id-1159 .hmp-filter button[type="submit"]{background:var(--hmpc-red)!important;color:#fff!important;border-color:var(--hmpc-red)!important}
body.page-id-1159 .hmp-slide-toggle,body.page-id-1159 .hmp-slide-count{display:none!important}
@media(max-width:880px){
 body.single-hm_part .hmp{padding:10px 11px 90px!important}
 body.single-hm_part .hmpc-root{grid-template-columns:minmax(0,1fr)!important;grid-template-areas:"main" "sidebar"!important;gap:0!important}
 body.single-hm_part .hmpc-main,body.single-hm_part .hmpc-sidebar{display:contents!important}
 body.single-hm_part .hmpc-head{grid-area:head!important}
 body.single-hm_part .hmpc-gallery{grid-area:gallery!important}
 body.single-hm_part .hmpc-price-card{grid-area:price!important}
 body.single-hm_part .hmpc-facts-panel{grid-area:facts!important}
 body.single-hm_part .hmpc-desc-panel{grid-area:desc!important}
 body.single-hm_part .hmpc-contact-card{grid-area:contact!important}
 body.single-hm_part .hmpc-extra-card{grid-area:guide!important}
 body.single-hm_part .hmpc-root{display:grid!important;grid-template-areas:"head" "gallery" "price" "facts" "desc" "contact" "guide"!important;row-gap:12px!important}
 body.single-hm_part .hmpc-head{padding:3px 3px 0!important}
 body.single-hm_part .hmpc-head h2{font-size:clamp(22px,6vw,28px)!important;line-height:1.4!important}
 body.single-hm_part .hmpc-stage{aspect-ratio:4/3!important;border-radius:13px!important}
 body.single-hm_part .hmpc-control-layer button.hmpc-arrow{width:35px!important;height:35px!important}
 body.single-hm_part .hmpc-control-layer .hmpc-prev{right:7px!important}
 body.single-hm_part .hmpc-control-layer .hmpc-next{left:7px!important}
 body.single-hm_part .hmpc-control-layer button.hmpc-zoom{bottom:10px!important;left:8px!important;height:31px!important;min-height:31px!important}
 body.single-hm_part .hmpc-gallery .hmp-slide-tab{flex-basis:83px!important;width:83px!important;height:64px!important}
 body.single-hm_part .hmpc-price-card{padding:12px!important;border-radius:13px!important}
 body.single-hm_part .hmpc-price-panel{min-height:74px!important;padding:11px 14px!important}
 body.single-hm_part .hmpc-price-panel .hmp-price{font-size:clamp(26px,7.2vw,36px)!important}
 body.single-hm_part .hmpc-facts-panel h2{font-size:20px!important}
 body.single-hm_part .hmpc-facts-panel .hmp-specs{padding:12px 2px!important}
 body.single-hm_part .hmpc-facts-panel .hmp-specs>li{padding:3px 1px!important;min-height:73px!important}
 body.single-hm_part .hmpc-facts-panel .hmp-specs>li strong{font-size:12px!important}
 body.single-hm_part .hmpc-facts-panel .hmpc-fact-icon{width:27px!important;height:27px!important;min-height:27px!important;flex-basis:27px!important}
 body.single-hm_part .hmpc-facts-panel .hmpc-fact-icon svg{width:26px!important;height:26px!important}
 body.single-hm_part .hmpc-contact-card{padding:14px!important}
 body.single-hm_part .hmpc-desc-panel{padding:14px!important}
 body.single-hm_part .hmpc-mobile-cta{display:flex!important;position:fixed!important;z-index:11000!important;left:0!important;right:0!important;bottom:0!important;min-height:65px!important;padding:9px 14px calc(9px + env(safe-area-inset-bottom))!important;box-sizing:border-box!important;background:#102c51!important;justify-content:center!important;align-items:center!important;box-shadow:0 -5px 23px rgba(5,25,55,.18)!important}
 body.single-hm_part .hmpc-mobile-cta a{display:flex!important;justify-content:center!important;align-items:center!important;width:100%!important;max-width:540px!important;min-height:44px!important;border-radius:10px!important;background:#d90730!important;color:#fff!important;-webkit-text-fill-color:#fff!important;font-weight:850!important;text-align:center!important;text-decoration:none!important;font-size:15px!important;padding:8px!important;box-sizing:border-box!important}
}
@media(max-width:355px){body.single-hm_part .hmpc-facts-panel .hmp-specs>li strong{font-size:10.5px!important}}

/* 4.0.2 — Show the saved part details in the car-style sidebar. */
body.single-hm_part .hmpc-info-card{
 display:block!important;box-sizing:border-box!important;min-width:0!important;width:100%!important;
 padding:15px 16px!important;margin:0!important;background:#fff!important;
 border:1px solid #dbe5ef!important;border-radius:14px!important;
 box-shadow:0 5px 18px rgba(15,40,70,.035)!important;
}
body.single-hm_part .hmpc-info-title{
 position:relative!important;display:block!important;color:#102c51!important;
 font-size:16px!important;font-weight:850!important;line-height:1.5!important;
 padding:0 0 11px!important;margin:0 0 5px!important;text-align:right!important;
 border-bottom:1px solid #e1e8f0!important;
}
body.single-hm_part .hmpc-info-title:before{
 content:'';position:absolute;top:4px;right:0;width:3px;height:20px;
 background:#d90730;border-radius:2px;
}
body.single-hm_part .hmpc-info-title{padding-right:10px!important}
body.single-hm_part .hmpc-info-list{display:block!important;margin:0!important;padding:0!important;min-width:0!important}
body.single-hm_part .hmpc-info-row{
 display:flex!important;align-items:flex-start!important;justify-content:space-between!important;
 gap:12px!important;min-height:44px!important;padding:11px 0!important;
 border-bottom:1px solid #edf1f5!important;font-size:13px!important;line-height:1.55!important;
}
body.single-hm_part .hmpc-info-row:last-child{border-bottom:0!important;padding-bottom:2px!important}
body.single-hm_part .hmpc-info-row dt{
 flex:0 0 43%!important;min-width:0!important;margin:0!important;
 color:#6b7b91!important;text-align:right!important;font-weight:600!important;
}
body.single-hm_part .hmpc-info-row dd{
 flex:1 1 auto!important;min-width:0!important;margin:0!important;
 color:#102c51!important;text-align:left!important;font-weight:800!important;
 overflow-wrap:anywhere!important;
}
/* Remove only the standalone theme title 'قطع الغيار' from the marketplace page. */
body.page-id-1159 main.content-page>article>h1:first-child{display:none!important}
body.page-id-1159 main.content-page{padding-top:0!important}
/* Single spare part detail has its own clear product title, so the redundant breadcrumb is unnecessary. */
body.single-hm_part .hmp-detail-breadcrumb{display:none!important}
/* With a long information rail, normal page scrolling must always reach its end. */
body.single-hm_part .hmpc-sidebar{position:static!important;top:auto!important}
@media(max-width:880px){
 body.single-hm_part .hmpc-compat{grid-area:compat!important}
 body.single-hm_part .hmpc-inventory{grid-area:inventory!important}
 body.single-hm_part .hmpc-delivery{grid-area:delivery!important}
 body.single-hm_part .hmpc-root{
  grid-template-areas:"head" "gallery" "price" "facts" "compat" "inventory" "delivery" "desc" "contact" "guide"!important;
 }
 body.single-hm_part .hmpc-info-card{padding:13px!important}
 body.single-hm_part .hmpc-info-row dt{flex-basis:44%!important}
}

/* 4.0.3 — Contact card: exact two equal actions, never allow the seller's
   long phone label to overflow the WhatsApp button or the sidebar. */
body.single-hm_part.hmpc-ready .hmpc-contact-card,
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact{
  min-width:0!important;max-width:100%!important;box-sizing:border-box!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact{
  display:grid!important;
  grid-template-columns:repeat(2,minmax(0,1fr))!important;
  gap:10px!important;
  align-items:stretch!important;
  width:100%!important;
  padding:0!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>*:not(a[href]){
  grid-column:1/-1!important;min-width:0!important;width:100%!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>a[href]{
  grid-column:auto!important;
  display:flex!important;flex:none!important;
  min-width:0!important;max-width:100%!important;width:100%!important;
  min-height:48px!important;height:auto!important;
  margin:0!important;padding:10px 7px!important;
  box-sizing:border-box!important;overflow:hidden!important;
  white-space:normal!important;overflow-wrap:anywhere!important;word-break:normal!important;
  flex-direction:row!important;flex-wrap:nowrap!important;
  gap:7px!important;align-items:center!important;justify-content:center!important;
  text-align:center!important;line-height:1.45!important;font-size:13px!important;
  border-radius:10px!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>a[href]:only-of-type{
  grid-column:1/-1!important;width:100%!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>a[href] .hmpc-contact-icon{
  width:17px!important;height:17px!important;min-width:17px!important;max-width:17px!important;
  display:block!important;flex:0 0 17px!important;fill:none!important;stroke:currentColor!important;
}
body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>a[href] .hmpc-contact-label{
  display:inline-block!important;min-width:0!important;max-width:100%!important;
  white-space:nowrap!important;line-height:1.4!important;overflow:visible!important;
}
@media(max-width:370px){
 body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact{gap:7px!important;}
 body.single-hm_part.hmpc-ready .hmpc-contact-card .hmp-contact>a[href]{font-size:12px!important;padding:9px 5px!important;gap:5px!important;}
}


/* 4.0.5: actual root fixes, not stacked page-snippet overrides. */
body.single-hm_part .hmpc-breadcrumb{display:flex!important;flex-wrap:wrap!important;align-items:center!important;gap:5px!important;margin:0 0 8px!important;color:#71839b!important;font-size:12px!important;font-weight:600!important;line-height:1.6!important}
body.single-hm_part .hmpc-breadcrumb a{color:#54708b!important;text-decoration:none!important}
body.single-hm_part .hmpc-breadcrumb .hmpc-bread-sep{color:#9aa9bb!important}
body.single-hm_part .hmpc-breadcrumb>span:last-child{font-weight:800!important;color:#b51233!important}
body.single-hm_part .hmpc-head .hmp-kicker{display:none!important}
body.single-hm_part .hmpc-head-meta,body.single-hm_part .hmpc-side-meta{display:none!important}
body.single-hm_part .hmpc-facts-panel{display:none!important}
body.single-hm_part .hmpc-control-layer :is(.hmpc-arrow,.hmpc-zoom){appearance:none!important;-webkit-appearance:none!important;display:flex!important;position:absolute!important;align-items:center!important;justify-content:center!important;box-sizing:border-box!important;flex:none!important;overflow:hidden!important;margin:0!important;border:1px solid rgba(255,255,255,.7)!important;background:#20364cdd!important;color:#fff!important;cursor:pointer!important;user-select:none!important;line-height:1!important;max-width:none!important;max-height:none!important;min-width:0!important;min-height:0!important;box-shadow:0 2px 10px rgba(0,0,0,.18)!important}
body.single-hm_part .hmpc-control-layer .hmpc-arrow{width:36px!important;height:36px!important;max-width:36px!important;max-height:36px!important;border-radius:50%!important;top:50%!important;transform:translateY(-50%)!important;padding:7px!important}
body.single-hm_part .hmpc-control-layer .hmpc-prev{right:10px!important;left:auto!important}
body.single-hm_part .hmpc-control-layer .hmpc-next{left:10px!important;right:auto!important}
body.single-hm_part .hmpc-control-layer .hmpc-zoom{width:auto!important;height:34px!important;min-height:34px!important;max-height:34px!important;max-width:110px!important;border-radius:20px!important;bottom:10px!important;left:10px!important;right:auto!important;top:auto!important;padding:0 10px!important;gap:5px!important}
body.single-hm_part .hmpc-control-layer :is(.hmpc-arrow,.hmpc-zoom)::before,body.single-hm_part .hmpc-control-layer :is(.hmpc-arrow,.hmpc-zoom)::after{display:none!important;content:none!important}
body.single-hm_part .hmpc-control-layer :is(.hmpc-arrow,.hmpc-zoom) svg{width:17px!important;height:17px!important;max-width:17px!important;max-height:17px!important;display:block!important;flex:none!important}
body.single-hm_part .hmpc-price-card{padding:9px!important}
body.single-hm_part .hmpc-price-panel{min-height:55px!important;display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:space-between!important;gap:10px!important;padding:10px 14px!important}
body.single-hm_part .hmpc-price-panel .hmpc-price-label{white-space:nowrap!important;font-size:13px!important;flex:none!important}
body.single-hm_part .hmpc-price-panel .hmp-price{font-size:clamp(20px,2vw,26px)!important;line-height:1.25!important;white-space:nowrap!important;width:auto!important;max-width:100%!important;flex:0 1 auto!important;min-width:0!important;overflow:visible!important;direction:rtl!important;text-align:left!important}
body.single-hm_part .hmpc-mobile-cta{display:none!important}
@media(max-width:880px){
body.single-hm_part .hmp{padding-bottom:24px!important}
body.single-hm_part .hmpc-main,body.single-hm_part .hmpc-sidebar{display:contents!important}
body.single-hm_part .hmpc-root{grid-template-areas:"head" "gallery" "price" "compat" "inventory" "delivery" "desc" "contact" "guide"!important;row-gap:9px!important}
body.single-hm_part .hmpc-price-panel{min-height:52px!important;padding:10px 12px!important}
body.single-hm_part .hmpc-price-panel .hmp-price{font-size:clamp(20px,5.6vw,25px)!important;white-space:nowrap!important}
body.single-hm_part .hmpc-control-layer .hmpc-arrow{width:32px!important;height:32px!important;max-width:32px!important;max-height:32px!important}
body.single-hm_part .hmpc-head h2{margin-bottom:2px!important}
body.single-hm_part .hmpc-gallery{margin-bottom:0!important}
body.single-hm_part .hmpc-info-card{padding:12px!important}
}

/* 4.0.6: Mobile seller contact immediately after compatibility, not under the delivery panels. */
@media (max-width:880px){
 body.single-hm_part.hmpc-ready .hmpc-root{
  grid-template-areas:"head" "gallery" "price" "compat" "contact" "inventory" "delivery" "desc" "guide"!important;
 }
 body.single-hm_part.hmpc-ready .hmpc-contact-card{grid-area:contact!important;align-self:stretch!important;margin:0!important;}
 body.single-hm_part .hmpc-mobile-cta{display:none!important;}
}
/* Zoom dialog owns its close and navigation buttons, independent from the site's global button rules. */
body.single-hm_part .hmpc-modal > button.hmpc-modal__close,
body.single-hm_part .hmpc-modal > button.hmpc-modal__prev,
body.single-hm_part .hmpc-modal > button.hmpc-modal__next{
 all:unset!important;
 box-sizing:border-box!important;
 position:fixed!important;
 display:flex!important;
 flex:0 0 42px!important;
 align-items:center!important;
 justify-content:center!important;
 width:42px!important;
 min-width:42px!important;
 max-width:42px!important;
 height:42px!important;
 min-height:42px!important;
 max-height:42px!important;
 padding:0!important;
 margin:0!important;
 border:1px solid rgba(255,255,255,.65)!important;
 border-radius:50%!important;
 background:rgba(20,37,57,.95)!important;
 color:#fff!important;
 -webkit-text-fill-color:#fff!important;
 font-size:0!important;
 line-height:1!important;
 text-align:center!important;
 box-shadow:0 3px 15px rgba(0,0,0,.27)!important;
 cursor:pointer!important;
 pointer-events:auto!important;
 z-index:2147483647!important;
 touch-action:manipulation!important;
 overflow:hidden!important;
}
body.single-hm_part .hmpc-modal > button.hmpc-modal__close{top:calc(14px + env(safe-area-inset-top,0px))!important;right:14px!important;left:auto!important;bottom:auto!important;transform:none!important;}
body.single-hm_part .hmpc-modal > button.hmpc-modal__prev{top:50%!important;right:10px!important;left:auto!important;bottom:auto!important;transform:translateY(-50%)!important;}
body.single-hm_part .hmpc-modal > button.hmpc-modal__next{top:50%!important;left:10px!important;right:auto!important;bottom:auto!important;transform:translateY(-50%)!important;}
body.single-hm_part .hmpc-modal > button:is(.hmpc-modal__close,.hmpc-modal__prev,.hmpc-modal__next)::before,
body.single-hm_part .hmpc-modal > button:is(.hmpc-modal__close,.hmpc-modal__prev,.hmpc-modal__next)::after{content:none!important;display:none!important;}
body.single-hm_part .hmpc-modal > button:is(.hmpc-modal__close,.hmpc-modal__prev,.hmpc-modal__next) svg{
 display:block!important;
 position:static!important;
 width:21px!important;
 height:21px!important;
 min-width:21px!important;
 max-width:21px!important;
 min-height:21px!important;
 max-height:21px!important;
 margin:0!important;
 padding:0!important;
 flex:0 0 21px!important;
 stroke:currentColor!important;
 fill:none!important;
}
body.single-hm_part .hmpc-modal > button:focus-visible{outline:3px solid #fff!important;outline-offset:3px!important;}

/* 4.0.7: useful detail follow-ups without duplicating the saved compatibility sidebar. */
body.single-hm_part .hmpc-follow{display:grid;gap:14px;min-width:0;width:100%;margin:0;padding:0;box-sizing:border-box}
body.single-hm_part .hmpc-follow-card{min-width:0;padding:21px;border:1px solid #dce5ef;border-radius:15px;background:#fff;box-shadow:0 4px 14px rgba(12,34,68,.04)}
body.single-hm_part .hmpc-follow-heading{display:flex;gap:12px;align-items:flex-start;justify-content:flex-start;margin-bottom:17px}
body.single-hm_part .hmpc-follow-icon{display:grid;place-items:center;flex:none;width:40px;height:40px;border-radius:12px;background:#fff0f3;color:#d90730;font-size:23px;font-weight:900}
body.single-hm_part .hmpc-follow-heading h3{font-size:20px;line-height:1.5;color:#102c51;margin:0 0 4px;font-weight:900}
body.single-hm_part .hmpc-follow-heading p{font-size:13px;line-height:1.8;color:#71839b;margin:0}
body.single-hm_part .hmpc-follow input{width:100%;height:45px;min-height:45px;box-sizing:border-box;border:1px solid #d4dfeb;border-radius:9px;background:#fafcff;color:#102c51;font:inherit;font-size:14px;padding:10px 12px;box-shadow:none}
body.single-hm_part .hmpc-follow label{min-width:0;display:flex;flex-direction:column;gap:6px;font-size:13px;font-weight:800;color:#18395b}
body.single-hm_part .hmpc-follow form button{width:auto;max-width:100%;min-height:45px;padding:10px 18px;border:0;border-radius:10px;background:#d90730;color:#fff;font-size:14px;line-height:1.5;font-weight:900;cursor:pointer}
body.single-hm_part .hmpc-fit-form{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:end;gap:11px}
body.single-hm_part .hmpc-fit-result{font-size:13px;line-height:1.8;font-weight:800;min-height:0;margin:9px 0 0}
body.single-hm_part .hmpc-fit-result.is-ok{color:#17663d}body.single-hm_part .hmpc-fit-result.is-error{color:#bf243d}
body.single-hm_part .hmpc-request-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;margin-bottom:14px}
body.single-hm_part .hmpc-request-form>.hmpc-request-fields+.hmpc-request-form{}body.single-hm_part .hmpc-request-wide{grid-column:1/-1}
body.single-hm_part .hmpc-request-form>small{display:block;margin-top:9px;color:#71839b;font-size:12px;line-height:1.7}
body.single-hm_part .hmpc-request-unavailable{color:#aa2440;background:#fff5f6;border:1px solid #f5d5dc;padding:12px;border-radius:10px}
@media(max-width:880px){body.single-hm_part .hmpc-follow{grid-area:follow!important}body.single-hm_part.hmpc-ready .hmpc-root{grid-template-areas:"head" "gallery" "price" "compat" "contact" "inventory" "delivery" "desc" "follow" "guide"!important}body.single-hm_part .hmpc-follow-card{padding:15px}body.single-hm_part .hmpc-follow-heading h3{font-size:17px}body.single-hm_part .hmpc-fit-form{grid-template-columns:1fr}body.single-hm_part .hmpc-fit-form button,body.single-hm_part .hmpc-request-form>button{width:100%}}
@media(max-width:380px){body.single-hm_part .hmpc-request-fields{grid-template-columns:1fr}}

/* 4.0.8 — WEB ONLY: compatibility first, then price, then seller contact.
   Mobile retains its separately defined grid areas and order. */
@media (min-width:881px) {
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-compat{order:0!important}
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-price-card{order:1!important}
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-contact-card{order:2!important}
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-inventory{order:3!important}
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-delivery{order:4!important}
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-extra-card{order:5!important}
}

/* 4.0.9: no destructive management actions on the public spare-part detail.
   Sellers remove or edit their listings from their dashboard only. */
body.single-hm_part :is(.hmpc-root,.hmp-detail-grid) :is(.hmp-delete,.hmp-delete-ad,.hmp-remove-ad,.hmp-remove-listing,.hmpc-delete,.hmp-owner-delete,[data-action="delete-part"],[data-action="remove-part"],[name="hmp_delete"],[name="hmp_remove"],a[href*="hmp_delete"],a[href*="delete_part"],a[href*="remove_part"]){display:none!important}

/* 4.1.1 — Market actions are for shoppers, not sellers. Keep deletion available
   exclusively in seller and operations management views. */
body.hmpc-public-parts-market .hmp-grid form.hmp-remove-form,
body.hmpc-public-parts-market .hmp-grid .hmp-remove-button{display:none!important;visibility:hidden!important;}
/* Red, high-contrast action on public spare-part cards, for mobile and web. */
body.hmpc-public-parts-market .hmp-grid .hmp-card .hmp-card-bottom > a[href],
body.hmpc-public-parts-market .hmp-grid .hmp-card a.hmp-btn-dark{
 background:#d90730!important;background-color:#d90730!important;
 border-color:#d90730!important;color:#fff!important;
 -webkit-text-fill-color:#fff!important;text-decoration:none!important;
}
body.hmpc-public-parts-market .hmp-grid .hmp-card .hmp-card-bottom > a[href]:hover,
body.hmpc-public-parts-market .hmp-grid .hmp-card .hmp-card-bottom > a[href]:focus-visible{
 background:#ab0426!important;background-color:#ab0426!important;
}
/* Both follow-up buttons previously inherited orange from the global theme. */
body.single-hm_part .hmpc-follow .hmpc-fit-form button[type="submit"],
body.single-hm_part .hmpc-follow .hmpc-request-form > button[type="submit"]{
 background:#d90730!important;background-color:#d90730!important;
 background-image:none!important;border-color:#d90730!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}
body.single-hm_part .hmpc-follow .hmpc-fit-form button[type="submit"]:hover,
body.single-hm_part .hmpc-follow .hmpc-request-form > button[type="submit"]:hover{
 background:#af0528!important;background-color:#af0528!important;
}
/* Make clearly linked cards discoverable to mouse and keyboard. */
.hmpc-card-can-open{cursor:pointer;}
.hmpc-card-can-open:focus-visible{outline:3px solid #d90730!important;outline-offset:3px!important;}

/* 4.1.3 — defensive fallback for theme inline-important orange on the two CTAs. */
html body.single-hm_part.hmpc-ready .hmpc-follow button[type="submit"],
html body.single-hm_part.hmpc-ready .hmpc-follow .hmpc-fit-form button[type="submit"],
html body.single-hm_part.hmpc-ready .hmpc-follow .hmpc-request-form button[type="submit"]{
 background:#d90730!important;background-color:#d90730!important;
 background-image:none!important;border-color:#d90730!important;
 color:#fff!important;-webkit-text-fill-color:#fff!important;
}

/* 4.1.5 — Desktop only: car-year compatibility checker sits immediately AFTER
   shipping & delivery in the detail sidebar. Mobile order is untouched. */
@media (min-width:881px){
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-check-fit{
  order:5!important;
  width:100%!important;
  min-width:0!important;
  box-sizing:border-box!important;
  padding:15px 16px!important;
  margin:0!important;
 }
 body.single-hm_part.hmpc-ready .hmpc-sidebar > .hmpc-extra-card{order:6!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-follow-heading{gap:9px!important;margin-bottom:12px!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-follow-icon{width:32px!important;height:32px!important;font-size:18px!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-follow-heading h3{font-size:16px!important;line-height:1.55!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-follow-heading p{font-size:12px!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-fit-form{display:grid!important;grid-template-columns:minmax(0,1fr)!important;gap:9px!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-fit-form label{display:flex!important;flex-direction:column!important;gap:6px!important;min-width:0!important;font-weight:800!important;font-size:12px!important;color:#18395b!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-fit-form input{display:block!important;width:100%!important;min-width:0!important;box-sizing:border-box!important;min-height:42px!important;border:1px solid #d4dfeb!important;border-radius:9px!important;background:#fafcff!important;padding:9px 12px!important;font-size:14px!important;color:#102c51!important}
 body.single-hm_part .hmpc-sidebar > .hmpc-check-fit .hmpc-fit-form button{display:block!important;width:100%!important;min-height:42px!important;box-sizing:border-box!important;padding:9px 12px!important;border-radius:9px!important;background:#d90730!important;background-image:none!important;color:#fff!important;-webkit-text-fill-color:#fff!important;border:1px solid #d90730!important;font-size:13px!important;font-weight:800!important;white-space:normal!important}
}
