@layer base { body[data-brand=montaservi] { --action:#1767a2; --blue:#1767a2; --navy:#15354d; } }
@layer layout {
  .native-heading { padding-block:60px 48px; text-align:center; }
  .native-heading h1 { max-width:850px; margin:auto; }
  .native-heading>p:last-child { max-width:670px; margin:20px auto 0; color:var(--muted); font-size:1.08rem; }
  .section-link { display:flex; align-items:center; justify-content:center; flex-wrap:wrap; gap:24px; padding:35px 22px 65px; }
  .compact-gallery .service-photo-card,.project-gallery .service-photo-card { grid-column:span 4; }
  .project-gallery .service-photo-card { aspect-ratio:1.08; }
  .native-supply-entry { background:var(--surface); text-align:center; padding-bottom:40px; }
  .native-supply-entry p:not(.eyebrow) { color:var(--muted); margin:20px auto 24px; }
  .supply-entry-images { display:flex; justify-content:center; align-items:center; gap:35px; max-width:850px; margin:40px auto 0; }
  .supply-entry-images img { width:28%; height:190px; object-fit:contain; mix-blend-mode:multiply; }
  .catalog-brands { display:grid; grid-template-columns:repeat(5,1fr); gap:25px 20px; align-items:center; }
  .catalog-brands>div { display:flex; align-items:center; justify-content:center; height:68px; }
  .catalog-brands img { max-height:48px; max-width:140px; object-fit:contain; }
  .native-catalog-controls { display:flex; gap:22px; justify-content:space-between; align-items:center; padding-bottom:35px; }
  #industrial-search { display:flex; gap:9px; max-width:660px; width:100%; }
  #industrial-query { flex:1; min-width:0; border-radius:999px; padding-inline:22px; background:var(--surface); border-color:transparent; }
  .supply-quote-trigger { flex-shrink:0; }
  .supply-quote-trigger span { display:grid; place-items:center; border-radius:50%; background:var(--action); color:white; width:23px; height:23px; font-size:.75rem; }
  .native-catalog-layout { display:grid; grid-template-columns:220px minmax(0,1fr); gap:35px; padding-bottom:50px; }
  .industrial-category-panel>label { display:none; }
  #industrial-categories { display:flex; flex-direction:column; gap:5px; position:sticky; top:102px; }
  #industrial-categories button { display:flex; justify-content:space-between; gap:12px; text-align:left; border:0; border-radius:12px; background:none; font-size:.8rem; padding:13px 15px; line-height:1.35; }
  #industrial-categories button span { color:var(--muted); font-size:.71rem; padding-top:2px; }
  #industrial-categories button[aria-pressed=true] { background:var(--surface); color:var(--action); font-weight:600; }
  .industrial-result-heading { display:flex; align-items:center; flex-wrap:wrap; justify-content:space-between; gap:15px; margin-bottom:25px; min-height:46px; }
  .industrial-result-heading h2 { font-size:1.4rem; scroll-margin-top:110px; }
  .industrial-result-heading p { color:var(--muted); font-size:.75rem; }
  .industrial-product-grid { display:grid; grid-template-columns:repeat(3,minmax(0,1fr)); gap:36px 24px; }
  .industrial-product-image { display:block; position:relative; background:#f8f8fa; aspect-ratio:1; border-radius:28px; overflow:hidden; padding:25px; }
  .industrial-product-image img { width:100%; height:100%; object-fit:contain; mix-blend-mode:multiply; transition:transform 300ms; }
  .industrial-product-image>span { position:absolute; bottom:15px; right:15px; display:grid; place-items:center; background:#fff; width:34px; height:34px; border-radius:50%; font-size:1.1rem; }
  .industrial-product-copy { padding:17px 3px 0; }
  .industrial-product-copy>p { color:var(--muted); font-size:.64rem; }
  .industrial-product-copy h3 { font-size:.97rem; letter-spacing:-.02em; margin-block:7px 13px; line-height:1.35; }
  .industrial-product-copy .inline-link { font-size:.73rem; }
  .industrial-pagination { display:flex; justify-content:center; align-items:center; flex-wrap:wrap; gap:8px; margin-top:45px; }
  .industrial-pagination button { background:var(--surface); border:0; padding:10px 13px; min-height:44px; min-width:44px; border-radius:999px; font-size:.75rem; }
  .industrial-pagination button[aria-current] { background:var(--action); color:white; }
  .service-pagination { margin-block:0 35px; }
  .service-filters { scroll-margin-top:110px; }
  .industrial-empty { padding-block:50px; grid-column:1/-1; text-align:center; }
  .industrial-empty p { margin-block:15px 25px; color:var(--muted); }
  .industrial-detail-main,.project-detail-main { padding-block:30px 50px; }
  .industrial-detail-top { display:flex; align-items:center; justify-content:space-between; gap:20px; margin-bottom:45px; }
  .industrial-detail-grid { display:grid; grid-template-columns:1fr 1fr; gap:65px; align-items:center; }
  .industrial-detail-grid figure>img { background:var(--surface); border-radius:45px; padding:40px; width:100%; height:440px; object-fit:contain; }
  .industrial-detail-grid figcaption { color:var(--muted); text-align:center; font-size:.69rem; margin-top:12px; }
  .industrial-detail-copy h1 { font-size:2.6rem; overflow-wrap:anywhere; }
  .industrial-detail-copy>p { margin-top:20px; color:var(--muted); font-size:.95rem; }
  .industrial-detail-copy .industrial-availability { color:var(--ink); font-weight:600; }
  .industrial-detail-copy .product-verification { background:var(--surface); padding:16px; border-radius:12px; font-size:.8rem; }
  .industrial-source-reference { display:flex; gap:10px; font-size:.76rem; margin-block:22px; color:var(--muted); }
  .industrial-source-reference dd { margin:0; color:var(--ink); }
  #add-industrial-product { display:flex; gap:15px; align-items:end; margin-bottom:25px; }
  #add-industrial-product label { flex:0 0 125px; }
  #add-industrial-product .button { min-height:48px; }
  .supply-quote-dialog { width:700px; }
  #supply-quote-lines { margin-block:25px; }
  .supply-quote-line { display:grid; grid-template-columns:75px 1fr 35px; gap:18px; align-items:center; border-bottom:1px solid var(--line); padding-block:16px; }
  .supply-quote-line>img { height:75px; width:75px; object-fit:contain; }
  .supply-quote-line a { font-size:.89rem; font-weight:600; }
  .supply-quote-line label { display:flex; gap:10px; align-items:center; margin-top:10px; font-size:.72rem; }
  .supply-quote-line label input { width:85px; margin:0; min-height:38px; padding:7px 10px; font-size:.78rem; }
  .quote-remove { border:0; background:var(--surface); border-radius:50%; width:35px; height:35px; font-size:1.3rem; }
  #supply-quote-clear { display:block; margin-top:22px; }
  .quote-empty { padding-block:30px; color:var(--muted); }
  .project-detail-heading { padding-block:40px 30px; text-align:center; max-width:900px; margin:auto; }
  .project-detail-heading h1 { font-size:clamp(2rem,3.7vw,3rem); }
  .project-detail-heading>p:last-child { margin-top:20px; color:var(--muted); }
  .project-gallery-stage { position:relative; background:var(--surface); overflow:hidden; border-radius:50px; }
  .project-gallery-stage>img { width:100%; height:580px; object-fit:contain; }
  .gallery-arrow { position:absolute; top:50%; transform:translateY(-50%); border:0; border-radius:50%; background:#1d1d1fe6; color:#fff; width:48px; height:48px; font-size:1.4rem; }
  .gallery-previous { left:18px; } .gallery-next { right:18px; }
  .project-gallery-bottom { display:flex; justify-content:space-between; flex-wrap:wrap; gap:12px; color:var(--muted); font-size:.75rem; margin-top:17px; }
  .project-gallery-bottom p+p { margin:0; }
  .project-thumbnails { display:flex; justify-content:center; gap:12px; padding-top:25px; }
  .project-thumbnails button { border:2px solid transparent; padding:3px; background:none; border-radius:17px; }
  .project-thumbnails button[aria-pressed=true] { border-color:var(--action); }
  .project-thumbnails img { width:96px; height:80px; object-fit:cover; border-radius:11px; }
  .loading-message { padding:60px; text-align:center; }
}
@layer components {
  .compact-gallery .service-photo-card,.project-gallery .service-photo-card { grid-column:span 4; }
  @media(hover:hover) { .industrial-product-image:hover img { transform:scale(1.04); } #industrial-categories button:hover { background:var(--surface); } }
}
@layer responsive {
  @media(max-width:1050px) { .engineering-header nav { gap:15px; } .native-catalog-layout { grid-template-columns:190px minmax(0,1fr); gap:25px; } .industrial-product-grid { gap:30px 18px; } .industrial-detail-grid { gap:35px; } }
  @media(max-width:1000px) {
    .service-gallery .service-photo-card.service-page-last { grid-column:1/-1; aspect-ratio:2; }
    .compact-gallery .service-photo-card,.project-gallery .service-photo-card { grid-column:auto; }
    .compact-gallery .service-photo-card:last-child { grid-column:1/-1; aspect-ratio:2; }
    .project-gallery .service-photo-card:last-child { grid-column:auto; aspect-ratio:1.08; }
  }
  @media(max-width:900px) {
    .engineering-header nav { display:none; position:absolute; top:100%; left:0; right:0; background:#fffffffa; border-bottom:1px solid var(--line); padding:20px 28px; flex-direction:column; align-items:stretch; gap:0; font-size:.85rem; }
    .engineering-header nav.is-open { display:flex; } .engineering-header nav .button { margin-block:12px; } .mobile-menu-toggle { display:block; }
    .native-catalog-layout { grid-template-columns:1fr; gap:25px; } #industrial-categories { display:none; } .industrial-category-panel>label { display:block; }
    .catalog-brands { grid-template-columns:repeat(4,1fr); }
  }
  @media(max-width:600px) {
    .service-gallery .service-photo-card.service-page-last { grid-column:auto; aspect-ratio:1.12; }
    .native-heading { padding-block:40px 35px; } .native-heading h1 { font-size:2.2rem; } .native-heading>p:last-child { font-size:1rem; }
    .compact-gallery .service-photo-card,.compact-gallery .service-photo-card:last-child,.project-gallery .service-photo-card,.project-gallery .service-photo-card:last-child { grid-column:auto; aspect-ratio:1.12; }
    .section-link { padding-bottom:45px; gap:20px; }
    .native-catalog-controls { flex-direction:column; align-items:stretch; gap:15px; padding-bottom:25px; } .supply-quote-trigger { align-self:end; }
    #industrial-search .button { padding-inline:17px; font-size:.78rem; } #industrial-query { font-size:.83rem; padding-inline:17px; }
    .industrial-product-grid { grid-template-columns:repeat(2,minmax(0,1fr)); gap:28px 16px; }
    .industrial-product-image { border-radius:24px; padding:16px; } .industrial-product-image>span { width:29px; height:29px; bottom:10px; right:10px; }
    .industrial-product-copy h3 { font-size:.91rem; } .industrial-product-copy .inline-link { font-size:.7rem; }
    .industrial-result-heading h2 { font-size:1.3rem; }
    .industrial-detail-grid { grid-template-columns:1fr; gap:28px; } .industrial-detail-grid figure>img { height:320px; border-radius:35px; padding:30px; }
    .industrial-detail-copy h1 { font-size:2.1rem; } .industrial-detail-top { align-items:start; margin-bottom:30px; } .industrial-detail-top>.inline-link { font-size:.78rem; } .industrial-detail-top .button { font-size:.72rem; padding:9px 12px; }
    #add-industrial-product { gap:10px; } #add-industrial-product label { flex-basis:110px; } #add-industrial-product .button { font-size:.8rem; padding-inline:17px; }
    .catalog-brands { grid-template-columns:repeat(3,minmax(0,1fr)); gap:17px 15px; } .catalog-brands img { max-width:100%; max-height:40px; }
    .brand-section .section-title-row { text-align:center; align-items:center; }
    .supply-entry-images { gap:12px; margin-top:20px; } .supply-entry-images img { height:100px; width:30%; } .native-supply-entry p br { display:none; }
    .project-detail-heading { padding-block:30px; } .project-gallery-stage { border-radius:30px; } .project-gallery-stage>img { height:420px; }
    .gallery-arrow { width:42px; height:42px; } .gallery-previous { left:10px; } .gallery-next { right:10px; }
    .project-thumbnails { gap:8px; } .project-thumbnails img { width:65px; height:63px; }
    .supply-quote-line { grid-template-columns:50px minmax(0,1fr) 30px; gap:12px; } .supply-quote-line>img { width:50px; height:60px; } .supply-quote-line a { font-size:.8rem; }
    .industrial-pagination { gap:5px; } .industrial-pagination button { padding:9px; min-width:38px; font-size:.7rem; }
  }
}
