:root{--gp-blue:#092663;--gp-blue2:#123b87;--gp-orange:#ff5a00;--gp-bg:#f4f6fa;--gp-line:#e4e8f0;--gp-text:#17213b}*{box-sizing:border-box}body{margin:0;background:var(--gp-bg);font-family:Inter,system-ui,sans-serif;color:var(--gp-text)}.app-shell{min-height:100vh;display:flex}.sidebar{width:258px;background:linear-gradient(180deg,#071b4c,#0c2e6e);color:#fff;position:fixed;inset:0 auto 0 0;z-index:1030;display:flex;flex-direction:column;padding:20px 14px}.brand{padding:4px 8px 20px;border-bottom:1px solid #ffffff1c}.brand img{width:190px;background:#fff;border-radius:9px;padding:5px 9px}.brand span{display:block;font-size:11px;color:#bfcceb;margin:9px 4px 0;text-transform:uppercase;letter-spacing:.12em}.user-mini{display:flex;gap:10px;align-items:center;padding:18px 8px}.user-mini strong{display:block;font-size:13px}.user-mini small{color:#b9c7e7;font-size:11px}.avatar{width:36px;height:36px;border-radius:50%;background:#ffffff18;display:grid;place-items:center}.side-nav{flex:1;overflow:auto}.nav-caption{font-size:10px;color:#93a8d5;letter-spacing:.14em;margin:20px 12px 7px}.nav-item{display:flex;align-items:center;gap:12px;color:#dce5fb;text-decoration:none;padding:11px 13px;border-radius:10px;margin:3px 0;font-size:13px;font-weight:500}.nav-item:hover{background:#ffffff12;color:#fff}.nav-item.primary{background:var(--gp-orange);color:#fff;box-shadow:0 8px 20px #ff5a0033}.nav-item i{font-size:17px;width:20px;text-align:center}.main{margin-left:258px;width:calc(100% - 258px)}.topbar{height:72px;background:#fff;border-bottom:1px solid var(--gp-line);display:flex;align-items:center;padding:0 28px;position:sticky;top:0;z-index:100}.top-title{font-weight:700;color:var(--gp-blue);font-size:17px}.top-actions{margin-left:auto;display:flex;align-items:center;gap:7px}.status-dot{width:8px;height:8px;background:#22b573;border-radius:50%}.content{padding:28px;max-width:1500px;margin:auto}.card{border:1px solid var(--gp-line);border-radius:16px;box-shadow:0 8px 28px #11285d0a}.btn-gp{background:var(--gp-orange);border-color:var(--gp-orange);color:#fff;font-weight:600}.btn-gp:hover{background:#dc4d00;border-color:#dc4d00;color:#fff}.text-gp{color:var(--gp-blue)}.stat-card{padding:20px;background:#fff;border:1px solid var(--gp-line);border-radius:16px;position:relative;overflow:hidden}.stat-card:after{content:"";position:absolute;width:70px;height:70px;border-radius:50%;right:-20px;top:-20px;background:#ff5a0010}.stat-icon{width:42px;height:42px;border-radius:11px;background:#0926630c;color:var(--gp-blue);display:grid;place-items:center;font-size:20px}.table thead th{background:#092663;color:#fff;border:0;font-size:12px;text-transform:uppercase;letter-spacing:.03em}.table td{vertical-align:middle;font-size:13px}.form-control,.form-select{border-color:#dce2ec;border-radius:9px;padding:.62rem .75rem}.form-control:focus,.form-select:focus{border-color:#7d9bd4;box-shadow:0 0 0 .2rem #09266312}.search-wrap{position:relative}.search-wrap i{position:absolute;left:12px;top:11px;color:#8b95a9}.search-wrap input{padding-left:35px}.sticky-summary{position:sticky;top:92px}.quote-print{max-width:1100px;margin:auto;background:#fff;box-shadow:0 12px 40px #09266314}.quote-header{height:170px;background:linear-gradient(145deg,#fff 0 43%,#071e58 43%);border-bottom:6px solid var(--gp-orange);position:relative;overflow:hidden}.quote-header:after{content:"";position:absolute;right:-120px;bottom:-80px;width:580px;height:180px;border-top:8px solid var(--gp-orange);border-radius:50%}.quote-logo{width:350px;margin:20px}.quote-contact{position:absolute;right:30px;top:25px;color:#fff;text-align:left;line-height:1.7}.quote-title{color:var(--gp-blue);font-size:42px;font-weight:800;line-height:1}.quote-table{border:1px solid #ccd3df;border-radius:12px;overflow:hidden}.quote-table th{background:var(--gp-blue);color:#fff}.section-label{color:var(--gp-blue);font-weight:800;border-bottom:2px solid var(--gp-orange);display:inline-block;padding-bottom:5px}.quote-footer{background:var(--gp-blue);color:#fff;padding:17px}.status-badge{font-size:11px;padding:6px 10px}.empty{padding:45px;text-align:center;color:#8a94a8}.quick-product{cursor:pointer}.quick-product:hover{background:#f4f7fc}.client-response{border-left:4px solid var(--gp-orange);background:#fff8f3;padding:14px;border-radius:8px}.public-shell{background:#f4f6fa;min-height:100vh;padding:25px}.public-brand{max-width:1100px;margin:0 auto 15px}.public-brand img{width:220px;background:#fff;border-radius:8px;padding:4px}.alert{border-radius:12px}@media(max-width:991px){.sidebar{transform:translateX(-100%);transition:.2s}.sidebar.show{transform:none}.main{margin-left:0;width:100%}.content{padding:18px}.topbar{padding:0 16px}.quote-header{height:145px}.quote-logo{width:270px}.quote-contact{font-size:11px;right:15px}.quote-title{font-size:32px}}@media print{body{background:#fff}.no-print,.topbar,.sidebar{display:none!important}.main{margin:0;width:100%}.content{padding:0}.quote-print{box-shadow:none}.quote-header{print-color-adjust:exact;-webkit-print-color-adjust:exact}.quote-footer{print-color-adjust:exact;-webkit-print-color-adjust:exact}}


/* Portal de pedidos: lista acumulada arriba y buscador debajo */
.gp-cart-card .card, .gp-cart-card.card {border:1px solid #dce5ef;border-radius:18px;box-shadow:0 8px 24px rgba(25,55,90,.07);margin-bottom:1.25rem}
.gp-search-card,.gp-results-card {border:1px solid #dce5ef;border-radius:18px;box-shadow:0 6px 20px rgba(25,55,90,.055)}
.gp-search-card .form-control,.gp-search-card .form-select {border-radius:12px;border-color:#cbd5e1}
.gp-search-card .form-control:focus,.gp-search-card .form-select:focus {border-color:#2674c8;box-shadow:0 0 0 .2rem rgba(38,116,200,.13)}
.gp-search-card #btnBuscar {border-radius:12px;font-weight:600}
.gp-results-card .list-group-item {border:1px solid #e7edf4;border-radius:12px;margin-bottom:8px}
.gp-results-card .list-group-item:last-child {margin-bottom:0}
.gp-results-card [data-add] {border-radius:10px;font-weight:600;white-space:nowrap}
.gp-cart-card .table {margin-bottom:.5rem}
.gp-cart-card .table thead th {font-size:.82rem;text-transform:uppercase;letter-spacing:.035em;color:#64748b;border-bottom-color:#dce5ef}
#cartCount,#resultBadge {border-radius:999px;padding:.5rem .8rem}
#catalogTabs .nav-link {border-radius:999px;padding:.6rem 1rem;font-weight:600}
#catalogTabs .nav-link:not(.active) {background:#f1f5f9;color:#475569}
#modalCantidad .modal-content {border:0;border-radius:18px;box-shadow:0 20px 60px rgba(15,23,42,.2)}
#modalCantidad .form-control {border-radius:12px}
@media(max-width:767.98px){
 .gp-search-card .btn-lg {font-size:1rem}
 .gp-cart-card .table {min-width:560px}
 #catalogTabs {flex-wrap:wrap}
}
