/* Parliament V14 | compact product shelves and clean smart search.
   Loaded after V13; scoped to this theme. Content, ordering and desktop column
   count still originate from Anasayfa Duzeni (CSS variable --np13-columns). */
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf{margin-block:21px 27px!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-grid .np13-product-track{gap:12px!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track{gap:12px!important;padding-block:4px 12px!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track>.nx-product-card{
 flex:0 0 calc((100% - (var(--np13-columns,5) - 1)*12px)/var(--np13-columns,5))!important;
 width:calc((100% - (var(--np13-columns,5) - 1)*12px)/var(--np13-columns,5))!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track>.nx-product-card.poem-product-card{
 min-width:0!important;min-height:0!important;max-height:none!important;height:auto!important;
 align-self:stretch!important;border-radius:14px!important;
 transition:transform .2s ease,box-shadow .2s ease,border-color .2s ease!important;
 box-shadow:0 5px 20px rgba(16,42,79,.045)!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track>.nx-product-card:hover{
 transform:translateY(-3px)!important;box-shadow:0 13px 30px rgba(16,42,79,.13)!important;border-color:#b5cde7!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track>.nx-product-card:focus-within{outline:2px solid #5483b5!important;outline-offset:2px}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-media.poem-product-image{
 height:158px!important;min-height:158px!important;max-height:158px!important;flex:0 0 158px!important;
 aspect-ratio:auto!important;background:#f7fafd!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-media img.poem-card-photo{
 width:100%!important;height:100%!important;max-height:100%!important;object-fit:contain!important;
 padding:4px!important;transition:transform .25s ease!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track>.nx-product-card:hover .nx-product-media img.poem-card-photo{transform:scale(1.04)!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info.poem-product-info{
 padding:10px 10px 9px!important;gap:4px!important;min-height:0!important;height:auto!important;
 display:flex!important;flex-direction:column!important;flex:1 1 auto!important;
}
/* Let every real model name wrap. Do not crop/truncate product names. */
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info h3,
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info h3 a{
 display:block!important;height:auto!important;max-height:none!important;min-height:0!important;
 white-space:normal!important;overflow:visible!important;text-overflow:clip!important;
 -webkit-line-clamp:unset!important;line-clamp:unset!important;
 font-size:12px!important;line-height:1.34!important;overflow-wrap:anywhere!important;text-align:left!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-status{font-size:9px!important;line-height:1.25!important;gap:4px!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-rating{min-height:13px!important;line-height:1.3!important;margin:0!important;font-size:10px!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-price-block.poem-price-row{
 margin-top:auto!important;padding:7px 0 3px!important;min-height:48px!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .np13-current-price{
 font-size:clamp(13px,1.2vw,16px)!important;letter-spacing:-.035em!important;line-height:1.2!important;
 white-space:nowrap!important;overflow:visible!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .np13-old-price{font-size:10px!important;line-height:1.2!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-actions{
 flex:0 0 36px!important;height:36px!important;min-height:36px!important;max-height:36px!important;margin-top:4px!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-actions form,
body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-actions button{
 height:36px!important;min-height:36px!important;max-height:36px!important;width:100%!important;border-radius:8px!important;
}
/* Respects the administrator's card-count selection on desktops >=1200px.
   Tablet/mobile automatically reduce the visible count without changing settings. */
@media (max-width:1199px){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-grid .np13-product-track{grid-template-columns:repeat(4,minmax(0,1fr))!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track>.nx-product-card{flex-basis:calc((100% - 36px)/4)!important;width:calc((100% - 36px)/4)!important}
}
@media (max-width:900px){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-grid .np13-product-track{grid-template-columns:repeat(3,minmax(0,1fr))!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track>.nx-product-card{flex-basis:calc((100% - 24px)/3)!important;width:calc((100% - 24px)/3)!important}
}
@media (max-width:640px){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-grid .np13-product-track{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:9px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track{gap:9px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf-carousel .np13-product-track>.nx-product-card{flex-basis:calc((100% - 9px)/2)!important;width:calc((100% - 9px)/2)!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-media.poem-product-image{height:134px!important;min-height:134px!important;max-height:134px!important;flex-basis:134px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info.poem-product-info{padding:8px!important;gap:3px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info h3,
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .nx-product-info h3 a{font-size:11px!important;line-height:1.32!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-shelf .np13-product-track .np13-current-price{font-size:clamp(12px,3.6vw,15px)!important}
}
/* Search: one self-contained horizontal control. Prevent icon, placeholder,
   submit button and autocomplete popup from colliding. */
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-header-main{min-width:0!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search{
 box-sizing:border-box!important;display:grid!important;grid-template-columns:20px minmax(0,1fr) 78px!important;
 align-items:center!important;gap:8px!important;max-width:100%!important;width:100%!important;
 height:46px!important;min-height:46px!important;padding:0 0 0 12px!important;
 border:1.5px solid #cad9eb!important;border-radius:13px!important;background:#fff!important;
 box-shadow:0 4px 14px rgba(26,54,93,.06)!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search:focus-within{border-color:#5785ba!important;box-shadow:0 0 0 3px rgba(83,131,181,.13)!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search>svg{width:18px!important;height:18px!important;min-width:18px!important;flex:none!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search>.poem-search-input-wrap{
 display:block!important;min-width:0!important;width:100%!important;height:42px!important;min-height:0!important;
 border:0!important;background:none!important;margin:0!important;padding:0!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search input[type=search]{
 display:block!important;width:100%!important;min-width:0!important;max-width:100%!important;
 height:42px!important;min-height:42px!important;margin:0!important;padding:0 4px 0 0!important;
 border:0!important;background:transparent!important;box-shadow:none!important;
 outline:0!important;font:500 13px/1.2 Inter,system-ui,sans-serif!important;color:#18385f!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search input[type=search]:focus{outline:0!important;border:0!important;box-shadow:none!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search input[type=search]::placeholder{color:#8694a6!important;opacity:1!important}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search>button[type=submit]{
 display:block!important;width:78px!important;min-width:78px!important;max-width:78px!important;height:44px!important;
 min-height:44px!important;margin:0!important;padding:0 8px!important;border:0!important;
 border-radius:0 11px 11px 0!important;background:#1a365d!important;color:#fff!important;font-size:12px!important;font-weight:750!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-search.np10-search>.np10-search-suggestions{
 box-sizing:border-box!important;position:absolute!important;top:calc(100% + 8px)!important;
 left:0!important;right:0!important;width:100%!important;max-width:100%!important;
 max-height:min(440px,60vh)!important;overflow-y:auto!important;z-index:100!important;
}
body.theme-nexus-parliament-klima.parliament-portal-v8 .np10-search-suggestions[hidden]{display:none!important}
@media (min-width:821px) and (max-width:1199px){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-header-main{grid-template-columns:minmax(160px,200px) minmax(220px,1fr) auto!important;gap:12px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-header-main .np4-head-action>span{display:none!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-header-main .np4-head-action>svg{width:34px!important;height:34px!important}
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-header-actions{gap:5px!important}
}
@media (max-width:820px){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-mobile-search-box .np10-mobile-search{
  display:grid!important;grid-template-columns:minmax(0,1fr) 68px!important;gap:8px!important;
  width:100%!important;min-width:0!important;overflow:visible!important;
 }
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-mobile-search-box .np10-mobile-search>input[type=search]{
  min-width:0!important;width:100%!important;max-width:100%!important;min-height:44px!important;height:44px!important;
  padding:0 12px!important;font:500 14px/1.2 Inter,system-ui,sans-serif!important;
  border:1px solid #cad9eb!important;border-radius:11px!important;
 }
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-mobile-search-box .np10-mobile-search>button[type=submit]{
  min-width:68px!important;width:68px!important;height:44px!important;min-height:44px!important;
  padding:0!important;border-radius:11px!important;background:#1a365d!important;color:#fff!important;
 }
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np4-mobile-search-box .np10-mobile-search>.np10-search-suggestions{
  left:0!important;right:0!important;width:100%!important;max-width:none!important;
  top:calc(100% + 7px)!important;max-height:min(48dvh,385px)!important;
 }
}
@media (prefers-reduced-motion:reduce){
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-product-track>.nx-product-card,
 body.theme-nexus-parliament-klima.parliament-portal-v8 .np13-product-track img.poem-card-photo{transition:none!important;transform:none!important}
}
