/* Nexus Prime V7: recommendations, product detail, duplicate-vitrine and header polish.
   Scoped to theme only; cannot affect admin UI or other installed themes. */
body.theme-nexus-parliament-klima .np7-compare-link{
 display:inline-flex!important;align-items:center!important;gap:7px!important;
 flex:0 0 auto!important;min-width:105px!important;white-space:nowrap!important
}
body.theme-nexus-parliament-klima .np7-compare-link>.np7-compare-copy{
 display:flex!important;flex-direction:column!important;justify-content:center!important;
 align-items:flex-start!important;min-width:75px!important;white-space:nowrap!important;gap:2px!important
}
body.theme-nexus-parliament-klima .np7-compare-link>.np7-compare-copy>strong,
body.theme-nexus-parliament-klima .np7-compare-link>.np7-compare-copy>small{
 display:block!important;width:auto!important;min-width:0!important;white-space:nowrap!important;
 line-height:1.25!important;margin:0!important;flex:none!important
}
body.theme-nexus-parliament-klima .np7-compare-link [data-compare-badge]{display:inline!important;width:auto!important;white-space:nowrap!important}
/* Product details tabs: make the content look like an intentional content panel. */
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs]{
 overflow:hidden!important;background:#fff!important;border:1px solid #d4e3f5!important;
 border-radius:17px!important;box-shadow:0 10px 29px rgba(20,70,125,.06)!important
}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs]>.flex:first-child{
 margin:0!important;padding:0 18px!important;gap:4px!important;scrollbar-width:thin;
 background:linear-gradient(180deg,#fafdff,#f5f9ff)
}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] .tab-btn{
 flex:0 0 auto!important;white-space:nowrap!important;min-height:52px!important;
 padding:14px 15px!important;transition:background .2s ease,color .2s ease!important
}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel]{
 padding:24px clamp(18px,2.6vw,36px)!important;margin:0!important;
 color:#3b5271!important;font:400 14px/1.8 'Inter',system-ui,sans-serif!important;
 max-width:100%!important;overflow-wrap:anywhere
}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel].hidden{display:none!important}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel] p{margin:0 0 12px!important;line-height:1.8!important}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel] :is(img,iframe,table){max-width:100%!important}
body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel] table{display:block;overflow-x:auto}
/* Prevent product suggestion sections from looking like empty, full-width boxes.
   If only a handful of recommendations are available, keep a natural card width. */
body.theme-nexus-parliament-klima .nx-product-detail-page .np7-suggestion-section{
 background:linear-gradient(140deg,#f7fbff,#e9f2ff)!important;
 border:1px solid #d2e2f7!important;border-radius:18px!important;
 box-shadow:0 12px 32px rgba(17,63,123,.06)!important
}
body.theme-nexus-parliament-klima .nx-product-detail-page :is(.np7-suggestion-section,.np7-similar-section)>.grid{
 display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr))!important;
 gap:clamp(12px,1.3vw,22px)!important;align-items:stretch!important
}
body.theme-nexus-parliament-klima .nx-product-detail-page .np7-suggestion-section>.grid:has(> :only-child){grid-template-columns:minmax(0,min(100%,295px))!important}
body.theme-nexus-parliament-klima .nx-product-detail-page .np7-similar-section>.grid:has(> :only-child){grid-template-columns:minmax(0,min(100%,295px))!important}
body.theme-nexus-parliament-klima .nx-product-detail-page :is(.np7-suggestion-section,.np7-similar-section) .nx-product-card{
 height:auto!important;min-height:0!important;max-height:none!important
}
/* Better readability and alignment for small homepage slider cards. */
body.theme-nexus-parliament-klima .np7-empty{
 display:flex;justify-content:center;align-items:center;text-align:center;flex:1;
 min-height:180px;padding:20px;color:#536d91;border:1px dashed #c5d9f0;
 background:#f5faff;border-radius:11px;font-size:12px;font-weight:600
}
body.theme-nexus-parliament-klima .np6-product-track{min-width:0!important}
body.theme-nexus-parliament-klima .np6-product-track .nx-product-card .nx-product-info{overflow:hidden!important}
body.theme-nexus-parliament-klima .np6-product-track .nx-product-card .np4-price-line{
 display:grid!important;grid-template-columns:minmax(0,.7fr) minmax(0,1.5fr)!important;align-items:baseline!important;
 min-width:0!important;gap:4px!important
}
body.theme-nexus-parliament-klima .np6-product-track .nx-product-card .np4-price-line .price{
 min-width:0!important;max-width:100%!important;font-variant-numeric:tabular-nums!important;
 white-space:nowrap!important;overflow:hidden!important;text-overflow:clip!important
}
@media(max-width:1250px) and (min-width:821px){
 body.theme-nexus-parliament-klima .np7-compare-link{min-width:auto!important}
 body.theme-nexus-parliament-klima .np7-compare-link>.np7-compare-copy{display:none!important}
}
@media(max-width:900px){
 body.theme-nexus-parliament-klima .nx-product-detail-page :is(.np7-suggestion-section,.np7-similar-section)>.grid{grid-template-columns:repeat(2,minmax(0,1fr))!important}
}
@media(max-width:600px){
 body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs]>.flex:first-child{padding:0 8px!important}
 body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] .tab-btn{font-size:12px!important;min-height:48px!important;padding:11px 12px!important}
 body.theme-nexus-parliament-klima .nx-product-detail-page [data-tabs] [data-tab-panel]{padding:18px 15px!important;font-size:13px!important;line-height:1.7!important}
 body.theme-nexus-parliament-klima .nx-product-detail-page .np7-suggestion-section{padding:15px!important}
 body.theme-nexus-parliament-klima .nx-product-detail-page :is(.np7-suggestion-section,.np7-similar-section)>.grid{gap:10px!important}
}
