/* =========================================================
   PMUK client v5 fixes - 2026-06-07
   Product image sync, no-gap catalog grids, industry image grids,
   and consistent readable product pages.
   ========================================================= */

:root{
  --pmuk-orange:#ff8216;
  --pmuk-orange-soft:rgba(255,130,22,.42);
  --pmuk-dark:#050505;
  --pmuk-panel:#111;
  --pmuk-panel-2:#181818;
  --pmuk-text:#f8fafc;
  --pmuk-muted:#dbe3ee;
}

/* Catalogue pages: remove Bootstrap spacing gaps and keep filtered cards collapsed. */
body.pmuk-catalog-page #range{
  background:#050505!important;
  padding:42px 0 62px!important;
}
body.pmuk-catalog-page #range .container{
  max-width:1220px!important;
  width:100%!important;
  padding-left:18px!important;
  padding-right:18px!important;
}
body.pmuk-catalog-page #product-grid.row,
body.pmuk-catalog-page #product-grid{
  display:grid!important;
  grid-template-columns:repeat(auto-fill,minmax(255px,1fr))!important;
  gap:28px!important;
  margin:0!important;
  align-items:stretch!important;
}
body.pmuk-catalog-page #product-grid > [class*="col-"]{
  width:auto!important;
  max-width:none!important;
  min-width:0!important;
  padding:0!important;
  margin:0!important;
  flex:none!important;
}
body.pmuk-catalog-page #product-grid > [style*="display: none"]{
  display:none!important;
}
body.pmuk-catalog-page #product-grid .product-card{
  height:100%!important;
  min-height:0!important;
  display:flex!important;
  flex-direction:column!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.15)!important;
  border-top:4px solid var(--pmuk-orange)!important;
  border-radius:24px!important;
  background:linear-gradient(180deg,#121212,#080808)!important;
  box-shadow:0 22px 52px rgba(0,0,0,.46)!important;
}
body.pmuk-catalog-page #product-grid .product-image,
body.pmuk-catalog-page #product-grid .ratio{
  background:#fff!important;
  border-bottom:1px solid rgba(255,130,22,.55)!important;
  overflow:hidden!important;
}
body.pmuk-catalog-page #product-grid .product-image img,
body.pmuk-catalog-page #product-grid .ratio img{
  width:100%!important;
  height:100%!important;
  max-width:100%!important;
  max-height:100%!important;
  object-fit:contain!important;
  object-position:center center!important;
  display:block!important;
  padding:8px!important;
  background:#fff!important;
}
body.pmuk-catalog-page #product-grid .product-body{
  padding:20px 22px 22px!important;
  flex:1 1 auto!important;
}
body.pmuk-catalog-page #product-grid h3,
body.pmuk-catalog-page #product-grid .h5{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:18px!important;
  line-height:1.22!important;
  font-weight:950!important;
  margin:0 0 8px!important;
  text-shadow:none!important;
}
body.pmuk-catalog-page #product-grid .text-muted,
body.pmuk-catalog-page #product-grid .small{
  color:#d7deea!important;
  -webkit-text-fill-color:#d7deea!important;
  opacity:1!important;
}

/* Product pages: apply the same clean product-detail style to the older template pages. */
body.pmuk-product-page{
  background:#050505!important;
  color:var(--pmuk-text)!important;
}
body.pmuk-product-page .lancing-page-title{
  background:linear-gradient(180deg,#202020,#111)!important;
  border-top:1px solid rgba(255,130,22,.35)!important;
  border-bottom:2px solid rgba(255,130,22,.65)!important;
  margin-bottom:0!important;
}
body.pmuk-product-page .lancing-page-title h1{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  text-shadow:0 3px 16px rgba(0,0,0,.75)!important;
}
body.pmuk-product-page .section_4{
  background:#050505!important;
  color:#fff!important;
  margin:0!important;
  padding:42px 18px!important;
  border-top:1px solid rgba(255,255,255,.09)!important;
}
body.pmuk-product-page .section_4 + .section_4{
  padding-top:14px!important;
}
body.pmuk-product-page .section_4 > .container{
  max-width:1180px!important;
  width:100%!important;
  margin:0 auto!important;
  padding:30px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-top:4px solid var(--pmuk-orange)!important;
  border-radius:26px!important;
  background:
    radial-gradient(circle at 0 0,rgba(255,130,22,.20),transparent 34%),
    linear-gradient(135deg,#171717,#0b0b0b)!important;
  box-shadow:0 24px 58px rgba(0,0,0,.50)!important;
}
body.pmuk-product-page .section_4 .row{
  display:flex!important;
  flex-wrap:wrap!important;
  align-items:center!important;
  gap:0!important;
}
body.pmuk-product-page .section_4 [class*="col-"]{
  margin-bottom:0!important;
}
body.pmuk-product-page .iphone_text_wrapper,
body.pmuk-product-page .section_4 .iphone_text_wrapper{
  color:#f8fafc!important;
  padding:8px 8px!important;
}
body.pmuk-product-page .iphone_text_wrapper br:first-child{
  display:none!important;
}
body.pmuk-product-page .iphone_text_wrapper h1,
body.pmuk-product-page .iphone_text_wrapper h2,
body.pmuk-product-page .iphone_text_wrapper h3,
body.pmuk-product-page .section_4 h1,
body.pmuk-product-page .section_4 h2,
body.pmuk-product-page .section_4 h3{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-weight:950!important;
  line-height:1.12!important;
  letter-spacing:-.02em!important;
  text-shadow:0 2px 13px rgba(0,0,0,.68)!important;
  margin:0 0 18px!important;
}
body.pmuk-product-page .iphone_text_wrapper h2,
body.pmuk-product-page .section_4 h2{
  font-size:clamp(28px,3vw,42px)!important;
}
body.pmuk-product-page .iphone_text_wrapper p,
body.pmuk-product-page .iphone_text_wrapper li,
body.pmuk-product-page .section_4 p,
body.pmuk-product-page .section_4 li{
  color:#e9eef7!important;
  -webkit-text-fill-color:#e9eef7!important;
  font-size:17px!important;
  line-height:1.68!important;
  font-weight:500!important;
  text-shadow:none!important;
}
body.pmuk-product-page .iphone_text_wrapper a,
body.pmuk-product-page .section_4 a{
  color:#ffb164!important;
  -webkit-text-fill-color:#ffb164!important;
}
body.pmuk-product-page .iphone_image_wrapper{
  margin:0!important;
  padding:0!important;
  text-align:center!important;
}
body.pmuk-product-page .iphone_image_wrapper img,
body.pmuk-product-page .section_4 img.img-responsive{
  width:100%!important;
  max-width:560px!important;
  max-height:520px!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  margin:0 auto!important;
  padding:14px!important;
  background:#fff!important;
  border:1px solid rgba(255,130,22,.45)!important;
  border-radius:22px!important;
  box-shadow:0 22px 48px rgba(0,0,0,.45)!important;
}
body.pmuk-product-page .product_tab_section{
  background:#050505!important;
  padding:32px 18px!important;
  color:#fff!important;
}
body.pmuk-product-page .product_tab_section > .container{
  max-width:1180px!important;
  background:#fff!important;
  color:#111!important;
  border:1px solid rgba(255,130,22,.45)!important;
  border-radius:24px!important;
  padding:26px!important;
  box-shadow:0 20px 46px rgba(0,0,0,.45)!important;
}
body.pmuk-product-page .product_tab_section,
body.pmuk-product-page .product_tab_section *{
  text-shadow:none!important;
}
body.pmuk-product-page .product_tab_section h1,
body.pmuk-product-page .product_tab_section h2,
body.pmuk-product-page .product_tab_section h3,
body.pmuk-product-page .product_tab_section th,
body.pmuk-product-page .product_tab_section td,
body.pmuk-product-page .product_tab_section p,
body.pmuk-product-page .product_tab_section li{
  color:#111!important;
  -webkit-text-fill-color:#111!important;
}
body.pmuk-product-page .blog_video_wrapper iframe{
  display:block!important;
  max-width:100%!important;
  margin:28px auto!important;
  border:1px solid rgba(255,130,22,.45)!important;
  border-radius:20px!important;
  background:#111!important;
  box-shadow:0 20px 46px rgba(0,0,0,.45)!important;
}

/* Industry pages: restore varied image tiles and remove gallery gaps. */
body.pmuk-industry-page{
  background:#050505!important;
}
body.pmuk-industry-page .video-grid,
body.pmuk-industry-page .video-grid1{
  display:grid!important;
  grid-template-columns:repeat(auto-fit,minmax(220px,1fr))!important;
  gap:24px!important;
  margin:0!important;
  align-items:stretch!important;
}
body.pmuk-industry-page .video-item{
  min-width:0!important;
  overflow:hidden!important;
  border:1px solid rgba(255,255,255,.16)!important;
  border-top:4px solid var(--pmuk-orange)!important;
  border-radius:22px!important;
  background:linear-gradient(180deg,#151515,#080808)!important;
  box-shadow:0 18px 42px rgba(0,0,0,.45)!important;
}
body.pmuk-industry-page .video-item img{
  width:100%!important;
  aspect-ratio:4/3!important;
  height:auto!important;
  object-fit:contain!important;
  object-position:center!important;
  display:block!important;
  padding:10px!important;
  background:#fff!important;
}
body.pmuk-industry-page .video-caption{
  color:#fff!important;
  -webkit-text-fill-color:#fff!important;
  font-size:18px!important;
  font-weight:900!important;
  line-height:1.25!important;
  padding:14px 16px 18px!important;
  text-align:center!important;
  text-shadow:none!important;
}

@media(max-width:991px){
  body.pmuk-catalog-page #product-grid{grid-template-columns:repeat(auto-fill,minmax(220px,1fr))!important;gap:20px!important;}
  body.pmuk-product-page .section_4 > .container{padding:22px!important;}
  body.pmuk-product-page .section_4 .row{display:block!important;}
  body.pmuk-product-page .iphone_image_wrapper{margin-top:22px!important;}
}
@media(max-width:640px){
  body.pmuk-catalog-page #product-grid{grid-template-columns:1fr!important;gap:18px!important;}
  body.pmuk-industry-page .video-grid,
  body.pmuk-industry-page .video-grid1{grid-template-columns:1fr!important;}
}
