:root{
  --navy-900:#0B2540;
  --navy-700:#123A5E;
  --blue-500:#1E6094;
  --orange-500:#FF6A1A;
  --orange-300:#FFA15C;
  --paper:#F2F5F8;
  --ink:#0B1620;
  --muted:#5C7186;
  --muted-light:#AFC2D4;
  --line-dark:rgba(255,255,255,.14);
  --line-light:rgba(11,37,64,.14);
  --radius:7px;
  --ease:cubic-bezier(0.4,0,0.2,1);
  --duration:180ms;
}
*{box-sizing:border-box;margin:0;padding:0;}
html{scroll-behavior:smooth;font-size:14px;}
body{font-family:'Inter','Segoe UI',Arial,sans-serif;background:var(--paper);color:var(--ink);line-height:1.5;overflow-x:hidden;}
button,input,textarea,select{font-family:inherit;outline:none;}
button{cursor:pointer;border:none;}
a{color:inherit;text-decoration:none;}
img{max-width:100%;display:block;}

.site-header{position:sticky;top:0;z-index:150;background:rgba(255,255,255,.94);backdrop-filter:blur(10px);border-bottom:1px solid var(--line-light);}
.header-inner{width:100%;min-height:96px;padding:0 32px;display:flex;align-items:center;gap:24px;}
.header-logo{width:280px;height:72px;display:flex;align-items:center;flex-shrink:0;}
.header-logo img{width:100%;height:100%;object-fit:contain;}
.nav-main{flex:1;display:flex;align-items:center;justify-content:flex-end;gap:28px;min-width:0;}
.nav-links{display:flex;align-items:center;gap:32px;}
.nav-links a{color:var(--navy-900);font-size:16px;font-weight:600;white-space:nowrap;}
.nav-links a:hover{color:var(--orange-500);}
.tracking-link{background:var(--orange-500);color:var(--ink)!important;padding:14px 24px;border-radius:var(--radius);}
.nav-actions{display:flex;align-items:center;gap:12px;flex-shrink:0;}
.nav-quote{min-height:48px;border-radius:var(--radius);padding:0 22px;font-size:14px;font-weight:800;display:inline-flex;align-items:center;justify-content:center;gap:9px;white-space:nowrap;background:var(--orange-500);color:var(--ink);transition:transform var(--duration) var(--ease),background var(--duration) var(--ease);}
.nav-quote:hover{background:var(--orange-300);transform:translateY(-1px);}
.quote-badge{min-width:20px;height:20px;padding:0 6px;border-radius:99px;background:#fff;color:var(--navy-900);font-size:11px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;}
.nav-toggle{display:none;flex-direction:column;justify-content:center;gap:5px;width:42px;height:42px;background:transparent;flex-shrink:0;}
.nav-toggle span{width:24px;height:2px;background:var(--navy-900);display:block;transition:transform var(--duration) var(--ease),opacity var(--duration) var(--ease);}
.nav-toggle[aria-expanded="true"] span:nth-child(1){transform:translateY(7px) rotate(45deg);}
.nav-toggle[aria-expanded="true"] span:nth-child(2){opacity:0;}
.nav-toggle[aria-expanded="true"] span:nth-child(3){transform:translateY(-7px) rotate(-45deg);}

.app-layout{display:flex;min-height:calc(100vh - 96px);}
.sidebar{width:246px;flex-shrink:0;background:var(--navy-900);color:#fff;padding:28px 18px;position:sticky;top:96px;height:calc(100vh - 96px);overflow-y:auto;}
.sidebar-section{margin-bottom:24px;}
.sidebar-label{font-size:12px;font-weight:800;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-light);margin-bottom:14px;padding:0 8px;}
.filter-group{display:flex;flex-direction:column;gap:8px;}
.filter-item{width:100%;display:flex;align-items:center;gap:12px;padding:12px 14px;border-radius:var(--radius);color:var(--muted-light);background:rgba(255,255,255,.025);border:1px solid rgba(255,255,255,.08);font-size:14px;font-weight:600;text-align:left;transition:all var(--duration) var(--ease);}
.filter-item:hover{background:rgba(255,255,255,.08);color:#fff;}
.filter-item.active{background:rgba(255,106,26,.12);border-color:rgba(255,106,26,.6);color:#fff;}
.filter-icon{width:18px;height:18px;display:inline-flex;align-items:center;justify-content:center;color:var(--orange-300);}
.main-content{flex:1;min-width:0;padding:26px 30px 44px;}

.hero-banner{position:relative;overflow:hidden;background:var(--navy-900);border-radius:10px;padding:36px 42px;margin-bottom:28px;display:flex;align-items:center;justify-content:space-between;gap:24px;color:#fff;box-shadow:0 20px 40px rgba(11,37,64,.16);}
.hero-banner::before{content:"";position:absolute;inset:0;background-image:linear-gradient(var(--line-dark) 1px,transparent 1px),linear-gradient(90deg,var(--line-dark) 1px,transparent 1px);background-size:42px 42px;opacity:.35;}
.hero-banner::after{content:"";position:absolute;right:-90px;top:-120px;width:360px;height:360px;border:1px dashed rgba(255,106,26,.35);border-radius:50%;}
.hero-text{position:relative;z-index:1;}
.eyebrow{font-family:'JetBrains Mono',monospace;font-size:13px;font-weight:800;letter-spacing:.18em;text-transform:uppercase;color:var(--muted-light);margin-bottom:14px;}
.hero-text h1{font-size:clamp(28px,3.6vw,44px);line-height:1.05;letter-spacing:-.03em;margin-bottom:14px;color:#fff;}
.hero-text h1 span{color:var(--orange-500);}
.hero-text p{font-size:16px;color:var(--muted-light);max-width:620px;}
.hero-stats{position:relative;z-index:1;display:flex;gap:26px;}
.stat-item{text-align:right;}
.stat-num{font-family:'JetBrains Mono',monospace;font-size:28px;font-weight:900;color:var(--orange-500);}
.stat-label{font-size:12px;color:var(--muted-light);}

.catalog-toolbar{display:flex;align-items:center;gap:14px;margin-bottom:22px;flex-wrap:wrap;}
.catalog-count{font-size:15px;color:var(--muted);margin-right:auto;}
.catalog-count span{font-weight:900;color:var(--navy-900);}
.catalog-search{position:relative;width:min(100%,420px);}
.catalog-search input{width:100%;background:#fff;border:1px solid var(--line-light);border-radius:var(--radius);padding:12px 14px 12px 40px;color:var(--navy-900);font-size:14px;box-shadow:0 8px 20px rgba(11,37,64,.05);}
.catalog-search input::placeholder{color:#6e8194;}
.catalog-search input:focus{border-color:rgba(255,106,26,.7);box-shadow:0 0 0 3px rgba(255,106,26,.14);}
.search-icon{position:absolute;left:13px;top:50%;width:17px;height:17px;transform:translateY(-50%);color:var(--muted);pointer-events:none;}
.sort-select{background:#fff;border:1px solid var(--line-light);border-radius:var(--radius);padding:12px 14px;color:var(--navy-900);font-size:14px;min-width:170px;}
.view-toggle{display:flex;background:#fff;border:1px solid var(--line-light);border-radius:var(--radius);padding:4px;gap:4px;}
.view-btn{background:transparent;color:var(--muted);width:36px;height:34px;border-radius:5px;font-weight:900;}
.view-btn.active{background:var(--navy-900);color:#fff;}

.products-grid{display:grid;grid-template-columns:repeat(auto-fill,minmax(260px,1fr));gap:18px;}
.products-grid.list-view{grid-template-columns:1fr;}
.product-card{background:var(--navy-700);border:1px solid rgba(11,37,64,.14);border-top:3px solid var(--orange-500);border-radius:12px;overflow:hidden;transition:transform var(--duration) var(--ease),box-shadow var(--duration) var(--ease),border-color var(--duration) var(--ease);cursor:pointer;box-shadow:0 12px 28px rgba(11,37,64,.14);}
.product-card:hover{transform:translateY(-4px);box-shadow:0 18px 36px rgba(11,37,64,.22);border-color:rgba(255,106,26,.7);}
.product-image{height:210px;background:linear-gradient(135deg,var(--navy-900),var(--navy-700));display:flex;align-items:center;justify-content:center;overflow:hidden;position:relative;}
.product-image img{width:100%;height:100%;object-fit:cover;}
.product-image-placeholder{width:100%;height:100%;align-items:center;justify-content:center;text-align:center;padding:18px;color:var(--muted-light);font-size:13px;font-weight:800;letter-spacing:.04em;text-transform:uppercase;background:linear-gradient(135deg,var(--navy-900),var(--navy-700));}
.product-body{padding:18px 18px 20px;color:#fff;}
.product-provider{font-size:11px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted-light);margin-bottom:7px;line-height:1.2;}
.product-category{font-size:12px;font-weight:900;letter-spacing:.06em;text-transform:uppercase;color:var(--orange-500);margin-bottom:8px;}
.product-name{font-size:17px;font-weight:900;line-height:1.22;margin-bottom:6px;display:-webkit-box;line-clamp:2;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;}
.product-sku{font-family:'JetBrains Mono',monospace;font-size:12px;color:var(--muted-light);margin-bottom:12px;}
.product-desc{font-size:14px;color:var(--muted-light);line-height:1.45;margin-bottom:14px;display:-webkit-box;line-clamp:3;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden;}
.product-actions{display:flex;flex-direction:column;gap:10px;align-items:stretch;}
.btn-quote-card,.btn-sheet{width:100%;background:var(--orange-500);color:var(--ink);border-radius:var(--radius);font-weight:900;padding:12px 14px;display:inline-flex;align-items:center;justify-content:center;gap:8px;text-align:center;transition:all var(--duration) var(--ease);}
.btn-quote-card{flex:1;}
.btn-sheet{background:rgba(255,255,255,.09);color:#fff;border:1px solid rgba(255,255,255,.16);}
.btn-quote-card:hover{background:var(--orange-300);transform:translateY(-1px);}
.btn-sheet:hover{border-color:var(--orange-500);color:var(--orange-500);}
.products-grid.list-view .product-card{display:grid;grid-template-columns:180px 1fr;}
.products-grid.list-view .product-image{height:100%;min-height:170px;}

.drawer-overlay{position:fixed;inset:0;background:rgba(0,0,0,.55);backdrop-filter:blur(4px);z-index:200;opacity:0;pointer-events:none;transition:opacity var(--duration) var(--ease);}
.drawer-overlay.open{opacity:1;pointer-events:all;}
.drawer,.quote-drawer{position:fixed;top:0;right:0;bottom:0;width:480px;max-width:100vw;background:#fff;color:var(--ink);z-index:210;transform:translateX(100%);transition:transform 260ms var(--ease);box-shadow:0 24px 80px rgba(0,0,0,.35);display:flex;flex-direction:column;}
.drawer.open,.quote-drawer.open{transform:translateX(0);}
.drawer-header{padding:22px 24px;border-bottom:1px solid var(--line-light);display:flex;gap:16px;align-items:flex-start;}
.drawer-title{font-size:19px;font-weight:900;color:var(--navy-900);line-height:1.15;}
.drawer-subtitle{font-size:12px;color:var(--muted);margin-top:4px;}
.drawer-close{margin-left:auto;background:var(--paper);border:1px solid var(--line-light);border-radius:var(--radius);padding:9px 12px;color:var(--navy-900);font-weight:800;}
.drawer-body{padding:22px 24px;overflow-y:auto;flex:1;}
.drawer-footer{padding:16px 24px;border-top:1px solid var(--line-light);}
.drawer-product{display:flex;gap:16px;background:var(--paper);border:1px solid var(--line-light);border-radius:10px;padding:14px;margin-bottom:18px;}
.drawer-product-img{width:82px;height:82px;border-radius:8px;background:var(--navy-900);display:flex;align-items:center;justify-content:center;overflow:hidden;flex-shrink:0;}
.drawer-product-img img{width:100%;height:100%;object-fit:cover;}
.drawer-product-image-fallback{width:100%;height:100%;display:none;align-items:center;justify-content:center;text-align:center;padding:8px;color:#fff;font-size:11px;font-weight:800;line-height:1.2;background:var(--navy-900);}
.drawer-product-provider{font-size:11px;font-weight:900;text-transform:uppercase;letter-spacing:.08em;color:var(--orange-500);margin-bottom:4px;}
.drawer-product-name{font-size:17px;font-weight:900;color:var(--navy-900);line-height:1.25;margin-bottom:5px;}
.drawer-product-sku{font-family:'JetBrains Mono',monospace;color:var(--muted);font-size:12px;}
.drawer-detail-block{margin-bottom:18px;}
.detail-label,.section-title{font-size:12px;font-weight:900;letter-spacing:.08em;text-transform:uppercase;color:var(--muted);margin-bottom:8px;}
.detail-text{font-size:14px;color:var(--ink);line-height:1.55;}
.drawer-description.collapsed{display:-webkit-box;line-clamp:5;-webkit-line-clamp:5;-webkit-box-orient:vertical;overflow:hidden;}
.btn-text{background:transparent;color:var(--orange-500);font-weight:900;margin-top:8px;}
.qty-row{display:flex;align-items:center;justify-content:space-between;gap:12px;background:var(--paper);border:1px solid var(--line-light);border-radius:var(--radius);padding:12px 14px;margin:18px 0;}
.qty-label{font-size:14px;font-weight:800;color:var(--navy-900);}
.qty-control{display:flex;align-items:center;gap:10px;}
.qty-btn{width:30px;height:30px;border-radius:6px;background:var(--navy-900);color:#fff;font-size:18px;font-weight:900;}
.qty-display{font-family:'JetBrains Mono',monospace;font-weight:900;min-width:26px;text-align:center;}
.btn-quote-main{width:100%;background:var(--orange-500);color:var(--ink);border-radius:var(--radius);padding:14px 16px;font-size:15px;font-weight:900;}
.btn-quote-main:hover{background:var(--orange-300);}
.btn-secondary{background:var(--navy-900);color:#fff;border-radius:var(--radius);padding:14px 16px;font-weight:900;}

.quote-items{display:flex;flex-direction:column;gap:10px;margin-bottom:18px;}
.quote-empty{background:var(--paper);border:1px dashed var(--line-light);border-radius:10px;padding:18px;color:var(--muted);text-align:center;margin-bottom:18px;}
.quote-item{display:grid;grid-template-columns:1fr auto;gap:10px;align-items:center;background:var(--paper);border:1px solid var(--line-light);border-radius:10px;padding:12px;}
.quote-item-name{font-size:14px;font-weight:900;color:var(--navy-900);line-height:1.25;}
.quote-item-meta{font-size:12px;color:var(--muted);margin-top:3px;}
.quote-item-actions{display:flex;align-items:center;gap:8px;}
.quote-item-actions input{width:56px;padding:8px;border:1px solid var(--line-light);border-radius:6px;text-align:center;font-weight:900;}
.remove-btn{background:#fff;border:1px solid var(--line-light);border-radius:6px;padding:8px 10px;color:#b42318;font-weight:900;}
.quote-client-box{background:var(--paper);border:1px solid var(--line-light);border-radius:10px;padding:16px;display:grid;gap:10px;}
.form-input{width:100%;border:1px solid var(--line-light);border-radius:var(--radius);padding:12px 13px;font-size:14px;background:#fff;color:var(--navy-900);}
.form-input:focus{border-color:rgba(255,106,26,.75);box-shadow:0 0 0 3px rgba(255,106,26,.14);}
.quote-notes{resize:vertical;}
.quote-service-note{font-size:12px;color:var(--muted);line-height:1.45;}
.quote-footer{display:grid;grid-template-columns:1fr 1.2fr;gap:10px;}
.toast-container{position:fixed;right:18px;bottom:18px;z-index:300;display:flex;flex-direction:column-reverse;gap:8px;}
.toast{background:var(--navy-900);color:#fff;border-left:4px solid var(--orange-500);border-radius:8px;padding:12px 14px;box-shadow:0 12px 28px rgba(0,0,0,.22);font-weight:700;max-width:320px;animation:toast-in .25s var(--ease);}
@keyframes toast-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:none}}
.empty-state{grid-column:1/-1;text-align:center;background:#fff;border:1px solid var(--line-light);border-radius:12px;padding:42px;color:var(--muted);}
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0;}

@media(max-width:1024px){
  .header-inner{min-height:86px;padding:0 20px;gap:14px;}
  .header-logo{width:220px;height:60px;}
  .nav-main{gap:16px;}
  .nav-links{gap:20px;}
  .nav-links a{font-size:14px;}
  .tracking-link{padding:12px 18px;}
  .sidebar{top:86px;height:calc(100vh - 86px);}
  .app-layout{min-height:calc(100vh - 86px);}
}
@media(max-width:860px){
  .header-inner{min-height:78px;padding:0 12px;gap:10px;}
  .header-logo{width:132px;height:48px;}
  .nav-main{gap:8px;}
  .nav-links{position:absolute;top:78px;left:0;right:0;z-index:140;background:#fff;flex-direction:column;align-items:stretch;gap:0;border-top:1px solid rgba(11,37,64,.10);border-bottom:1px solid rgba(11,37,64,.14);max-height:0;overflow:hidden;transition:max-height 240ms var(--ease);}
  .nav-links.open{max-height:260px;}
  .nav-links a,.nav-links .tracking-link{width:100%;padding:16px 24px;border-radius:0;border-bottom:1px solid rgba(11,37,64,.08);background:#fff;color:var(--navy-900)!important;}
  .nav-links .tracking-link{color:var(--orange-500)!important;}
  .nav-toggle{display:flex;}
  .nav-quote{min-height:42px;padding:0 13px;font-size:12px;}
  .sidebar{position:static;width:100%;height:auto;padding:16px;background:var(--navy-900);}
  .filter-group{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));}
  .app-layout{display:block;}
  .main-content{padding:18px;}
  .hero-banner{padding:28px 26px;}
  .hero-stats{display:none;}
  .catalog-search{width:100%;order:3;}
  .sort-select{min-width:150px;}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:14px;}
  .product-image{height:170px;}
  .product-body{padding:14px;}
  .product-name{font-size:15px;}
  .product-desc{font-size:12.5px;line-clamp:2;-webkit-line-clamp:2;}
  .product-provider{font-size:10px;}
  .product-actions{flex-direction:column;align-items:stretch;}
  .btn-quote-card,.btn-sheet{padding:10px;font-size:12px;}
}
@media(max-width:560px){
  .header-logo{width:112px;height:42px;}
  .nav-quote{min-height:38px;padding:0 10px;font-size:11px;gap:6px;}
  .quote-badge{min-width:18px;height:18px;font-size:10px;}
  .nav-toggle{width:34px;height:38px;}
  .nav-toggle span{width:21px;}
  .hero-banner{padding:24px 20px;}
  .hero-text h1{font-size:28px;}
  .catalog-toolbar{gap:10px;}
  .products-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
  .product-image{height:145px;}
  .product-category{font-size:10px;}
  .product-name{font-size:13.5px;}
  .product-sku{font-size:10px;}
  .product-desc{font-size:12px;}
  .drawer,.quote-drawer{width:100%;}
  .quote-footer{grid-template-columns:1fr;}
  .filter-item{padding:10px;font-size:12.5px;}
}


/* Ajustes v3: imágenes reales, afiche y apertura/cierre robusto */
.product-image img{width:100%;height:100%;object-fit:cover;display:block;}
.btn-sheet.drawer-sheet{margin-top:8px;background:var(--navy-900);color:#fff;border-color:var(--navy-900);}
.btn-sheet.drawer-sheet:hover{background:var(--blue-500);color:#fff;border-color:var(--blue-500);}
.drawer-overlay:not(.open){pointer-events:none!important;}
.drawer-overlay.open{pointer-events:all!important;}


/* ═══ COTIZACIÓN ESPECIAL DE TRANSPORTE ═══ */
.nav-transport,
.header-transport {
  min-height: 48px;
  border: 1px solid var(--orange-500, #FF6A1A);
  border-radius: var(--radius, 7px);
  padding: 0 18px;
  background: #fff;
  color: var(--navy-900, #0B2540);
  font: inherit;
  font-size: 13px;
  font-weight: 800;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  flex-shrink: 0;
  cursor: pointer;
  transition: transform .18s ease, background .18s ease, color .18s ease, box-shadow .18s ease;
}
.nav-transport:hover,
.header-transport:hover {
  background: var(--navy-900, #0B2540);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 8px 20px rgba(11,37,64,.18);
}
.transport-overlay {
  position: fixed;
  inset: 0;
  z-index: 500;
  background: rgba(6,20,34,.58);
  backdrop-filter: blur(5px);
  opacity: 0;
  pointer-events: none;
  transition: opacity .2s ease;
}
.transport-overlay.open {
  opacity: 1;
  pointer-events: auto;
}
.transport-drawer {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  z-index: 510;
  width: 540px;
  max-width: 100vw;
  background: #fff;
  color: #0B1620;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform .26s ease;
  box-shadow: -18px 0 55px rgba(11,37,64,.24);
}
.transport-drawer.open { transform: translateX(0); }
.transport-header {
  padding: 22px 24px;
  border-bottom: 1px solid rgba(11,37,64,.14);
  display: flex;
  align-items: flex-start;
  gap: 18px;
}
.transport-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 21px;
  font-weight: 800;
  color: #0B2540;
}
.transport-subtitle {
  margin-top: 4px;
  color: #5C7186;
  font-size: 13px;
}
.transport-close {
  margin-left: auto;
  border: 1px solid rgba(11,37,64,.16);
  border-radius: 7px;
  background: #F2F5F8;
  color: #0B2540;
  padding: 8px 11px;
  font-weight: 700;
  white-space: nowrap;
}
.transport-body {
  flex: 1;
  overflow-y: auto;
  padding: 22px 24px;
}
.transport-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.transport-section-title {
  color: #FF6A1A;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .12em;
  text-transform: uppercase;
  margin-bottom: 2px;
}
.transport-input {
  width: 100%;
  border: 1px solid rgba(11,37,64,.17);
  border-radius: 7px;
  background: #F8FAFC;
  color: #0B1620;
  padding: 12px 13px;
  font: inherit;
  font-size: 13px;
  outline: none;
}
.transport-input:focus {
  border-color: #FF6A1A;
  box-shadow: 0 0 0 3px rgba(255,106,26,.12);
  background: #fff;
}
.transport-input.invalid {
  border-color: #D92D20;
  box-shadow: 0 0 0 3px rgba(217,45,32,.1);
}
.transport-notes { resize: vertical; min-height: 92px; }
.transport-note {
  color: #5C7186;
  font-size: 12px;
  line-height: 1.5;
}
.transport-footer {
  padding: 16px 24px;
  border-top: 1px solid rgba(11,37,64,.14);
  display: flex;
  gap: 10px;
}
.transport-secondary,
.transport-submit {
  min-height: 46px;
  border-radius: 7px;
  padding: 0 18px;
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}
.transport-secondary {
  border: 1px solid rgba(11,37,64,.18);
  background: #fff;
  color: #0B2540;
}
.transport-submit {
  flex: 1;
  border: 0;
  background: #FF6A1A;
  color: #0B1620;
}
.transport-submit:hover { background: #FFA15C; }

@media (max-width: 860px) {
  .nav-transport,
  .header-transport {
    min-height: 42px;
    padding: 0 11px;
    font-size: 11px;
  }
}
@media (max-width: 640px) {
  .nav-actions,
  .header-actions {
    gap: 6px;
    flex-shrink: 0;
  }
  .nav-transport,
  .header-transport {
    min-height: 38px;
    padding: 0 8px;
    font-size: 10px;
    white-space: nowrap;
    flex-shrink: 0;
  }
  .transport-drawer { width: 100%; }
  .transport-header,
  .transport-body,
  .transport-footer { padding-left: 16px; padding-right: 16px; }
}

/* ═══ AJUSTES RESPONSIVE Y BOTONES ICONOS v5 ═══ */
html, body { max-width: 100%; overflow-x: hidden; }
.site-header, .header-inner, .nav-main, .nav, .nav-links { max-width: 100%; }
.nav-action-icon { display: inline-flex; align-items: center; justify-content: center; font-size: 16px; line-height: 1; flex: 0 0 auto; }
.nav-action-text { display: inline-block; white-space: nowrap; }
.file-upload-label { margin-top: 2px; color: var(--navy-900, #0B2540); font-size: 12px; font-weight: 900; }
.file-input { padding: 10px 12px; cursor: pointer; }
.quote-file-note { color: var(--muted, #5C7186); font-size: 11.5px; line-height: 1.45; margin-top: -6px; }

@media (max-width: 860px) {
  .nav-links { width: 100%; max-width: 100vw; overflow-x: hidden; }
  .nav-actions, .header-actions { flex-shrink: 0; }
}

@media (max-width: 640px) {
  .nav-transport, .header-transport, .nav-quote, .header-quote {
    width: 44px;
    min-width: 44px;
    max-width: 44px;
    padding-left: 0 !important;
    padding-right: 0 !important;
    justify-content: center;
    gap: 0;
    overflow: visible;
  }
  .nav-quote { gap: 3px; }
  .nav-action-text { display: none; }
  .nav-action-icon { font-size: 18px; }
  .quote-badge { margin-left: -4px; }
}


/* Corrección general de desbordes horizontales */
.app-layout, .main-content, .products-grid, .catalog-toolbar { max-width: 100%; }
@media (max-width: 860px) {
  .header-inner { overflow: visible; }
  .nav-links.open { box-shadow: 0 16px 30px rgba(11,37,64,.12); }
  .sidebar { overflow-x: auto; scrollbar-width: thin; }
}

/* ===== KALLPEX UPDATE v2: botones responsive, menú móvil y prevención de overflow ===== */
html, body {
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
}

*, *::before, *::after {
  box-sizing: border-box;
}

.site-header,
.header-inner,
.nav-main,
.nav-links,
.nav-actions,
.app-layout,
.main-content {
  max-width: 100%;
}

.header-inner,
.nav-main {
  min-width: 0;
}

.nav-actions {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  flex-shrink: 0;
  min-width: 0;
}

.nav-transport,
.nav-quote {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  white-space: nowrap;
  flex-shrink: 0;
}

.nav-action-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  flex: 0 0 auto;
}

.nav-action-text {
  display: inline-block;
  white-space: nowrap;
}

@media (max-width: 860px) {
  .nav-links {
    width: 100vw;
    max-width: 100vw;
    overflow-x: hidden;
  }

  .nav-actions {
    gap: 6px;
  }

  .nav-action-text {
    display: none;
  }

  .nav-action-icon {
    font-size: 18px;
  }

  .nav-transport {
    width: 42px;
    min-width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
  }

  .nav-quote {
    width: 58px;
    min-width: 58px;
    height: 42px;
    min-height: 42px;
    padding: 0 6px;
    gap: 5px;
  }

  .quote-badge,
  .nav-badge {
    min-width: 18px;
    height: 18px;
    font-size: 10px;
    padding: 0 4px;
  }
}

@media (max-width: 480px) {
  .header-inner {
    padding-left: 8px;
    padding-right: 8px;
    gap: 6px;
  }

  .header-logo {
    width: 100px;
    height: 38px;
  }

  .nav-main {
    gap: 5px;
  }

  .nav-transport {
    width: 38px;
    min-width: 38px;
    height: 38px;
    min-height: 38px;
  }

  .nav-quote {
    width: 54px;
    min-width: 54px;
    height: 38px;
    min-height: 38px;
  }

  .nav-toggle {
    width: 34px;
    min-width: 34px;
    padding: 4px;
  }
}


/* ===== Footer corporativo Kallpex ===== */
.site-footer{background:var(--navy-900);padding:56px 0 32px;color:var(--muted-light, #AFC2D4);}
.footer-inner{display:grid;grid-template-columns:1.25fr .85fr .95fr 1fr;gap:34px;padding-bottom:34px;border-bottom:1px solid rgba(255,255,255,.14);margin-bottom:22px;}
.footer-brand-title{display:flex;align-items:center;gap:12px;margin-bottom:14px;}
.footer-brand-title img{width:44px;height:44px;object-fit:contain;background:#fff;border-radius:10px;padding:6px;}
.footer-brand-title span{font-family:'Space Grotesk',sans-serif;font-size:24px;font-weight:800;color:#fff;letter-spacing:-.03em;}
.footer-brand-title span span{color:var(--orange-500);}
.footer-brand p{font-size:14px;line-height:1.65;color:var(--muted-light, #AFC2D4);max-width:320px;}
.footer-col h4{font-family:'JetBrains Mono',monospace;font-size:12px;letter-spacing:.1em;color:#fff;text-transform:uppercase;margin-bottom:16px;}
.footer-col ul{list-style:none;display:flex;flex-direction:column;gap:10px;margin:0;padding:0;}
.footer-col a{text-decoration:none;font-size:14px;color:var(--muted-light, #AFC2D4);transition:color .2s ease;display:inline-flex;align-items:center;gap:9px;}
.footer-col a:hover{color:var(--orange-500);}
.social-mark{width:24px;height:24px;border-radius:6px;background:rgba(255,106,26,.13);color:var(--orange-500);font-size:12px;font-weight:900;display:inline-flex;align-items:center;justify-content:center;}
.footer-bottom{display:flex;justify-content:space-between;align-items:center;flex-wrap:wrap;gap:12px;font-family:'JetBrains Mono',monospace;font-size:11.5px;color:var(--muted-light, #AFC2D4);}
@media(max-width:980px){.footer-inner{grid-template-columns:1fr 1fr}.footer-brand{grid-column:1/-1}}
@media(max-width:640px){.site-footer{padding:42px 0 26px}.footer-inner{grid-template-columns:1fr;gap:28px}.footer-bottom{align-items:flex-start;flex-direction:column}}


/* ===== Ajustes finales responsive y formularios ===== */
html, body { width: 100%; max-width: 100%; overflow-x: hidden; }
.site-header, .header-inner, .nav, .nav-main, .app-layout, .main-content { max-width: 100%; }
.nav-links { max-width: 100vw; }
.nav-links.open { overflow-x: hidden; }
.transport-file-note { margin-top: -6px; }
select option[disabled][hidden] { display: none; }
@media(max-width:860px){
  .nav-links { left: 0; right: 0; width: 100%; max-width: 100vw; }
  .header-actions, .nav-actions { flex-shrink: 0; }
}


.nav-session{
  display:inline-flex;
  align-items:center;
  gap:8px;
  max-width:280px;
  padding:7px 9px;
  border:1px solid rgba(11,37,64,.12);
  border-radius:999px;
  background:#fff;
  box-shadow:0 8px 20px rgba(11,37,64,.07);
  color:var(--navy-900);
  font-size:11.5px;
  font-weight:800;
}
.nav-session[hidden]{display:none!important;}
.nav-session span{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;}
.nav-session button{
  border:0;
  border-radius:999px;
  background:rgba(255,106,26,.12);
  color:var(--orange-500);
  padding:7px 10px;
  font-size:11.5px;
  font-weight:900;
  cursor:pointer;
  white-space:nowrap;
}
@media (max-width: 760px){.nav-session{display:none!important;}}


button:disabled,
button[aria-busy="true"] {
  opacity: 0.65;
  cursor: not-allowed;
  pointer-events: none;
}


/* Catálogo visible desde el primer vistazo */
@media (min-width: 900px){
  .main-content{padding-top:18px}
  .hero-banner{padding:20px 28px;margin-bottom:16px;min-height:0}
  .hero-text h1{font-size:clamp(26px,2.8vw,36px);margin-bottom:7px}
  .hero-text p{font-size:14px;line-height:1.5;max-width:720px}
  .hero-stats{gap:16px}
  .hero-stats .stat{padding:8px 12px}
  .catalog-toolbar{margin-bottom:14px}
}
@media (min-width: 720px){.transport-drawer{width:min(620px,100vw)}}
