/* TREXPOR shelf builder: isolated styles; existing site header and themes stay shared. */
body.shelf-page {background:#080c10}
.light body.shelf-page{background:#f3f5f6}
.shelf-page #main-content{--sh-bg:#10161b;--sh-card:#171e24;--sh-line:#35414a;--sh-ink:#f1f3f5;--sh-muted:#aebbc5;--sh-field:#0d1216;--sh-metal:linear-gradient(178deg,#88959e 0,#44515a 14%,#202c34 50%,#111a21 83%,#65717a 100%);color:var(--sh-ink);background:radial-gradient(ellipse at 75% 15%,#36414b38,transparent 53%);padding:46px 28px 84px;min-height:80vh}
.light .shelf-page #main-content{--sh-bg:#fff;--sh-card:#f5f7f8;--sh-line:#ccd3d8;--sh-ink:#132332;--sh-muted:#52616c;--sh-field:#fff;--sh-metal:linear-gradient(178deg,#fff 0,#c6d0d6 16%,#edf1f3 51%,#a7b3bb 86%,#fff 100%);background:radial-gradient(ellipse at 75% 15%,#c9d6df70,transparent 53%)}
.sh-container{max-width:1450px;margin:auto;font-family:Manrope,Arial,sans-serif}
.sh-hero{text-align:center;max-width:780px;margin:0 auto 34px}
.sh-eyebrow{color:var(--sh-muted);font-size:10px;font-weight:800;letter-spacing:.3em;margin:0 0 12px}
.sh-hero h1{font-family:Sora,Manrope,sans-serif;font-size:clamp(30px,3.4vw,48px);letter-spacing:-.05em;line-height:1.18;font-weight:600;margin:0 0 13px;color:var(--sh-ink)}
.sh-hero p:last-child{font-size:15px;line-height:1.8;color:var(--sh-muted);margin:0}
.sh-layout{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.12fr);gap:24px;align-items:start}
.sh-library,.sh-selection{min-width:0}
.sh-toolbar{display:grid;gap:12px;padding:20px;background:var(--sh-bg);border:1px solid var(--sh-line);border-radius:18px 18px 0 0}
.sh-heading{display:flex;align-items:center;justify-content:space-between;gap:12px}
.sh-heading h2{font-size:18px;font-weight:800;letter-spacing:-.035em;margin:0;color:var(--sh-ink)}
.sh-step{color:var(--sh-muted);font-size:10px;font-weight:800;letter-spacing:.2em}
.sh-tabs{display:flex;padding:4px;gap:4px;border:1px solid var(--sh-line);border-radius:11px;background:var(--sh-field)}
.sh-tabs button{border:0;color:var(--sh-muted);background:none;font:700 12px Manrope,sans-serif;padding:11px 7px;border-radius:7px;flex:1;cursor:pointer;min-width:0;overflow-wrap:anywhere}
.sh-tabs button[aria-pressed="true"]{color:#fff;background:linear-gradient(120deg,#aa1127,#e52238);box-shadow:0 3px 16px #bb132426}
.sh-filters{display:grid;grid-template-columns:minmax(0,1.2fr) minmax(0,1fr);gap:8px}
#main-content .sh-input,#main-content .sh-select{appearance:auto;color:var(--sh-ink);background:var(--sh-field);border:1px solid var(--sh-line);border-radius:9px;padding:11px 12px;font:500 12px Manrope,Arial,sans-serif;min-width:0;width:100%;height:43px;box-shadow:none}
#main-content .sh-input::placeholder{color:var(--sh-muted);opacity:1}
#main-content .sh-input:focus,#main-content .sh-select:focus{outline:2px solid #cd394b;outline-offset:2px}
.sh-results{background:var(--sh-bg);border:1px solid var(--sh-line);border-top:0;border-radius:0 0 18px 18px;padding:0 16px 18px}
.sh-results-bar{display:flex;align-items:center;justify-content:space-between;padding:13px 4px;font-size:11px;color:var(--sh-muted)}
.sh-products{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:10px}
.sh-product{position:relative;display:flex;flex-direction:column;min-width:0;border:1px solid var(--sh-line);background:var(--sh-card);border-radius:12px;padding:8px;transition:border-color .18s}
.sh-product[data-selected="true"]{border-color:#cd394b}
.sh-product-photo{height:130px;background:radial-gradient(ellipse at center,#fff,#e9edef);border-radius:7px;display:flex;align-items:center;justify-content:center;overflow:hidden}
.sh-product-photo img{display:block;width:100%;height:100%;object-fit:contain;padding:9px;filter:drop-shadow(0 5px 4px #00000018)}
.sh-product-photo svg{display:block;box-sizing:content-box;width:calc(100% - 28px);height:calc(100% - 24px);padding:12px 14px;filter:drop-shadow(0 5px 4px #00000018)}
.sh-product h3{font-size:11px;font-weight:700;line-height:1.55;margin:10px 2px 4px;min-height:34px;overflow-wrap:anywhere;color:var(--sh-ink)}
.sh-product small{font-size:10px;line-height:1.5;color:var(--sh-muted);margin:0 2px 8px;overflow-wrap:anywhere}
.sh-add{display:flex;align-items:center;justify-content:center;gap:7px;margin-top:auto;border:1px solid var(--sh-line);border-radius:7px;background:var(--sh-field);padding:9px 3px;min-height:35px;color:var(--sh-ink);font:700 10px Manrope,sans-serif;cursor:pointer}
.sh-add:disabled{color:#cbd5dc;background:#27332e;border-color:#446050;cursor:default}
.light .sh-add:disabled{color:#28583c;background:#e7f2e9;border-color:#b5d0bc}
.sh-add:not(:disabled):hover{border-color:#df485a;background:#c9192e;color:#fff}
.sh-more{display:block;width:100%;margin-top:14px;padding:12px;border:1px solid var(--sh-line);border-radius:9px;background:none;color:var(--sh-ink);font:700 12px Manrope,sans-serif;cursor:pointer}
.sh-message{color:var(--sh-muted);padding:35px 12px;text-align:center;font-size:13px;line-height:1.6}
.sh-console{border:1px solid var(--sh-line);border-radius:18px;padding:22px 24px 27px;background:linear-gradient(140deg,#5f6b7433,transparent 40%),var(--sh-bg);box-shadow:inset 0 1px 0 #dfe8ef33,0 16px 40px #00000015;position:relative;overflow:hidden}
.sh-console:before{content:"";position:absolute;top:0;left:12%;right:12%;height:1px;background:linear-gradient(90deg,transparent,#dce8ed,transparent)}
.sh-count{border:1px solid var(--sh-line);border-radius:20px;padding:5px 10px;font-size:10px;color:var(--sh-muted);white-space:nowrap}
.sh-shelves{display:grid;gap:19px;margin-top:24px}
.sh-shelf-row{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:13px;position:relative;padding:0 2px 20px;align-items:end}
.sh-shelf-row:after{content:"";position:absolute;bottom:0;left:0;right:0;height:14px;border-radius:3px;background:var(--sh-metal);border:1px solid #87959f66;box-shadow:0 7px 15px #00000038,inset 0 1px 0 #e0f0ff80}
.sh-shelf-item{min-width:0;position:relative;text-align:center}
.sh-shelf-photo{height:138px;display:flex;align-items:end;justify-content:center;border-radius:9px;background:radial-gradient(ellipse at 50% 95%,#879fb11a,transparent 70%);overflow:hidden;margin-bottom:8px}
.sh-shelf-photo img{width:100%;height:100%;object-fit:contain;padding:10px;filter:drop-shadow(0 4px 4px #0002)}
.sh-shelf-photo svg{width:calc(100% - 18px);height:calc(100% - 20px);padding:10px 9px;box-sizing:content-box;filter:drop-shadow(0 4px 4px #0002)}
.sh-shelf-item h3{font-size:10px;line-height:1.5;font-weight:700;color:var(--sh-ink);margin:0 0 8px;overflow-wrap:anywhere;min-height:30px}
.sh-remove{position:absolute;right:-5px;top:-6px;background:#18232c;color:#fff;border:1px solid #647480;width:26px;height:26px;border-radius:50%;font-size:18px;line-height:1;cursor:pointer;z-index:1;display:grid;place-items:center;padding:0}
.sh-qty-label{display:block;color:var(--sh-muted);font-size:9px;font-weight:600;text-align:start;margin-bottom:5px}
.sh-qty-row{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:4px}
#main-content .sh-qty-row input,#main-content .sh-qty-row select{padding:7px 5px;font-size:11px;height:34px;border-radius:6px}
.sh-empty-slot{height:146px;display:flex;align-items:center;justify-content:center;border:1px dashed var(--sh-line);border-radius:10px;background:linear-gradient(0deg,#96aab608,transparent)}
.sh-empty-slot span{font-size:26px;font-weight:400;color:var(--sh-muted);opacity:.6}
.sh-empty-copy{font-size:13px;line-height:1.7;text-align:center;color:var(--sh-muted);max-width:300px;margin:25px auto 0}
.sh-contact{padding:23px 0 0}
.sh-contact-fields{display:grid;grid-template-columns:1fr 1fr;gap:12px}
.sh-contact label{display:block;font-size:11px;color:var(--sh-muted);font-weight:600}
.sh-contact label input{margin-top:7px}
.sh-contact button[type=submit]{display:flex;justify-content:center;align-items:center;gap:12px;width:100%;margin:17px 0 0;border:1px solid #f24a5b;border-radius:11px;background:linear-gradient(120deg,#aa0e23,#e42237 65%,#bd1129);box-shadow:0 7px 25px #b311202b,inset 0 1px 0 #ffb2ba40;color:#fff;padding:17px;font:800 13px Manrope,sans-serif;cursor:pointer}
.sh-contact button:disabled{opacity:.55;cursor:default}
.sh-status{font-size:13px;line-height:1.7;margin:13px 0 0;color:var(--sh-muted);overflow-wrap:anywhere}
.sh-status[data-kind=error]{color:#ff9ba8}
.light .sh-status[data-kind=error]{color:#a71129}
.sh-status[data-kind=success]{color:#88d7ab}
.light .sh-status[data-kind=success]{color:#246c46}
.sh-form{border:0;padding:0;margin:0;min-width:0}
.sh-bot{position:absolute!important;left:-10000px!important;width:1px;height:1px;overflow:hidden}
.sh-mobile-link{display:none}
.sh-page-note{margin:24px 0 0;color:var(--sh-muted);font-size:10px;text-align:center;letter-spacing:.15em}
.sh-vh{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}
.shelf-page #main-content [hidden]{display:none!important}
.sh-selection{scroll-margin-top:100px}
.shelf-page #main-content{padding-top:112px}
.shelf-page button:focus-visible,.shelf-page a:focus-visible{outline:2px solid #e14659;outline-offset:3px}
@media(min-width:1100px){.sh-selection{position:sticky;top:95px}.sh-products{max-height:730px;overflow:auto;scrollbar-width:thin;scrollbar-color:#64747e transparent;padding:2px 5px 2px 2px;overscroll-behavior:contain}}
@media(max-width:1100px){.sh-layout{grid-template-columns:1fr 1fr;gap:16px}.sh-console{padding:20px 16px}.sh-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-shelf-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-empty-slot:last-child{display:none}.sh-filters{grid-template-columns:1fr}}
@media(max-width:760px){.shelf-page #main-content{padding:28px 16px 85px}.sh-hero{margin-bottom:24px}.sh-hero p:last-child{font-size:13px;line-height:1.7}.sh-eyebrow{font-size:9px}.sh-layout{grid-template-columns:1fr;gap:24px}.sh-toolbar{padding:17px}.sh-products{grid-template-columns:repeat(3,minmax(0,1fr))}.sh-product-photo{height:115px}.sh-heading h2{font-size:17px}.sh-filters{grid-template-columns:1.2fr 1fr}.sh-console{padding:22px 18px}.sh-shelf-row{grid-template-columns:repeat(3,minmax(0,1fr))}.sh-mobile-link[data-active=true]{position:fixed;display:flex;align-items:center;justify-content:space-between;gap:16px;bottom:16px;left:50%;transform:translateX(-50%);max-width:330px;width:calc(100% - 50px);border:1px solid #748692;border-radius:13px;padding:14px 18px;color:#fff;background:linear-gradient(120deg,#202e38,#101920);font-size:13px;font-weight:800;z-index:90;box-shadow:0 10px 35px #0006}.shelf-page .btt,.shelf-page #supportWidget{z-index:80}}
@media(max-width:460px){.sh-products{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-product-photo{height:145px}.sh-filters{grid-template-columns:1fr}.sh-product h3{font-size:12px}.sh-add{font-size:11px;min-height:40px}.sh-shelf-row{grid-template-columns:repeat(2,minmax(0,1fr))}.sh-shelf-photo{height:135px}.sh-contact-fields{grid-template-columns:1fr}.sh-shelf-item h3{font-size:11px}.sh-qty-label{font-size:10px}#main-content .sh-input,#main-content .sh-select{font-size:16px}#main-content .sh-qty-row input,#main-content .sh-qty-row select{font-size:16px;height:41px}.sh-qty-row{grid-template-columns:.85fr 1.15fr}.sh-empty-slot:last-child{display:none}}
@media(max-width:760px){.shelf-page #main-content{padding-top:105px}}
@media(prefers-reduced-motion:reduce){.sh-product{transition:none}}
