:root{
  --lm-navy:#0d1b25;
  --lm-navy-2:#0b1a23;
  --lm-orange:#fe5532;
  --lm-border:#e6e6e6;
  --lm-muted:#6a6a6a;
  --lm-pagebg:#f3f3f3;
  --lm-bluebar:#dbe9f9;
  --lm-bluebar-border:#cfe0f5;
  --lm-thumb-size:78px;
  --lm-thumb-gap:10px;
  --lm-form-max:480px;
}

.page-type-product .tabs,
.page-type-product .tabs-contents,
.page-type-product .productView-description,
.page-type-product .productView-descriptionTabs,
.page-type-product .accordion--navList,
.page-type-product .accordion-block,
.page-type-product [data-tab-content],
.page-type-product [data-tab]{
  display:none !important;
}
.custom_detail-pdp_main .container {
    max-width: 1380px !important;
}
.productView-images .productView-thumbnails .productView-thumbnail{ width:100% !important; }
.productView.lm-productView{
    width: 100% !important;
    margin: 0 auto !important;
    box-sizing: border-box !important;
    display: grid !important;
    grid-template-columns: 0.8fr 1fr !important;
    grid-template-areas:
        "topnav topnav"
        "images details"
        "bundle bundle";
    gap: 0 60px !important;
    align-items: start !important;
    padding: 0;
    margin: 0 !important;
  
}


.productView.lm-productView .lm-topNav{
  grid-area: topnav;
  display:flex;
  gap:22px;
  padding:10px 0 12px;
  border-bottom:1px solid #e6e6e6;
  margin-bottom: 30px;
}

.productView.lm-productView .lm-topNav a{
  font-size:16px;
  line-height:36px;
  margin:0 0 5px;
  font-weight:700;
  color:#000000;
  font-family:'tt-hoves-reguler';
}

.productView.lm-productView .lm-topNav a:hover{ text-decoration:underline; }

.productView.lm-productView > .productView-images{
  display:block !important;
  grid-area:images;
  width:100% !important;
  max-width:none !important;
  float:none !important;
  margin:0 !important;
  padding:0 !important;
}

.productView.lm-productView .productView-image,
.productView.lm-productView .productView-img-container{
  width:100% !important;
  max-width:none !important;
  margin:0 !important;
}

.productView.lm-productView .productView-img-container img{
  width:100% !important;
  height:auto !important;
  max-width:none !important;
}

.productView.lm-productView .productView-thumbnails{
  margin-top:12px;
  justify-content:flex-start !important;
  flex-direction:row !important;
}


.productView-images .productView-thumbnails{ max-width:100% !important; }

.productView.lm-productView > .productView-details{
  grid-area:details;
  width:100% !important;
  max-width:none !important;
  float:none !important;
  text-align:left !important;
  padding:0;
}

.productView.lm-productView .productView-title{
  font-size:28px;
  line-height:1.2;
  margin:0 0 10px;
  font-weight:800;
}

.productView.lm-productView .productView-price{ margin-top:10px; }

.productView.lm-productView .lm-highlightBox{
  border:1px solid var(--lm-border);
  border-radius:0;
  padding:14px 16px;
  margin:14px 0 16px;
  background:#fff;
}

.productView.lm-productView .lm-highlightBox__title{
  font-weight:800;
  font-size:14px;
  margin:0 0 10px;
}

.productView.lm-productView .lm-highlights{
  margin:0;
  padding:0;
  list-style:none;
  font-size:13px;
  line-height:1.5;
}

.productView.lm-productView .lm-highlights li{ margin:0 0 6px; }
.productView.lm-productView .lm-highlights strong{ font-weight:900; }

.productView.lm-productView .lm-highlights a{
  color:#1b5fa7;
  text-decoration:none;
  font-weight:700;
}

.productView.lm-productView .lm-highlights a:hover{ text-decoration:underline; }

.productView.lm-productView .lm-bulletsNote{
  font-size:12px;
  color:#444;
  margin-top:10px;
}

.productView.lm-productView .lm-chooseOptions{
  margin:10px 0 8px;
  font-weight:800;
  font-size:13px;
}

.productView.lm-productView .productView-options-inner{ counter-reset:lmOpt; }
.productView.lm-productView .productView-options-inner .form-field{ counter-increment:lmOpt; }
.form-field{ flex-wrap:unset !important; }

.productView.lm-productView .productView-options-inner .form-label{
  align-items:center;
  gap:10px;
  font-weight:800;
  font-size:12px;
  margin-bottom:6px;
}

.productView.lm-productView .productView-options-inner .form-label:before{
  content:counter(lmOpt);
  width:18px;
  height:18px;
  border-radius:999px;
  background:#0d1b25;
  color:#fff;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-size:12px;
  font-weight:800;
}

.productView.lm-productView .productView-options-inner select,
.productView.lm-productView .productView-options-inner input[type="text"]{
  border:1px solid #cfcfcf;
  border-radius:0;
  height:40px;
  padding:0 10px;
}

.productView.lm-productView .button--primary{
  background:var(--lm-orange);
  border-color:var(--lm-orange);
  border-radius:0;
  font-weight:800;
}

.productView.lm-productView .button{ border-radius:0; }

.productView.lm-productView .button--buyNow,
.productView.lm-productView [data-buy-now],
.productView.lm-productView .productView-options .button--tertiary{
  display:none !important;
}

.productView.lm-productView .lm-sampleBtn{
  background:#fff !important;
  border:2px solid #2b2b2b !important;
  color:#2b2b2b !important;
  border-radius:0 !important;
  font-weight:800 !important;
  padding:7.5px 0 !important;
  display:inline-flex !important;
  align-items:center !important;
  justify-content:center !important;
  text-decoration:none !important;
  white-space:nowrap !important;
  margin:0 !important;
  width:100% !important;
}

.add-to-cart-wrapper .add-to-cart-buttons{ padding:0 !important; }
.productView.lm-productView .lm-sampleBtn:hover{ opacity:.9 !important; }

.productView.lm-productView > .productView-bundle{ grid-area:bundle; }

#lmSections{
  width:100vw !important;
  margin-left:calc(50% - 50vw) !important;
  margin-right:calc(50% - 50vw) !important;
  margin-top:18px;
  background:var(--lm-pagebg);
  padding:0 0 26px;
}

#lm-overview,
#lm-specifications,
#lm-relatedCategories,
#lm-support,
#lmCustomerReviews,
#lmSidebarRelated{
  scroll-margin-top:90px;
}

.lm-tabsBar{
  max-width:1380px;
  margin:0 auto;
}

.lm-tabsBar__inner{
  background:linear-gradient(180deg, var(--lm-navy) 0%, var(--lm-navy-2) 100%);
  border:1px solid rgba(0,0,0,.35);
  display:flex;
  gap:0;
  overflow:hidden;
  display:none;
}

.lm-tabLink{
  color:#fff;
  text-decoration:none;
  font-weight:700;
  font-size:13px;
  padding:12px 18px;
  position:relative;
  display:inline-flex;
  align-items:center;
}

.lm-tabLink:hover{ opacity:.95; }

.lm-tabLink.is-active:after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:3px;
  background:var(--lm-orange);
}

.lm-actionBar{
  background:linear-gradient(180deg, var(--lm-navy) 0%, var(--lm-navy-2) 100%);
  border-top:1px solid var(--lm-bluebar-border);
  border-bottom:1px solid var(--lm-bluebar-border);
}

.lm-actionBar__inner{
  max-width:1380px;
  margin:0 auto;
  padding:0 16px;
  display:grid;
  grid-template-columns:repeat(4, minmax(0, 1fr));
}

.lm-actionLink{
  padding:16px 14px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:12px;
  text-decoration:none;
  color:#fff;
  font-weight:800;
  font-size:13px;
  border-right:1px solid var(--lm-bluebar-border);
}

.lm-actionLink:last-child{ border-right:0; }

.lm-actionLink svg{
  width:22px;
  height:22px;
  flex:0 0 auto;
  fill:currentColor;
}

.lm-actionLink:hover{ opacity:.9; }

.lm-contentGrid{
  max-width:1380px;
  margin:0 auto;
  padding:14px 16px 0;
  display:grid;
  grid-template-columns:minmax(0,1fr) 340px;
  gap:26px;
  align-items:start;
}

.lm-wideStack{
  max-width:1380px;
  margin:0 auto;
  padding:0 16px;
}

.lm-panel{
  background:#fff;
  border:1px solid var(--lm-border);
  padding:16px 16px;
  margin:0 0 14px;
}

.lm-panelTitle{
  font-size:16px;
  font-weight:900;
  margin:0 0 10px;
  color:#111;
  letter-spacing:.2px;
}

.lm-panelTitle.upper{ text-transform:uppercase; }

.lm-specTables{ display:grid; gap:0; }

.lm-specGroup{
  width:100%;
  border-collapse:collapse;
  border:1px solid var(--lm-border);
  margin:0 0 12px;
}

.lm-specGroup th,
.lm-specGroup td{
  border-top:1px solid var(--lm-border);
  padding:10px 12px;
  font-size:12px;
  vertical-align:top;
}

.lm-specGroup tr:first-child th,
.lm-specGroup tr:first-child td{ border-top:0; }

.lm-specGroup .lm-groupName{
  width:22%;
  color:#000;
  font-weight:900;
  text-align:left;
}

.lm-specGroup .lm-rowLabel{
  width:38%;
  background:#f6f6f6;
  font-weight:800;
  text-align:left;
}

.lm-specGroup .lm-rowVal{ width:40%; }

.lm-rightCol .lm-sideBox{
  background:#fff;
  border:1px solid var(--lm-border);
  padding:14px 14px;
  margin:0 0 14px;
}

.lm-sideBoxTitle{
  font-size:14px;
  font-weight:900;
  margin:0 0 12px;
  color:#111;
}

.lm-contactLinks{
  margin:0;
  padding:0;
  list-style:none;
}

.lm-contactLinks li{
  display:flex;
  align-items:center;
  gap:10px;
  padding:8px 0;
  border-top:1px solid var(--lm-border);
}

.lm-contactLinks li:first-child{ border-top:0; }

.lm-contactLinks a{
  color:#1b5fa7;
  text-decoration:none;
  font-weight:700;
  font-size:12px;
}

.lm-contactLinks a:hover{ text-decoration:underline; }

.lm-youMayAlsoList{ display:grid; gap:12px; }

.lm-youMayAlsoThumb img{
  width:100%;
  height:100%;
  object-fit:contain;
}

.lm-youMayAlsoName{
  margin:0;
  font-size:12px;
  font-weight:900;
  line-height:1.25;
  color:#111;
}

.lm-youMayAlsoPrice{
  margin-top:6px;
  font-size:12px;
  font-weight:900;
  color:#111;
}

.lm-youMayAlsoBrand{
  margin-top:4px;
  font-size:11px;
  font-weight:700;
  color:var(--lm-muted);
}

.lm-pillRow{
  display:flex;
  flex-wrap:wrap;
  gap:10px;
}

.lm-pill{
  border:1px solid #bdbdbd;
  border-radius:999px;
  padding:8px 14px;
  font-size:12px;
  font-weight:700;
  text-decoration:none;
  color:#222;
  background:#fff;
}

.lm-pill:hover{ opacity:.9; }

.lm-supportTitle{
  font-size:18px;
  font-weight:900;
  margin:0 0 10px;
}

.lm-acc{
  border-top:1px solid var(--lm-border);
  padding-top:10px;
}

.lm-accSummary{
  list-style:none;
  cursor:pointer;
  font-weight:900;
  font-size:14px;
  display:flex;
  align-items:center;
  gap:10px;
  padding:10px 0;
}

.lm-accSummary::-webkit-details-marker{ display:none; }

.lm-accToggle{
  width:18px;
  height:18px;
  border:1px solid #cfcfcf;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  font-weight:900;
  line-height:1;
  color:#333;
  flex:0 0 auto;
}

details.lm-acc .lm-accToggle:before{ content:"+"; }
details.lm-acc[open] .lm-accToggle:before{ content:"–"; }

.lm-literatureGrid{
  display:flex;
  flex-wrap:wrap;
  gap:22px;
  padding:10px 0 8px;
}

.lm-literatureCard{
  width:260px;
  text-decoration:none;
  color:inherit;
  display:block;
}

.lm-literatureThumb{
  width:220px;
  max-width:100%;
  border:1px solid var(--lm-border);
  background:#fff;
  overflow:hidden;
}

.lm-literatureThumb img{
  width:100%;
  height:auto;
  display:block;
}

.lm-literatureName{
  margin-top:10px;
  color:#1b5fa7;
  font-weight:900;
  font-size:13px;
  line-height:1.25;
}

.lm-literatureName:hover{ text-decoration:underline; }

#lmRelatedProductsFull{
  background:#fff;
  padding:36px 0 44px;
}

.lm-relatedFullTitle{
  text-align:center;
  font-weight:900;
  font-size:22px;
  letter-spacing:.8px;
  margin:0 0 26px;
}

.lm-relatedFullGrid{
  max-width:980px;
  margin:0 auto;
  padding:0 16px;
  display:flex;
  justify-content:center;
  gap:80px;
  flex-wrap:wrap;
}

.lm-relatedFullItem{
  width:260px;
  text-decoration:none;
  color:inherit;
  text-align:left;
}

.lm-relatedFullThumb{
  width:260px;
  height:140px;
  display:flex;
  align-items:center;
  justify-content:center;
}

.lm-relatedFullThumb img{
  max-width:100%;
  max-height:100%;
  object-fit:contain;
}

.lm-relatedFullName{
  margin:12px 0 6px;
  font-size:12px;
  font-weight:800;
  color:#222;
  line-height:1.25;
}

.lm-relatedFullPrice{
  font-size:12px;
  font-weight:900;
  color:#222;
}

.lm-relatedFullBrand{
  margin-top:6px;
  font-size:11px;
  font-weight:700;
  color:var(--lm-muted);
}

#lmSections .lmTabsRight a[href^="tel:"],
#lmSections .lmTabsRight a[href*="tel:"]{
  display:none !important;
}

div#lmCustomerReviews{
  display:none;
}

#form-action-addToCart{
  padding:11px 0 !important;
}

.b2b-add-to-quote.button{
  margin:0 !important;
}

.form-field--success .form-input--incrementTotal{
  border:1px solid #424242 !important;
}

@media (min-width:1025px){
  .lm-rightCol{
    position:sticky;
    top:110px;
    align-self:start;
    height:fit-content;
  }
}

@media (max-width:1024px){
  .productView.lm-productView{
    grid-template-columns:1fr !important;
    grid-template-areas:
      "topnav"
      "images"
      "details"
      "bundle" !important;
  }

  .lm-actionBar__inner{
    grid-template-columns:1fr 1fr;
  }

  .lm-contentGrid{
    grid-template-columns:1fr !important;
  }

  .lm-leftCol{
    grid-column:1 !important;
    grid-row:1 !important;
  }

  .lm-rightCol{
    grid-column:1 !important;
    grid-row:2 !important;
    position:static !important;
    top:auto !important;
  }
}

@media (max-width:768px){
  .productView.lm-productView .lm-topNav{
    gap:17px;
  }
  
  .productView-img-container::after {
    display: none !important;
}
  .productView.lm-productView .lm-topNav a{
    font-size:12px;
    line-height:16px;
  }

  .productView.lm-productView .productView-title{
    font-size:22px;
    margin:10px 0;
  }

  .form-select--small,
  .form-select--date{
    max-width:100% !important;
  }

  .lm-specGroup th,
  .lm-specGroup td{
    font-size:8px;
    vertical-align:middle;
    padding:7px;
  }

  .productView.lm-productView{
    gap:0 !important;
    padding:0;
  }

  .productView.lm-productView > .productView-details{
    padding:0;
  }

  .productView.lm-productView .productView-options-inner .form-label{
    margin-bottom:8px;
    display:flex !important;
    align-items:center !important;
    flex-wrap:wrap !important;
    gap:8px !important;
  }

  .productView.lm-productView .productView-options-inner .form-field--required .form-label::after{
    position:relative;
    top:-1px;
    display:inline-block;
  }

  .productView.lm-productView .productView-options-inner .form-label .is-required{
    display:inline-flex !important;
    align-items:center !important;
    line-height:1 !important;
    position:relative;
    top:-1px;
  }

  .productView-options-wrap .productView-options-inner{
    margin-bottom:0 !important;
  }

  .grid-bg > .container > *:first-child:not(.page-sidebar){
    font-size:24px;
    margin:0;
  }

  .lm-actionLink{
    padding:16px 0;
    justify-content:space-between;
    gap:0;
  }

  .productView.lm-productView .productView-thumbnails{
    margin:10px 0 !important;
    padding:0 !important;
  }

  .lm-youMayAlsoThumb img{
    max-height:200px !important;
  }
  .lm-overviewBody li {
    font-size: 13px;
    margin-bottom: 6px;
}

}

@media (max-width:520px){
  .lm-actionBar__inner{
    grid-template-columns:1fr;
  }

  .lm-actionLink{
    border-right:0;
    border-top:1px solid var(--lm-bluebar-border);
  }

  .lm-actionLink:first-child{
    border-top:0;
  }

  .lm-relatedFullGrid{
    gap:26px;
  }

  .lm-relatedFullItem,
  .lm-relatedFullThumb{
    width:220px;
  }

  .lm-youMayAlsoItem{
    grid-template-columns:1fr;
    border:0;
    border-radius:0;
    padding:0;
    background:transparent;
  }

  .lm-youMayAlsoThumb{
    width:100%;
    height:auto;
    border:0;
    border-radius:0;
    background:transparent;
  }

  .lm-youMayAlsoThumb img{
    width:100%;
    height:auto;
    max-height:260px;
    object-fit:contain;
  }

  .lm-youMayAlsoName{
    font-size:14px;
  }

  .lm-youMayAlsoPrice{
    font-size:13px;
  }

  .lm-youMayAlsoBrand{
    font-size:12px;
  }
}



/* thumbnail styling (same look on both layouts) */
.productView.lm-productView .productView-thumbnails{
  gap:var(--lm-thumb-gap);
}

.productView.lm-productView .productView-thumbnail{
  margin:0 !important;
}

.productView.lm-productView .productView-thumbnail-link{
  display:block; 
  width:100%;
  aspect-ratio:1/1;
  border:1px solid var(--lm-border);
  background:#fff;
  padding:6px;
  box-sizing:border-box;
}

.productView.lm-productView .productView-thumbnail-link:hover,
.productView.lm-productView .productView-thumbnail-link.is-active{
  border-color:var(--lm-orange);
}

.productView.lm-productView .productView-thumbnail-link img{
  width:100% !important;
  height:100% !important;
  object-fit:contain;
  display:block;
}

/* DESKTOP: thumbnails on LEFT side (like your 2nd ss) */
@media (min-width:1025px){
  .productView.lm-productView > .productView-images{
    display:flex !important;
    gap:14px !important;
    align-items:flex-start !important;
    flex-direction: unset !important;
  }

  .productView.lm-productView > .productView-images .productView-thumbnails{
    order:1;
    flex:0 0 var(--lm-thumb-size);
    width:var(--lm-thumb-size) !important;
    max-width:var(--lm-thumb-size) !important;
    margin-top:0 !important;
    padding:0 !important;
    display:flex !important;
    flex-direction:column !important;
    justify-content:flex-start !important;
    max-height:640px;
    overflow:auto;
  }

  .productView.lm-productView > .productView-images .productView-image{
    order:2;
    flex:1 1 auto;
  }
}

@media (max-width:1024px){
  .productView.lm-productView .productView-image,
  .productView.lm-productView .productView-img-container{
    overflow:hidden !important;
  }

  .productView.lm-productView .productView-img-container{
    height:auto !important;
  }

  .productView.lm-productView .productView-img-container img{
    position:relative !important;
    top:auto !important;
    left:auto !important;
    right:auto !important;
    bottom:auto !important;
    transform:none !important;
    max-width:100% !important;
    width:100% !important;
    height:auto !important;
    max-height:none !important;
    object-fit:contain !important;
    display:block !important;
  }
}


/* Native thumbnail scroll (no arrows) */
.productView.lm-productView .productView-thumbnails{
  display:flex !important;
  gap:10px !important;
  visibility:visible !important;
  opacity:1 !important;
}

/* Desktop: vertical left scroll */
@media (min-width:1025px){
  .productView.lm-productView > .productView-images{
    display:flex !important;
    gap:14px !important;
    align-items:flex-start !important;
  }
  .productView.lm-productView .productView-thumbnails{
    flex-direction:column !important;
    width:78px !important;
    max-width:78px !important;
    max-height:640px !important;
    overflow-y:auto !important;
    overflow-x:hidden !important;
  }
  .productView.lm-productView .productView-thumbnail{ width:100% !important; }
}

/* Mobile: horizontal scroll */
@media (max-width:1024px){
  .productView.lm-productView .productView-thumbnails{
    flex-direction:row !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    padding-bottom:6px !important;
  }
  .productView.lm-productView .productView-thumbnail{
    width:78px !important;
    flex:0 0 78px !important;
  }
}
/* ✅ MOBILE FIX: main image overflow stop + thumbnails real scroll */
@media (max-width:1024px){

  /* 1) Main image container never overflow */
  .productView.lm-productView > .productView-images,
  .productView.lm-productView .productView-image,
  .productView.lm-productView .productView-img-container{
    width:100% !important;
    max-width:100% !important;
    overflow:hidden !important;
    box-sizing:border-box !important;
  }

  .productView.lm-productView .productView-img-container img{
    display:block !important;
    width:100% !important;
    max-width:100% !important;
    height:auto !important;
    object-fit:contain !important;
  }

  /* 2) Thumbnails: force horizontal overflow scroll */
  .productView.lm-productView .productView-thumbnails{
    display:flex !important;
    flex-direction:row !important;
    flex-wrap:nowrap !important;
    gap:10px !important;
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
    touch-action:pan-x;
    padding:10px 0 !important;
  }

  /* IMPORTANT: override your width:100% rule */
  .productView.lm-productView .productView-thumbnails .productView-thumbnail{
    width:78px !important;
    max-width:78px !important;
    flex:0 0 78px !important;
  }

  /* if Slick exists */
  .productView.lm-productView .productView-thumbnails.slick-initialized .slick-list{
    overflow-x:auto !important;
    overflow-y:hidden !important;
    -webkit-overflow-scrolling:touch;
  }
  .productView.lm-productView .productView-thumbnails.slick-initialized .slick-track{
    display:flex !important;
    flex-wrap:nowrap !important;
    width:max-content !important;
  }
  .productView.lm-productView .productView-thumbnails.slick-initialized .slick-slide{
    width:auto !important;
    float:none !important;
  }
}

/* ✅ DESKTOP: options + buttons fixed width (green marked) */
@media (min-width:1025px){

  /* wrapper ko limit */
  .productView.lm-productView .productView-options,
  .productView.lm-productView .productView-price,
  .productView.lm-productView .add-to-cart-wrapper{
    max-width: var(--lm-form-max) !important; /* 480px */
    width:100% !important;
  }

  /* selects + qty + inputs same width */
  .productView.lm-productView .productView-options-inner .form-field,
  .productView.lm-productView .productView-options-inner .form-select,
  .productView.lm-productView .productView-options-inner select,
  .productView.lm-productView .productView-options-inner input,
  .productView.lm-productView .form-increment{
    max-width: var(--lm-form-max) !important;
    width:100% !important;
  }

  /* buttons same width */
  .productView.lm-productView #form-action-addToCart,
  .productView.lm-productView .b2b-add-to-quote.button,
  .productView.lm-productView .lm-sampleBtn{
    max-width: var(--lm-form-max) !important;
    width:100% !important;
    display:flex !important;
    justify-content:center !important;
  }
}





