/* Mobile application layout. Desktop keeps the editorial composition. */
.mobile-only,.sheet-tabs,.category-symbol{display:none}
.mobile-breadcrumb:empty{display:none!important}
@media(max-width:760px){
  .desktop-only{display:none!important}
  html{scroll-padding-top:114px}
  body{background:#fff}
  .mobile-only{display:flex}
  .site-header{padding-top:env(safe-area-inset-top,0)}
  .header-inner{grid-template-columns:28px minmax(0,1fr) auto;padding:9px 12px 11px;gap:8px 10px}
  .mobile-menu{align-items:center;justify-content:center;width:28px;height:36px;padding:0;border:0;color:#fff;background:none}
  .mobile-menu svg{width:20px;height:20px}
  .header-inner .brand img{height:30px;width:130px}
  .header-inner .brand>span{display:none}
  .header-actions{gap:17px}
  .header-actions>button{min-width:30px;min-height:36px;padding:3px}
  .header-actions>button>b{top:0;left:18px;font-size:8px;min-width:15px;height:15px}
  .header-actions .icon{width:20px;height:20px}
  .search-form{grid-column:1/-1;height:37px;border-radius:5px}
  .search-form input{font-size:16px;padding-left:12px}
  .search-form input::placeholder{font-size:11px}
  .catalog-nav{display:none}
  .editorial-hero{min-height:275px}
  .hero-copy{padding:26px 20px 44px}
  .hero-copy>.eyebrow,.hero-side,.hero-page{display:none}
  .hero-copy h1{font-size:clamp(38px,9vw,54px);max-width:390px;line-height:.95;margin-bottom:13px}
  .hero-copy p{font-size:9px;letter-spacing:.055em;margin-bottom:17px}
  .hero-copy p i{margin:0 7px}
  .hero-link{background:var(--blue);border:0;border-radius:4px;padding:10px 14px;gap:12px;font-size:11px}
  .hero-photo{inset:0;background-size:auto 150%;background-position:right 70%}
  .hero-photo:after{background:linear-gradient(90deg,#071d2cf2 0%,#071d2cc9 46%,#071d2c20 100%)}
  .mobile-shortcuts{position:relative;display:grid;grid-template-columns:1fr 1fr;gap:9px;padding:15px 12px 12px;border-radius:15px 15px 0 0;margin-top:-12px;background:#fff}
  .mobile-shortcuts button{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:8px;padding:13px 8px;min-height:86px;border:1px solid #e8eef3;border-radius:7px;background:#f2f5f9;font-size:11px;font-weight:800}
  .mobile-shortcuts button>span{display:grid;place-items:center;color:#11345b;width:27px;height:27px}
  .mobile-shortcuts .shortcut-new{background:#0864f4;color:#fff;border-radius:50%}
  .mobile-shortcuts .shortcut-new svg{width:17px;height:17px;fill:#fff}
  .mobile-shortcuts .shortcut-best{color:#eba30f}
  .mobile-shortcuts .shortcut-offer{color:#ff9300}
  .mobile-shortcuts .shortcut-offer svg{fill:#ff930014}
  .benefits.home-section{display:none}
  .section-wrap{padding:21px 12px}
  .featured-categories .eyebrow{display:none}
  .featured-categories .section-title h2{font-size:25px}
  .featured-categories .section-title .text-link{font-size:10px;max-width:120px}
  .category-strip{display:grid;grid-template-columns:1fr 1fr;gap:9px;overflow:visible;padding:0}
  .category-tile{border-radius:6px;min-width:0}
  .category-tile img{height:95px}
  .category-tile>span{font-size:10px;min-height:33px;padding:9px 9px 0}
  .category-tile>small{padding:5px 9px 8px;font-size:8px}
  .mobile-breadcrumb{flex-wrap:wrap;align-items:center;gap:6px;margin:0 0 12px;color:#7a8999;font-size:9px;line-height:1.5}
  .mobile-breadcrumb button{border:0;background:none;padding:4px 0;color:inherit;font-size:inherit}
  .mobile-breadcrumb span{color:#18364f}
  .products-section .product-heading .eyebrow{display:none}
  .product-heading{gap:13px}
  .product-heading h2{font-size:30px}
  .section-title p{font-size:10px;margin-top:5px}
  .product-controls{display:grid;grid-template-columns:1fr 1fr;gap:9px}
  .product-controls>.outline-button,.sort-label select{width:100%;min-height:39px;background:#eff4f9;border-color:#eff4f9;border-radius:5px;font-size:11px}
  .sort-label{min-width:0}
  .product-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:9px}
  .product-card{border-radius:5px}
  .product-picture{aspect-ratio:1.03}
  .product-copy{padding:9px 10px 13px}
  .product-brand{font-size:9px;color:#20344a;font-weight:800}
  .product-copy h3{font-size:17px;margin:5px 0;line-height:1.15;min-height:2.3em}
  .product-sku{font-size:9px}
  .product-price{margin-top:8px;gap:4px}
  .product-price b{font-size:27px}
  .product-price small{font-size:8px}
  .favorite-button{width:33px;height:33px;right:4px;top:4px}
  .favorite-button svg{width:19px;height:19px}
  .product-badge{font-size:8px;top:10px;left:8px}
  .brand-section h2,.quote-banner h2{font-size:28px}
  .brand-section .section-note{font-size:9px}
  .editorial-insert{grid-column:1/-1}
  .pagination{flex-wrap:wrap}
  .category-dialog[open]{height:100dvh;background:#fff}
  .category-dialog .panel-head{padding:16px;background:var(--navy);color:white;align-items:center;flex-shrink:0;padding-top:max(16px,env(safe-area-inset-top,0px))}
  .category-dialog .panel-head .eyebrow{display:none}
  .category-dialog .panel-head h2{font:800 18px var(--sans);letter-spacing:-.025em}
  .category-dialog .panel-head .icon-button{color:white}
  .category-search{margin:0;background:var(--navy);padding:0 14px 13px;position:relative;flex-shrink:0}
  .category-search>svg{position:absolute;left:25px;top:11px;width:17px;height:17px}
  .category-search input{height:39px;width:100%;padding:8px 10px 8px 35px;border-radius:5px;background:#fff;font-size:16px}
  .category-search input::placeholder{font-size:12px}
  #categoryRoots{display:none}
  .category-dialog .mega-body{display:block;overflow:auto}
  .mega-content{padding:0 14px 20px;overflow:visible}
  .mega-content h3{font-size:23px;padding:15px 3px 0;margin-bottom:8px}
  .breadcrumbs{margin:13px 3px 0;gap:6px}
  .breadcrumbs:empty{display:none}
  .category-children{display:flex;flex-direction:column;gap:0}
  .category-option{padding:13px 4px;min-height:52px;border:0;border-bottom:1px solid #e7edf2;border-radius:0;gap:13px;font-size:12px}
  .category-option>.category-symbol{display:block;width:23px;height:23px;color:#173956;flex-shrink:0}
  .category-option>span{flex:1}
  .category-option small{font-size:9px;margin-top:3px}
  .category-option>svg:last-child{width:14px}
  .category-option.all{order:2;background:transparent;border-color:#e7edf2;color:var(--blue);font-weight:800}
  .category-mobile-banner{display:block!important;margin:20px 0 0;padding:22px 18px;min-height:155px;background-image:linear-gradient(90deg,#092031f5 0%,#092031c9 45%,#0920311a),var(--category-photo);background-size:auto,auto 150%;background-position:center,right 70%;color:#fff;border-radius:5px}
  .category-mobile-banner b{font:700 italic 27px/1 var(--display)}
  .category-mobile-banner small{display:block;margin-top:11px;font-size:10px;color:#bdd9e9}
  .side-dialog{width:100vw;height:100dvh;padding-top:env(safe-area-inset-top,0)}
  .panel-head{padding:16px 14px;align-items:center;flex-shrink:0}
  .panel-head h2{font:800 18px var(--sans);letter-spacing:-.025em}
  #listDialog .panel-head .eyebrow,#quoteDialog .panel-head .eyebrow{display:none}
  .list-tabs{margin:0 14px}
  .list-tabs button{padding:13px 5px}
  .list-items{padding:0 14px}
  .list-item{padding:16px 0;grid-template-columns:72px minmax(0,1fr);gap:12px}
  .list-item>img{width:72px;height:88px}
  .list-item h3{font-size:18px}
  .list-item strong{font-size:23px}
  .list-item strong small{font-size:9px}
  .quantity-control button{width:34px;height:34px}
  .quantity-control button[data-step="1"]{background:var(--blue);color:#fff}
  .quantity-control input{width:40px;font-size:16px}
  .remove-item{padding:8px 3px;font-size:10px}
  .item-note{min-height:39px;font-size:16px!important;padding:9px!important}
  .item-note::placeholder{font-size:11px}
  .list-bottom{padding:15px 14px max(15px,env(safe-area-inset-bottom,0px));background:#fff;flex-shrink:0;box-shadow:0 -4px 15px #112e4f08}
  .list-bottom .primary-button{height:46px;font-size:13px}
  .list-totals{font-size:11px;margin-bottom:10px}
  .list-bottom>p{font-size:9px;margin-top:9px}
  .quote-dialog{padding-bottom:env(safe-area-inset-bottom,0);overscroll-behavior:contain}
  .quote-dialog .panel-head{position:sticky;top:0;z-index:2;background:#fff;padding-top:max(16px,env(safe-area-inset-top,0px))}
  .quote-dialog .dialog-intro{padding:14px 14px 0;margin-bottom:16px;font-size:11px;line-height:1.5}
  .quote-dialog form{padding:0 14px}
  .quote-contact .two-cols{grid-template-columns:1fr 1fr;gap:13px}
  .quote-contact .two-cols>label{grid-column:1/-1;font-size:11px}
  .quote-contact .two-cols>label:nth-child(3),.quote-contact .two-cols>label:nth-child(4){grid-column:auto}
  .quote-dialog input,.quote-dialog textarea{font-size:16px;min-width:0;padding:10px}
  .quote-dialog input::placeholder,.quote-dialog textarea::placeholder{font-size:12px}
  .quote-contact>label{font-size:11px}
  .quote-contact .discount-label input{width:72px}
  .request-summary{padding:13px;border:1px solid var(--line);border-radius:5px;background:#f7f9fb}
  .request-summary h3{font-size:22px;margin-bottom:10px}
  .request-summary:not(.is-expanded) .quote-summary-details{display:none}
  .quote-summary-details{padding-top:12px}
  .brand-result-count{padding:14px 14px 0;font-size:10px;flex-shrink:0}
  .brand-directory{grid-template-columns:repeat(2,minmax(0,1fr));padding:14px;gap:10px;align-content:start;flex:1}
  .brand-directory-item{padding:13px}
  .panel-heading .icon-button{flex-shrink:0;margin-left:-6px;width:28px}
  #quoteSummary{max-height:145px}
  .quote-total{padding:14px 0 6px}
  .quote-submit-row{position:sticky;bottom:0;z-index:1;margin:0 -14px;padding:10px 14px max(12px,env(safe-area-inset-bottom,0px));background:#fff;border-top:1px solid var(--line);gap:9px}
  .quote-submit-row>.primary-button{order:-1;min-height:46px;font-size:13px}
  .quote-submit-row>span{font-size:9px}
  .quote-submit-row>span svg{width:16px;height:16px}
  .filter-dialog{height:88dvh;border-radius:15px 15px 0 0;padding-bottom:env(safe-area-inset-bottom,0)}
  .filter-fields input,.filter-fields select{font-size:16px}
  .filter-actions{padding:15px}
  .swal2-popup.product-sheet{min-height:100dvh;max-height:100dvh;border-radius:12px 12px 0 0;padding:27px 14px max(22px,env(safe-area-inset-bottom,0px))!important;overscroll-behavior:contain}
  .product-sheet:before{content:"";display:block;position:absolute;top:10px;left:calc(50% - 21px);height:4px;width:42px;background:#b9c4cd;border-radius:3px}
  .product-sheet .swal2-close{top:1px;right:4px;background:#ffffffde;width:35px;height:35px}
  .sheet-top{gap:17px}
  .gallery{gap:9px}
  .gallery-main{height:min(65vw,330px);aspect-ratio:auto;background:#f8fafb}
  .gallery-main>img{padding:12px}
  .gallery-thumbs{gap:8px;max-height:59px;padding:1px 0}
  .gallery-thumbs button{width:53px;height:53px;border-radius:4px}
  .gallery-counter{font-size:10px;left:9px;bottom:9px;background:#fff;border:1px solid #d9e1e8;border-radius:12px}
  .gallery-zoom{width:30px;height:30px}
  .sheet-brand{font-size:11px;margin-bottom:7px}
  .sheet-brand img{height:29px;max-width:110px}
  .sheet-info h2{font-size:27px;margin-bottom:6px}
  .sheet-code{font-size:10px}
  .sheet-price{margin:11px 0 7px;gap:6px}
  .sheet-price b{font-size:43px}
  .sheet-price span{font-size:13px}
  .sheet-availability{font-size:9px;margin:0 0 9px}
  .sheet-subtitle{font-size:11px;margin:9px 0 2px}
  .sheet-actions{position:static;padding:0;gap:8px}
  .sheet-actions>.outline-button,.sheet-actions>.primary-button{min-height:43px;font-size:12px}
  .sheet-actions>.text-link{align-self:center;max-width:none;margin:4px 0 0;font-size:10px}
  .sheet-tabs{position:sticky;top:-1px;z-index:2;display:flex;background:white;border-bottom:1px solid var(--line);margin-top:15px;padding-top:6px}
  .sheet-tabs button{flex:1;border:0;border-bottom:2px solid transparent;padding:14px 6px;font-size:12px;background:white;color:#6a7b8d}
  .sheet-tabs button[aria-selected="true"]{border-bottom-color:var(--blue);color:var(--blue);font-weight:800}
  .sheet-bottom{display:block;padding-top:16px;margin-top:0;border-top:0}
  .sheet-bottom>div>h3{display:none}
  .sheet-description{font-size:12px;line-height:1.8}
  .sheet-specs{font-size:12px}
  .sheet-specs td{padding:10px 9px}
  .sheet-assurances{display:grid;grid-template-columns:1fr;gap:17px;margin-top:21px;padding-top:19px}
  .sheet-assurances span{width:100%;font-size:11px;gap:15px}
  .sheet-assurances svg{width:30px;height:30px}
  .mobile-search-dialog{position:fixed;inset:0;margin:0;width:100vw;max-width:100vw;height:100dvh;max-height:100dvh;border:0;border-radius:0;background:#fff;padding:env(safe-area-inset-top,0) 12px env(safe-area-inset-bottom,0)}
  .mobile-search-dialog[open]{display:flex;flex-direction:column}
  .mobile-search-head{display:flex;align-items:center;gap:11px;padding:14px 0 9px;flex-shrink:0}
  .mobile-search-head>div{display:flex;align-items:center;gap:8px;flex:1;min-width:0;height:41px;border:1px solid #bfcfe0;border-radius:5px;padding:0 9px;background:#fbfcfd}
  .mobile-search-head svg{width:17px;height:17px;color:#536b81}
  .mobile-search-head input{min-width:0;flex:1;padding:8px 0;outline:0;border:0;background:none;font-size:16px}
  .mobile-search-head input::placeholder{font-size:11px}
  .mobile-search-head>button{border:0;background:none;color:var(--blue);font-size:12px;padding:9px 0}
  .mobile-search-tabs{display:flex;gap:7px;border-bottom:1px solid var(--line);padding-bottom:11px;flex-shrink:0}
  .mobile-search-tabs button{flex:1;border:0;background:#f0f4f8;color:#57718b;font-size:10px;padding:9px 4px;border-radius:4px}
  .mobile-search-tabs button[aria-pressed="true"]{background:var(--blue);color:white}
  .mobile-search-results{min-height:0;flex:1;overflow:auto;padding:8px 0 20px}
  .mobile-search-results>.muted{padding:15px 4px;font-size:12px}
  .mobile-search-results .suggestion-title{display:flex;justify-content:space-between;align-items:center;font-size:11px;padding:15px 0 6px;color:var(--ink);letter-spacing:0}
  .mobile-search-results .suggestion-title>button{font-size:10px;background:none;border:0;color:var(--blue)}
  .mobile-search-results .suggestion{padding:10px 2px;font-size:12px;border-bottom:1px solid #f3f5f7}
  .mobile-search-results .suggestion img{width:48px;height:48px}
  .mobile-search-results .suggestion>svg{width:28px;height:28px;margin:5px 9px;color:#284e6e}
  .mobile-search-results .suggestion small{font-size:10px;margin-top:5px}
  .catalog-toast{bottom:max(16px,env(safe-area-inset-bottom,0px));font-size:12px;text-align:center}
}
@media(max-width:340px){.header-inner .brand img{width:110px}.header-actions{gap:8px}.product-grid{grid-template-columns:1fr}.hero-copy h1{font-size:37px}.mobile-shortcuts button{font-size:10px}}
