
:root{font-family:Inter,-apple-system,BlinkMacSystemFont,"Segoe UI",sans-serif;color:#1a2335;background:#f5f6f8;font-synthesis:none;--blue:#345fe5;--border:#e4e7ee}*{box-sizing:border-box}[hidden]{display:none!important}body{margin:0}button,input,select,textarea{font:inherit}button,a,input,select,textarea{-webkit-tap-highlight-color:transparent}button{border:0;border-radius:11px;min-height:44px;padding:11px 17px;background:var(--blue);color:white;font-weight:600;cursor:pointer;transition:background .15s,box-shadow .15s,transform .15s}button:hover{background:#244dcd}button:active{transform:translateY(1px)}button:focus-visible,a:focus-visible,input:focus-visible,select:focus-visible,textarea:focus-visible{outline:3px solid #93aeff;outline-offset:3px}button:disabled{opacity:.35;cursor:default;transform:none}button.secondary{background:#edf0f6;color:#34445f}button.secondary:hover{background:#e0e6f1}button.danger{background:#fff0f0;color:#b73142}button.danger:hover{background:#ffdddd}input,select,textarea{border:1px solid #dce1ea;border-radius:11px;background:white;padding:12px 14px;max-width:100%;color:#23314a;min-height:44px}header{background:#151d30;color:white;border-bottom:1px solid #263046}.header-inner{max-width:1320px;margin:auto;min-height:118px;padding:24px 30px;display:flex;justify-content:space-between;align-items:center;gap:24px}.brand{color:inherit;text-decoration:none;display:flex;align-items:center;gap:15px}.brand-mark{display:grid;place-items:center;width:49px;height:49px;background:#466be7;border-radius:15px;font-size:26px;font-weight:800}.eyebrow{font-size:11px;text-transform:uppercase;letter-spacing:.14em;font-weight:600;color:#9faec8}h1{font-size:28px;letter-spacing:-.9px;margin:4px 0 0;font-weight:750}h1 span{font-weight:400;color:#a7b9f9}header nav{display:flex;gap:6px;flex-wrap:wrap}header nav button{background:transparent;color:#bec8dd;font-size:14px}header nav button:hover{background:#26334d;color:white}header nav button.active{color:white;background:#30456c}main{max-width:1320px;margin:auto;padding:32px 30px 60px;min-height:65vh}h2{font-size:23px;letter-spacing:-.5px}h3{letter-spacing:-.2px}.hero{display:flex;justify-content:space-between;align-items:center;gap:24px;padding:14px 0 35px}.hero h2{font-size:clamp(26px,3.2vw,41px);line-height:1.2;margin:12px 0 14px;letter-spacing:-1.5px;max-width:670px}.hero p{font-size:14px;line-height:1.7;color:#6c7688;margin:0}.hero .eyebrow{color:#687eae}.hero-stat{flex-shrink:0;border-left:1px solid #dce1eb;padding:16px 0 16px 35px;display:flex;flex-direction:column;gap:9px}.hero-stat strong{font-size:27px;letter-spacing:-1px}.hero-stat span{font-size:14px;color:#738098}.section-head,.results-head{display:flex;justify-content:space-between;gap:16px;align-items:center}.section-head h2{margin:0;font-size:18px}.category-panel{padding:24px;background:white;border:1px solid var(--border);border-radius:20px;margin-bottom:22px}.text-button{background:transparent;color:var(--blue);font-size:13px;padding:8px 0}.text-button:hover{background:transparent;color:#183cae}.root-categories{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:10px;margin-top:17px}.root-category{background:#f4f6fa;color:#293750;text-align:left;min-height:96px;padding:16px;border:1px solid transparent;display:flex;flex-direction:column;justify-content:space-between;gap:9px}.root-category:hover{background:#eaf0ff;border-color:#c9d6ff}.root-category.selected{background:#edf2ff;border-color:#8faafa;color:#274aba}.root-title{font-size:13px;font-weight:800;letter-spacing:.035em;line-height:1.5}.root-count{font-size:11px;font-weight:400;color:#7b879a}.subcategories{display:flex;flex-wrap:wrap;gap:8px;border-top:1px solid var(--border);padding-top:18px;margin-top:20px}.category-chip{border:1px solid #e3e8f2;background:white;color:#4c5e7c;min-height:36px;font-size:12px;font-weight:500;padding:8px 12px}.category-chip:hover{background:#edf2ff;color:#3154b6}.breadcrumbs{display:flex;align-items:center;flex-wrap:wrap;gap:5px;margin:0 0 18px}.crumb{font-size:12px;background:transparent;color:#6d7d98;min-height:28px;padding:3px 5px;font-weight:500}.crumb:hover{color:#315fe5;background:#edf1fc}.crumb:last-child{color:#203654;font-weight:600}.crumb-separator{font-size:12px;color:#b2bbc9}.filters,.actions{display:flex;flex-wrap:wrap;gap:10px}.filters{margin-bottom:20px}.filters input{flex:1;min-width:170px}.filters select{min-width:200px;max-width:420px;font-size:13px}.results-head{margin:22px 0 18px}.results-head h2{font-size:19px;margin:0}.muted{font-size:12px;line-height:1.6;color:#7c8799}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:15px}.card{position:relative;background:white;border:1px solid var(--border);border-radius:16px;padding:23px 18px 18px;display:flex;flex-direction:column;gap:18px;min-height:228px;transition:border-color .15s,box-shadow .15s}.card:hover{border-color:#c4d0eb;box-shadow:0 7px 20px #213c6510}.card h3{font-size:15px;line-height:1.65;margin:0;padding-right:24px;font-weight:600;overflow-wrap:anywhere}.favorite-button{position:absolute;right:11px;top:12px;background:transparent;color:#a4afc0;border-radius:50%;padding:0;width:38px;min-height:38px;font-size:24px;font-weight:400}.favorite-button:hover{background:#fff0f4;color:#d74b76}.favorite-button.selected{color:#d74b76;background:#fff1f5}.price{margin-top:auto;font-size:15px}.price strong{font-weight:750}.price span{font-size:11px;color:#8994a7}.buy-button{width:100%;font-size:13px}.buy-button.added{background:#edf2ff;color:#3357be}.buy-button.added:hover{background:#dde7ff}.pages{display:flex;justify-content:center;align-items:center;gap:20px;margin:30px 0;font-size:13px}.pages button{background:white;color:#556782;border:1px solid var(--border)}.empty{grid-column:1/-1;padding:55px 20px;text-align:center;border:1px dashed #ccd6e6;border-radius:18px;color:#7b879a}.empty h3{color:#263a5c}.empty p{font-size:13px}.panel{background:white;border:1px solid var(--border);border-radius:18px;padding:25px;max-width:900px}.line{border-bottom:1px solid var(--border);padding:18px 0}.line .actions{margin-top:10px}.line input[type=number]{width:105px}.line p{font-size:13px;color:#6c7c94}label{display:block;margin:15px 0;font-size:13px;color:#4e5c73}label>input:not([type=checkbox]),label>select,label>textarea{display:block;width:100%;margin-top:7px}input[type=checkbox]{accent-color:var(--blue);width:18px;height:18px;min-height:0;vertical-align:middle;margin-right:8px}textarea{min-height:100px}.total{font-size:25px;font-weight:750;margin:23px 0}.tabs{margin:20px 0}.scroll{overflow-x:auto;background:white;border:1px solid var(--border);border-radius:13px;margin:20px 0}table{border-collapse:collapse;width:100%;font-size:13px}th,td{text-align:left;padding:14px;border-bottom:1px solid #edf0f5}th{background:#eef2f8;color:#63758c;font-size:11px;text-transform:uppercase;letter-spacing:.06em}td button{font-size:11px;min-height:34px;padding:7px 11px}td .actions{gap:6px}.tag{display:inline-block;background:#fff3d9;color:#906f20;padding:5px;border-radius:5px;font-size:11px}.order{margin:15px 0}.note{white-space:pre-wrap}#notice{position:fixed;bottom:26px;left:50%;transform:translateX(-50%);z-index:100;background:#1b2942;color:white;border-radius:12px;font-size:13px;box-shadow:0 10px 30px #15254022;max-width:90vw}#notice:not(:empty){padding:14px 22px}dialog{border:1px solid var(--border);border-radius:20px;padding:28px;width:min(640px,95vw);max-height:90vh;overflow:auto}dialog::backdrop{background:#111e3677;backdrop-filter:blur(3px)}footer{max-width:1320px;margin:auto;border-top:1px solid var(--border);padding:25px 30px;display:flex;justify-content:space-between;gap:20px;font-size:12px;color:#7f8da1}footer strong{color:#536681}.demo-warning{background:#fff4d8;color:#8a6b27;padding:9px 16px;font-size:11px;text-align:center}@media(min-width:1600px){.grid{grid-template-columns:repeat(5,minmax(0,1fr))}}@media(max-width:1000px){.header-inner{align-items:flex-start;flex-direction:column;gap:18px}.grid{grid-template-columns:repeat(3,minmax(0,1fr))}.root-categories{grid-template-columns:repeat(3,minmax(0,1fr))}.hero-stat{padding-left:20px}.hero h2{font-size:32px}}@media(max-width:640px){main{padding:23px 15px 40px}.header-inner{padding:20px 15px;gap:17px}h1{font-size:24px}.brand-mark{width:43px;height:43px;font-size:23px}header nav{width:100%;gap:4px}header nav button{flex:1;font-size:12px;padding:9px 8px;white-space:nowrap}.hero{align-items:flex-start;flex-direction:column;gap:20px;padding-bottom:25px}.hero h2{font-size:30px}.hero-stat{border:0;flex-direction:row;align-items:center;gap:15px;padding:0}.hero-stat strong{font-size:20px}.hero-stat span{font-size:12px}.category-panel{padding:16px;border-radius:16px}.root-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:8px}.root-title{font-size:11px;letter-spacing:.01em}.root-category{padding:13px;min-height:96px}.root-count{font-size:10px}.section-head h2{font-size:16px}.text-button{font-size:11px}.grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.card{padding:19px 13px 13px;min-height:220px;gap:14px}.card h3{font-size:12px;padding-right:16px;line-height:1.6}.favorite-button{right:5px;top:7px;font-size:21px;width:32px;min-height:32px}.price strong{font-size:13px}.price span{display:block;font-size:10px;margin-top:4px}.buy-button{font-size:11px;padding:11px 7px}.filters input{width:100%;flex:auto}.filters select{flex:1;min-width:0}.results-head h2{font-size:16px;max-width:72%}.panel{padding:18px}.section-head{flex-wrap:wrap}.breadcrumbs{gap:1px}.crumb{font-size:10px}.results-head .muted{font-size:10px}footer{padding:22px 15px;flex-direction:column;gap:8px}}@media(prefers-reduced-motion:reduce){*{transition:none!important;scroll-behavior:auto!important}}

/* Phone-first Telegram layout: compact visuals, readable type and safe insets. */
body{padding-top:max(env(safe-area-inset-top,0px),var(--mini-top,0px));padding-bottom:max(env(safe-area-inset-bottom,0px),var(--mini-bottom,0px))}.header-inner{max-width:760px;flex-wrap:wrap;padding:18px 16px;gap:15px}.brand{flex:1}.header-contact{display:flex;flex-direction:column;gap:5px;align-items:flex-end}.phone-link{font-size:15px;line-height:1.6;font-weight:750;color:#fff;text-decoration:none}.header-contact span{font-size:10px;color:#adbdd7;letter-spacing:.02em}header nav{width:100%;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:3px}header nav:has(#crmNav:not([hidden])){grid-template-columns:repeat(5,minmax(0,1fr))}header nav button{font-size:12px;padding:9px 3px;min-height:42px}main,footer{max-width:760px}.hero{padding:0 0 24px;flex-direction:column;align-items:flex-start;gap:15px}.hero h2{font-size:28px}.hero p{font-size:13px}.hero-stat{border:0;padding:0;flex-direction:row;align-items:center;gap:14px}.hero-stat strong{font-size:20px}.hero-stat span{font-size:12px}.category-panel{padding:16px}.category-panel .section-head h2{font-size:25px;line-height:1.25;letter-spacing:-.7px}.section-head{align-items:center}.root-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}.root-category{min-height:68px;padding:10px 8px;gap:5px;border-radius:10px}.root-title{font-size:11px;line-height:1.25;letter-spacing:0;font-weight:800;overflow-wrap:anywhere}.root-count{font-size:10px}.subcategories{gap:6px;padding-top:12px;margin-top:12px}.category-chip{font-size:11px;padding:7px 9px;min-height:35px}.grid{grid-template-columns:repeat(2,minmax(0,1fr))}.filters input,.filters select{font-size:16px}.contacts-panel{margin-top:8px}.contact-address{font-size:18px;line-height:1.7;font-weight:600}.contacts-panel>.contact-action{font-size:23px;background:none;color:var(--blue);padding:0}.contact-actions{display:flex;flex-wrap:wrap;gap:9px;margin:22px 0}.contact-action{display:inline-flex;align-items:center;justify-content:center;border-radius:11px;min-height:44px;padding:11px 15px;background:#edf2ff;color:#3155bb;text-decoration:none;font-size:13px;font-weight:600}.root-category:disabled,.category-chip:disabled{opacity:.35;cursor:default}.results-head h2{font-size:20px}#notice{bottom:calc(20px + max(env(safe-area-inset-bottom,0px),var(--mini-bottom,0px)))}@media(max-width:420px){.header-inner{padding:16px 12px;gap:13px}.brand{gap:9px}.brand-mark{width:35px;height:35px;font-size:20px;border-radius:10px}h1{font-size:21px}.brand .eyebrow{font-size:9px;letter-spacing:.06em}.phone-link{font-size:13px}.header-contact span{font-size:9px}main{padding:22px 12px 35px}.hero h2{font-size:26px}.category-panel{padding:13px}.category-panel .section-head h2{font-size:23px;max-width:73%}.text-button{font-size:10px}.root-title{font-size:10px}.root-category{padding:9px 7px;min-height:65px}.root-count{font-size:9px}.root-categories{gap:6px}.subcategories .category-chip{font-size:11px}.grid{gap:9px}.card{min-height:205px}.card h3{font-size:13px}.header-inner nav button{font-size:11px}.hero-stat{flex-wrap:wrap;gap:6px 12px}}@media(max-width:340px){.header-contact{width:100%;align-items:flex-start}.root-categories{grid-template-columns:repeat(2,minmax(0,1fr))}.root-title{font-size:11px}.category-panel .section-head h2{font-size:21px}.brand{min-width:160px}} 

/* Compact square catalog and product tiles, phone-first. */
.root-categories{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
.root-categories .root-category{aspect-ratio:1/1;min-height:0;height:auto;border-radius:0;justify-content:center;align-items:center;text-align:center;padding:9px;gap:8px}
.root-category .root-title{font-size:12px;line-height:1.35;letter-spacing:0}
.root-category .root-count{font-size:10px}
#app .grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:7px}
#app .grid .card{aspect-ratio:1/1;min-height:0;height:auto;border-radius:0;padding:7px;gap:3px;min-width:0;overflow:hidden}
#app .grid .card h3{font-size:11px;line-height:1.25;letter-spacing:0;padding:0 20px 0 0;min-height:27.5px;margin:0;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;overflow-wrap:anywhere}
#app .grid .card .card-sku{display:none}
#app .grid .card .favorite-button{top:1px;right:1px;width:26px;min-height:26px;height:26px;font-size:20px}
#app .grid .card .price{margin-top:auto;line-height:1.1;display:flex;flex-wrap:wrap;align-items:baseline;gap:2px}
#app .grid .card .price strong{font-size:11px}
#app .grid .card .price span{font-size:8px;margin:0;display:inline}
#app .grid .card .buy-button{min-height:26px;padding:5px 2px;font-size:10px;border-radius:0;line-height:1.15}
.category-panel .section-head h2{max-width:100%;font-size:25px}
.brand{min-width:0}
@media(min-width:560px){.root-categories,#app .grid{grid-template-columns:repeat(4,minmax(0,1fr))}#app .grid .card{padding:10px;gap:6px}#app .grid .card h3{font-size:13px;line-height:1.35;min-height:35px;-webkit-line-clamp:2}#app .grid .card .price strong{font-size:14px}#app .grid .card .price span{font-size:10px}#app .grid .card .buy-button{font-size:12px;min-height:32px}.root-category .root-title{font-size:14px}}
@media(max-width:350px){#app .grid .card{padding:5px;gap:2px}#app .grid .card h3{font-size:10px;min-height:25px;padding-right:16px}#app .grid .card .price strong{font-size:10px}#app .grid .card .price span{font-size:7px}#app .grid .card .buy-button{font-size:9px;min-height:23px;padding:4px 1px}.root-category .root-title{font-size:10px}.root-category .root-count{font-size:9px}}

/* v3: compact header and readable two-column catalog */
.header-inner{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:center;min-height:0;padding:10px 14px 7px;gap:6px 12px;flex-direction:row}
.header-inner .brand{min-width:0;align-self:center;gap:0}
.header-inner .brand .eyebrow{font-size:9px;letter-spacing:.025em}
.header-inner h1{font-size:23px;line-height:1.15;margin:2px 0 0;white-space:nowrap;letter-spacing:-.7px}
.header-inner .header-contact{width:auto;align-items:flex-end;gap:2px;align-self:center}
.header-inner .phone-link{font-size:15px;line-height:1.3;white-space:nowrap}
.header-inner .header-contact span{font-size:9px;white-space:nowrap}
.header-inner nav{grid-column:1/-1;width:100%;gap:3px}
.header-inner nav button{min-height:38px;padding:7px 2px;font-size:12px}
main{padding-top:14px}
.root-categories{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}
.root-categories .root-category{aspect-ratio:auto;min-height:94px;padding:14px 10px;gap:8px;border-radius:12px}
.root-category .root-title{font-size:15px;line-height:1.4;overflow-wrap:normal;word-break:normal;hyphens:none;max-width:100%;overflow-x:auto}
.root-category .root-count{font-size:12px}
#app .grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;align-items:stretch}
#app .grid .card{aspect-ratio:auto;min-height:246px;height:auto;border-radius:14px;padding:42px 14px 14px;gap:14px;overflow:visible;min-width:0}
#app .grid .card h3{font-size:17px;line-height:1.45;font-weight:650;letter-spacing:0;display:block;-webkit-line-clamp:unset;-webkit-box-orient:initial;min-height:0;max-height:none;padding:0;margin:0;white-space:normal;overflow-wrap:normal;word-break:normal;hyphens:none;overflow-x:auto}
#app .grid .card .favorite-button{top:5px;right:5px;width:36px;min-height:36px;height:36px;font-size:26px}
#app .grid .card .price{margin-top:auto;line-height:1.35;gap:4px;display:flex;flex-wrap:wrap}
#app .grid .card .price strong{font-size:19px}
#app .grid .card .price span{font-size:12px;display:inline;margin:0}
#app .grid .card .buy-button{min-height:44px;font-size:15px;line-height:1.3;padding:10px 5px;border-radius:10px;white-space:normal;word-break:normal;hyphens:none}
.order-email{margin-top:16px;padding:16px;border:1px solid var(--border);border-radius:12px;background:white}
.order-email h3{margin:0 0 8px}.order-email p{line-height:1.5}
.mail-draft{display:inline-flex;align-items:center;min-height:44px;padding:10px 14px;border-radius:10px;background:var(--blue);color:white;text-decoration:none;font-weight:600}
.mail-preview{white-space:pre-wrap;overflow-wrap:normal;word-break:normal;font:inherit;line-height:1.5;max-height:320px;overflow:auto}
@media(max-width:360px){.header-inner{padding:9px 10px 6px;gap:6px 8px}.header-inner h1{font-size:20px}.header-inner .phone-link{font-size:13px}.header-inner nav button{font-size:10px}.header-inner .brand .eyebrow{font-size:8px}.header-inner .header-contact span{font-size:8px}#app .grid{gap:8px}#app .grid .card{padding:40px 10px 12px}#app .grid .card h3{font-size:15px}#app .grid .card .price strong{font-size:17px}#app .grid .card .buy-button{font-size:13px}.root-category .root-title{font-size:14px}}


/* v4: whole words, no nested scrollbars, switchable catalog. */
.root-categories .root-category{height:auto;min-height:110px;padding:16px 8px;overflow:visible;aspect-ratio:auto}
.root-category .root-title{display:block;width:100%;max-width:100%;min-width:0;white-space:normal;word-break:normal;overflow-wrap:normal;hyphens:none;overflow:visible;text-overflow:clip;font-size:14px;line-height:1.4;text-decoration:none}
#app .grid .card{overflow:visible;height:auto;min-width:0}
#app .grid .card h3{width:100%;min-width:0;overflow:visible;overflow-x:visible;white-space:normal;text-overflow:clip;word-break:normal;overflow-wrap:normal;hyphens:none;line-height:1.45}
.results-head{display:flex;flex-wrap:wrap;gap:10px;align-items:center}
.results-head h2{flex:1;min-width:100px;max-width:none;font-size:18px;margin:0;line-height:1.35}
.results-head>.muted{margin-left:auto;font-size:11px}
.catalog-view{display:flex;gap:4px;flex-shrink:0}
.catalog-view button{padding:5px 7px;min-width:36px;min-height:38px;font-size:13px;border:1px solid #d8dfeb;color:#52627d;background:#fff;border-radius:8px;white-space:nowrap}
.catalog-view button.selected{color:#244dcd;border-color:#7d9ae8;background:#edf2ff}
#app .grid.view-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#app .grid.view-three{grid-template-columns:repeat(3,minmax(0,1fr));gap:8px}
#app .grid.view-three .card{padding:36px 8px 10px;min-height:210px;gap:10px}
#app .grid.view-three .card h3{font-size:13px}
#app .grid.view-three .card .price strong{font-size:14px}
#app .grid.view-three .card .buy-button{font-size:11px;padding:8px 2px;min-height:40px}
#app .grid.view-list{grid-template-columns:minmax(0,1fr);gap:10px}
#app .grid.view-list .card{min-height:100px;padding:16px 45px 16px 16px;display:grid;grid-template-columns:minmax(0,1fr) 110px;gap:8px 16px;align-items:center}
#app .grid.view-list .card h3{grid-column:1;grid-row:1/3;font-size:16px}
#app .grid.view-list .card .price{grid-column:2;grid-row:1;margin:0}
#app .grid.view-list .card .price strong{font-size:16px}
#app .grid.view-list .card .buy-button{grid-column:2;grid-row:2;font-size:13px}
.working-hours{font-weight:650;line-height:1.5}
.order p{line-height:1.6}
@media(max-width:360px){.root-category .root-title{font-size:12px}.catalog-view{gap:3px}.catalog-view button{padding:4px 5px;min-width:32px;font-size:12px}.results-head{gap:7px}.results-head h2{font-size:15px}.results-head>.muted{flex-basis:100%;text-align:right}#app .grid.view-three .card h3{font-size:12px}#app .grid.view-three .card .price strong{font-size:12px}#app .grid.view-list .card{grid-template-columns:minmax(0,1fr) 90px;padding-right:34px;gap:8px}#app .grid.view-list .card h3{font-size:14px}}


/* v7: heading left, two view options right. */
.results-head{display:flex;flex-wrap:nowrap;align-items:center;justify-content:space-between;gap:8px}
.results-head h2{flex:1;min-width:0;max-width:none;font-size:18px;line-height:1.35}
.results-head .catalog-view{flex:0 0 auto;margin-left:auto;gap:4px}
.catalog-view button{font-size:12px;min-width:36px;padding:7px 8px;min-height:38px}
.header-inner .brand>div{display:flex;flex-direction:column;gap:3px}
.header-inner .brand h1{order:0;margin:0}
.header-inner .brand .eyebrow{order:1;line-height:1.3;letter-spacing:.025em;font-size:9px}
@media(max-width:360px){.results-head h2{font-size:15px}.catalog-view button{font-size:11px;padding:6px;min-width:32px}.results-head{gap:6px}}

/* v8 storefront navigation, brand facets, and category photography */
body{padding-bottom:calc(70px + env(safe-area-inset-bottom,0px))}
header.masthead{min-height:clamp(120px,22vw,220px);background:#101820 none center 48%/cover no-repeat;color:#fff;position:relative;border-bottom:0}
.masthead-inner{min-height:inherit;max-width:1320px;margin:auto;padding:20px 28px;display:flex;justify-content:flex-end;align-items:flex-end;flex-direction:column;gap:5px;text-shadow:0 1px 4px #000}
.masthead .phone-link{color:#fff;font-size:20px;font-weight:750;text-decoration:none}
.masthead-social{font-size:12px;color:#f2f5fa}
header.masthead::after{content:'';position:absolute;inset:0;background:linear-gradient(90deg,transparent 50%,rgba(0,0,0,.4));pointer-events:none}
.masthead-inner{position:relative;z-index:1}
.bottom-nav{position:fixed;z-index:30;bottom:0;left:0;right:0;display:grid;grid-template-columns:repeat(5,minmax(0,1fr));padding:6px 4px calc(6px + env(safe-area-inset-bottom,0px));background:rgba(255,255,255,.97);border-top:1px solid #dfe4ec;box-shadow:0 -2px 14px rgba(18,32,60,.08)}
.bottom-nav-button{border:0;background:transparent;color:#667085;min-width:0;min-height:52px;padding:4px 2px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;font-size:10px;line-height:1.2;white-space:nowrap}
.bottom-nav-button span:first-child{font-size:22px;line-height:1.1}
.bottom-nav-button.active{color:#2850c8;font-weight:700}
.filters{display:grid;grid-template-columns:minmax(0,1fr);gap:8px}
.filter-duo{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);gap:8px;width:100%}
.filter-duo select{width:100%;min-width:0}
.root-categories{grid-template-columns:repeat(2,minmax(0,1fr))}
.root-category{position:relative;aspect-ratio:1/1;min-height:0!important;overflow:hidden!important;border-radius:22px!important;background:#e9edf3;color:white;text-align:left}
.root-category>img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover}
.root-category:has(>img)::after{content:'';position:absolute;inset:35% 0 0;background:linear-gradient(transparent,rgba(0,0,0,.78))}
.root-category .root-title,.root-category .root-count{position:relative;z-index:1;color:inherit;text-shadow:0 1px 3px #000}
.root-category .root-title{font-size:clamp(14px,3.8vw,20px);align-self:end}
#app .grid.view-two{grid-template-columns:repeat(2,minmax(0,1fr))}
#app .grid.view-two .card{min-width:0}
.product-photo{width:100%;aspect-ratio:1/1;object-fit:cover;border-radius:14px}
#app .grid.view-two .card .product-photo{grid-column:1/-1}
#app .grid.view-list .card .product-photo{width:78px;grid-column:1;grid-row:1/3}
#app .grid.view-list .card{grid-template-columns:78px minmax(0,1fr) 110px}
#app .grid.view-list .card h3{grid-column:2;grid-row:1/3}
#app .grid.view-list .card .price{grid-column:3;grid-row:1}
#app .grid.view-list .card .buy-button{grid-column:3;grid-row:2}
@media(max-width:380px){.root-category{border-radius:18px!important}.bottom-nav-button{font-size:9px}.masthead{min-height:118px!important}.masthead-inner{padding:10px 14px}.masthead .phone-link{font-size:17px}}

/* v8.2 full banner and evenly distributed navigation */
header.masthead{width:100%;max-width:1320px;margin:0 auto;min-height:0!important;height:auto!important;aspect-ratio:3168/777;background-size:100% 100%!important;background-position:center!important;overflow:hidden}
header.masthead .masthead-inner{box-sizing:border-box;position:absolute;inset:0;min-height:0!important;padding:0 3% 2%;justify-content:flex-end;gap:3px}
header.masthead .phone-link{font-size:clamp(11px,2.25vw,24px)}
header.masthead .masthead-social{font-size:clamp(8px,1.4vw,14px)}
header.masthead::after{display:none}
.bottom-nav{display:flex!important;justify-content:space-evenly;align-items:center;gap:0;padding-left:max(4px,env(safe-area-inset-left));padding-right:max(4px,env(safe-area-inset-right))}
.bottom-nav .bottom-nav-button{flex:1 1 0;display:flex;align-items:center;justify-content:center;gap:5px;border:0!important;border-radius:0!important;box-shadow:none!important;background:transparent!important;background-image:none!important;color:#666b73;min-width:0;min-height:58px;font-size:12px;font-weight:400;padding:5px 0}
.bottom-nav .bottom-nav-button[hidden]{display:none!important}
.bottom-nav .bottom-nav-button.active,.bottom-nav .bottom-nav-button:hover,.bottom-nav .bottom-nav-button:focus{background:transparent!important;box-shadow:none!important;color:#666b73}
.bottom-nav .bottom-nav-button.active svg{color:#3496c9}
.bottom-nav .bottom-nav-button svg{width:29px;height:29px;display:block;overflow:visible}
.bottom-nav .bottom-nav-button span{font-size:12px!important;line-height:1.25;white-space:nowrap}
.bottom-nav .nav-icon{position:relative}
.bottom-nav .cart-badge{position:absolute;right:-9px;top:-5px;background:#1649bd;color:white;border-radius:20px;padding:1px 4px;font-size:10px!important;min-width:14px;text-align:center}
.bottom-nav .cart-badge[hidden]{display:none}

/* Uniform square category tiles: override legacy v4 rectangle rules. */
#app .root-categories{grid-auto-rows:auto;align-items:start}
#app .root-categories > button.root-category{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 aspect-ratio:1 / 1!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:12px 8px!important;overflow:hidden!important;
 display:flex!important;flex-direction:column!important;justify-content:center!important;align-items:center!important;
 gap:8px!important;text-align:center!important;
}
#app .root-categories > .root-category .root-title{
 font-size:clamp(12px,3.4vw,20px)!important;line-height:1.3!important;
 width:100%;min-width:0;white-space:normal;overflow-wrap:normal;word-break:normal;
 align-self:center!important;flex:0 1 auto;
}
#app .root-categories > .root-category .root-count{flex:0 0 auto;align-self:center!important}

/* Square category tiles with bottom-centered captions. */
#app .root-categories{grid-auto-rows:auto;align-items:start}
#app .root-categories > button.root-category{
 box-sizing:border-box!important;width:100%!important;min-width:0!important;
 aspect-ratio:1 / 1!important;height:auto!important;min-height:0!important;max-height:none!important;
 margin:0!important;padding:14px 8px clamp(18px,5vw,28px)!important;overflow:hidden!important;
 display:grid!important;grid-template-rows:1fr auto auto!important;justify-items:center!important;align-items:end!important;
 gap:7px!important;text-align:center!important;
}
#app .root-categories > .root-category .root-title{
 width:100%;min-width:0;margin:0!important;align-self:center!important;flex:0 1 auto;
 font-size:clamp(10px,3vw,18px)!important;line-height:1.3!important;align-self:end!important;
 white-space:normal!important;word-break:normal!important;overflow-wrap:normal!important;hyphens:none!important;
 text-align:center!important;text-wrap:balance;
}
#app .root-categories > .root-category .root-count{
 flex:0 0 auto;align-self:center!important;margin:0!important;
 font-size:clamp(10px,2.6vw,13px)!important;line-height:1.25!important;align-self:end!important;
}

.subcategories,.results-head{scroll-margin-top:16px}


/* Lower category captions, keeping square tiles and navigation. */
#app .root-categories > button.root-category{padding-bottom:10px!important}

.category-tree details{border:1px solid #dce2ed;border-radius:12px;margin:8px 0;padding:10px;background:white}.category-tree .category-tree{padding-left:18px}.category-admin-row{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:10px}.category-tree summary{cursor:pointer}.category-tree summary .category-admin-row{display:inline-flex;width:95%;box-sizing:border-box}.image-info{white-space:normal}

.order-badge{display:inline-flex;align-items:center;justify-content:center;min-width:22px;height:22px;padding:0 5px;margin-left:7px;border-radius:20px;background:#dc2626;color:#fff;font-size:12px;font-weight:bold}

.archived-order > button:first-of-type{display:none}

/* CRM_SOUND_TOGGLE_V1 */
button[data-crm-sound].crm-sound-on{background:#dcfce7!important;color:#166534!important;box-shadow:inset 0 0 0 1px #86efac;}
button[data-crm-sound]:not(.crm-sound-on){background:#eef0f5!important;color:#475569!important;}

.masthead{background:#151d30!important;min-height:76px!important}.masthead-inner{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:18px}.masthead #brandHome{font-size:24px;font-weight:800;color:white;text-decoration:none}.masthead-inner span{color:#e2e8f0}.product-photo{width:100%;height:160px;object-fit:contain;background:#fff;cursor:pointer}.price small{display:block;font-size:12px;font-weight:400;line-height:1.5}.tat-product-dialog{max-width:720px;width:94vw;max-height:90vh;overflow:auto;border:0;border-radius:16px;padding:22px}.tat-product-dialog::backdrop{background:#0009}.tat-detail-photo{display:block;width:100%;max-height:380px;object-fit:contain}.tat-description{white-space:pre-wrap;overflow-wrap:anywhere;font:inherit;line-height:1.6}.tat-product-dialog h2{font-size:20px;flex:1}

/* tatprokat-csp-header-fixed */

#tp-header-v3{position:relative!important;display:block!important;width:100%!important;max-width:1320px!important;aspect-ratio:3168/777!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:#142d19!important;overflow:hidden!important}
#tp-header-v3::before,#tp-header-v3::after{display:none!important}
#tp-header-v3 #brandHome{display:block!important;position:absolute!important;inset:0!important;width:100%!important;height:100%!important;margin:0!important;padding:0!important;line-height:0!important}
#tp-header-v3 img{display:block!important;position:static!important;width:100%!important;height:100%!important;max-height:none!important;max-width:none!important;object-fit:contain!important;object-position:center!important;margin:0!important;padding:0!important;transform:none!important}
#tp-header-v3 .tp-header-contacts{position:absolute!important;inset:0!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;justify-content:flex-end!important;gap:3px!important;padding:0 3% 2%!important;pointer-events:none!important;color:#fff!important;text-shadow:0 1px 4px #000!important}
#tp-header-v3 .phone-link{pointer-events:auto!important;display:block!important;color:#fff!important;font-size:clamp(11px,2.25vw,24px)!important;font-weight:750!important;line-height:1.4!important;text-decoration:none!important;white-space:nowrap!important}
#tp-header-v3 .tp-header-contacts span{color:#f2f5fa!important;font-size:clamp(8px,1.4vw,14px)!important;line-height:1.4!important}


/* TP_WINTER_FULL_1440_302 */
#tp-winter-header{display:block!important;position:relative!important;width:100%!important;max-width:1320px!important;height:auto!important;min-height:0!important;margin:0 auto!important;padding:0!important;border:0!important;background:#182b3b!important;overflow:hidden!important;aspect-ratio:auto!important}
#tp-winter-header::before,#tp-winter-header::after{display:none!important}
#tp-winter-header #brandHome{display:block!important;position:static!important;width:100%!important;height:auto!important;margin:0!important;padding:0!important;line-height:0!important}
#tp-winter-header img{display:block!important;position:static!important;width:100%!important;height:auto!important;max-width:100%!important;max-height:none!important;min-height:0!important;margin:0!important;padding:0!important;object-fit:contain!important;transform:none!important}
#tp-winter-header .tp-winter-contacts{position:absolute!important;right:3%!important;bottom:8%!important;display:flex!important;flex-direction:column!important;align-items:flex-end!important;gap:2px!important;margin:0!important;padding:0!important;color:#fff!important;text-shadow:0 1px 3px #000,0 0 5px #000,0 0 9px #000!important}
#tp-winter-header .tp-winter-contacts a{color:#fff!important;font-size:clamp(12px,2.25vw,24px)!important;line-height:1.3!important;font-weight:750!important;text-decoration:none!important;white-space:nowrap!important}
#tp-winter-header .tp-winter-contacts span{color:#fff!important;font-size:clamp(9px,1.4vw,14px)!important;line-height:1.3!important;white-space:nowrap!important}


/* TP_CONTACTS_DESIGN_V1 */
.tp-contacts{max-width:1160px;margin:0 auto 28px;color:#223629}
.tp-contact-intro{padding:12px 0 24px}.tp-contact-eyebrow{font-size:11px;font-weight:800;letter-spacing:.16em;color:#54795c}.tp-contact-intro h2{font-size:clamp(28px,4vw,42px);letter-spacing:-1px;margin:10px 0}.tp-contact-intro p{color:#607167;line-height:1.6;margin:0}
.tp-contact-grid{display:grid;grid-template-columns:1fr 1fr;gap:20px}.tp-contact-card{background:#fff;border:1px solid #dde6df;border-radius:22px;padding:26px;box-shadow:0 8px 30px #193c2207;min-width:0}.tp-contact-card h3{margin:0 0 20px;font-size:20px}.tp-contact-card p{line-height:1.65}.tp-address-card{background:linear-gradient(145deg,#153b27,#275739);color:#fff}.tp-address-card .tp-contact-address{font-size:clamp(20px,2.5vw,28px);font-weight:750;line-height:1.4}.tp-contact-metro{color:#d9ebdf}.tp-contact-parking{margin:24px 0 0;padding:14px 16px;border:1px solid #ffffff38;border-radius:14px;background:#ffffff10;font-weight:650}
.tp-hours-service+.tp-hours-service{border-top:1px solid #e6ece7;padding-top:18px;margin-top:18px}.tp-hours-service h4{margin:0 0 12px;font-size:16px}.tp-hours-row{display:flex;align-items:baseline;justify-content:space-between;gap:12px;margin:8px 0;font-size:15px}.tp-hours-row strong{white-space:nowrap}.tp-hours-note{font-size:12px;color:#68796f;margin:10px 0 0}
.tp-contact-connect{grid-column:1/-1}.tp-contact-connect>p{color:#64746a}.tp-contact-phone{display:inline-block;font-size:clamp(24px,4.5vw,36px);font-weight:800;letter-spacing:-.7px;color:#204d31;text-decoration:none;margin:4px 0 20px;white-space:nowrap}.tp-contact-socials{display:flex;flex-wrap:wrap;gap:12px}.tp-social{display:inline-flex;align-items:center;justify-content:center;gap:10px;min-height:48px;padding:12px 22px;border-radius:14px;text-decoration:none;font-weight:700;transition:transform .15s,filter .15s}.tp-social:hover{filter:brightness(1.06);transform:translateY(-1px)}.tp-social svg{width:22px;height:22px;flex-shrink:0}.tp-social-telegram{background:#e8f4fc;color:#1178af}.tp-social-max{background:#eeeafd;color:#5942bd}
@media(max-width:680px){.tp-contact-grid{grid-template-columns:1fr;gap:14px}.tp-contact-card{padding:20px;border-radius:18px}.tp-contact-connect{grid-column:auto}.tp-contact-socials .tp-social{flex:1;padding:12px}.tp-contact-intro{padding-top:4px}.tp-hours-row{font-size:14px}}


/* PHOTOZOOM_SEARCH_STATUS_V1 */
#app .filters .pz-search-status{
 grid-column:1/-1; flex:0 0 100%; width:100%;
 min-height:44px; box-sizing:border-box;
 display:flex; align-items:center; justify-content:space-between;
 gap:8px; color:#334155; font-size:14px; font-weight:600;
}
#app .pz-search-status > span{min-width:0}
#app .pz-search-status .pz-search-show{
 width:auto; min-height:44px; margin:0; padding:8px 10px;
 flex-shrink:0; border:0; border-radius:10px;
 background:#e8eefc; color:#294b9b; font-size:14px;
 font-weight:700; cursor:pointer;
}
#app .pz-search-status .pz-search-show[hidden]{display:none!important}
#app .pz-search-status.is-busy > span::before{
 content:''; display:inline-block; width:13px; height:13px;
 margin-right:8px; vertical-align:-2px;
 border:2px solid #cbd5e1; border-top-color:#4169b1;
 border-radius:50%; animation:pz-search-spin .7s linear infinite;
}
@keyframes pz-search-spin{to{transform:rotate(360deg)}}
@media(prefers-reduced-motion:reduce){
 #app .pz-search-status.is-busy > span::before{animation:none}
}

/* CART_CONTROLS_V5 */
#app .rental-stepper{display:inline-flex;align-items:stretch;box-sizing:border-box;border:1px solid #d8dfed;border-radius:11px;overflow:hidden;background:#fff;min-height:44px;max-width:100%;vertical-align:middle;flex:0 0 auto}
#app .rental-stepper>button{appearance:none;border:0;border-radius:0;background:#f2f5fd;color:#2944a6;font:500 22px/1 system-ui;display:flex;align-items:center;justify-content:center;min-width:44px;width:44px;min-height:44px;margin:0;padding:0;box-shadow:none;cursor:pointer;flex:0 0 44px}
#app .rental-stepper>button:disabled{opacity:.4;cursor:default}
#app .rental-stepper>input{appearance:textfield;-moz-appearance:textfield;box-sizing:border-box;border:0;border-radius:0;background:#fff;color:inherit;text-align:center;margin:0;padding:8px 2px;width:76px;min-width:0;max-width:100%;flex:0 1 76px;box-shadow:none;font:inherit}
#app .rental-stepper input::-webkit-inner-spin-button,#app .rental-stepper input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}
#app .rental-trash{display:inline-flex;align-items:center;justify-content:center;width:44px;min-width:44px;height:46px;min-height:44px;padding:0;margin:0;border:1px solid #d8dfed;border-radius:11px;background:#f2f5fd;color:#2944a6;box-shadow:none}
#app .rental-stepper button:focus-visible,#app .rental-trash:focus-visible{outline:2px solid #4869d8;outline-offset:-3px}
#app input.rental-calendar{cursor:pointer;min-height:44px;color-scheme:light}
#app input.rental-calendar::-webkit-calendar-picker-indicator{cursor:pointer}

/* CART_TOAST_CLEAR_NAV_V1 */
#notice {
 bottom:var(--cart-toast-offset,calc(104px + max(env(safe-area-inset-bottom,0px),var(--mini-bottom,0px)))) !important;
 background:rgba(27,41,66,.72) !important;
 color:#fff !important;
 -webkit-backdrop-filter:blur(10px);backdrop-filter:blur(10px);
 pointer-events:none !important;
 box-shadow:0 5px 18px rgba(21,37,64,.12) !important;
 width:max-content;max-width:min(420px,calc(100vw - 32px)) !important;
 font-size:13px;line-height:1.4;
}
#notice:not(:empty){padding:11px 16px !important;}
#notice:empty{display:none !important;}

/* TP_CONTACT_MAP_V1 */
.tp-address-card .tp-contact-map{display:inline-flex;align-items:center;justify-content:center;gap:8px;min-height:44px;box-sizing:border-box;max-width:100%;margin:0 0 12px;padding:10px 14px;border:1px solid #dce2ed;border-radius:11px;background:#edf2ff;color:#3155bb;font:600 14px/1.4 system-ui,sans-serif;text-decoration:none;}
.tp-address-card .tp-contact-map svg{flex:0 0 20px;}
.tp-address-card .tp-contact-map:hover{background:#e2eaff;}
.tp-address-card .tp-contact-map:focus-visible{outline:3px solid #4869d8;outline-offset:3px;}

/* RENTAL_ACCOUNT_NOTICE_V1 */
.rental-account-notice{background:#edf2ff;border:1px solid #c8d5fa;border-radius:12px;padding:16px;margin:8px 0 18px;color:#1a2335}.rental-account-notice strong{display:block}.rental-account-notice p{margin:8px 0;line-height:1.5}


/* RENTAL_CUSTOMER_V2 — native site typography, controls and blue palette */
body.rc-modal-open{overflow:hidden}.rental-account-strip{display:none!important}
.bottom-nav #customerNav.rc-open svg{color:var(--blue)}
.rental-account-notice{display:flex;align-items:center;gap:14px;background:#f8faff;border:1px solid var(--border);border-radius:14px;padding:17px;margin:18px 0}
.rental-account-notice .rc-note-copy{flex:1;min-width:0}.rental-account-notice strong{display:block;font-size:15px}.rental-account-notice p{font-size:13px;line-height:1.5;margin:5px 0;color:#667085}.rental-account-notice small{font-size:12px;color:#667085}.rc-note-icon{display:grid;place-items:center;flex-shrink:0;width:40px;height:40px;border-radius:12px;background:#edf2ff;color:var(--blue)}.rc-note-icon svg{width:22px;height:22px}.rc-note-button{flex-shrink:0;font-size:13px}
.rental-customer-dialog{box-sizing:border-box;width:min(900px,calc(100vw - 64px));max-width:none;max-height:calc(100dvh - 80px);padding:0;margin:auto;border:1px solid var(--border);border-radius:18px;background:#fff;color:#1a2335;overflow:auto;box-shadow:0 24px 80px #15203833;font-family:inherit}
.rental-customer-dialog::backdrop{background:#151d3077;backdrop-filter:blur(3px)}
.rc-topbar{position:sticky;top:0;z-index:2;display:flex;justify-content:space-between;align-items:center;gap:16px;padding:22px 28px;border-bottom:1px solid var(--border);background:#fff}.rc-topbar small{font-size:12px;color:#667085}.rc-topbar h2{font-size:22px;margin:4px 0 0;letter-spacing:-.5px}.rc-close{display:grid;place-items:center;width:44px;height:44px;min-width:44px;padding:11px!important}.rc-close svg{width:20px;height:20px}
.rc-layout{display:grid;grid-template-columns:280px minmax(0,1fr);min-height:440px}.rc-sidebar{padding:30px 26px;background:#f8f9fc;border-right:1px solid var(--border)}.rc-brand-label{font-size:12px;font-weight:650;color:var(--blue)}.rc-sidebar h3{font-size:23px;line-height:1.25;margin:14px 0 10px;letter-spacing:-.5px}.rc-muted{font-size:14px;color:#667085;line-height:1.6}.rc-benefit{display:flex;gap:12px;margin-top:25px}.rc-benefit-icon{color:var(--blue);padding-top:1px}.rc-benefit-icon svg{width:21px;height:21px}.rc-benefit strong{font-size:13px;font-weight:650}.rc-benefit p{font-size:12px;line-height:1.5;margin:5px 0 0;color:#667085}
.rc-main{min-width:0;padding:32px}.rc-main h3{font-size:25px;margin:0 0 12px;letter-spacing:-.6px}.rc-login-icon{width:52px;height:52px;padding:13px;border-radius:15px;background:#edf2ff;color:var(--blue);margin-bottom:22px}.rc-login-icon svg{width:26px;height:26px}.rc-lead{font-size:15px;line-height:1.65;color:#596579;margin:0 0 24px}.rc-auth-slot{min-height:52px}.rc-auth-slot button{width:100%;max-width:360px}.rc-auth-slot iframe{max-width:100%}.rc-auth-slot p{margin:12px 0}.rc-security{font-size:12px;color:#667085;line-height:1.6;margin:18px 0 25px}.rc-guest{border-top:1px solid var(--border);padding-top:20px;display:flex;flex-direction:column;align-items:flex-start;gap:12px}.rc-guest small,.rc-sidebar>small{font-size:12px;color:#667085;line-height:1.5}.rc-guest button{font-size:14px}
.rc-avatar{display:grid;place-items:center;width:52px;height:52px;background:#e8eefe;color:var(--blue);border-radius:50%;font-size:22px;font-weight:650}.rc-side-active{padding:12px 14px;margin:24px 0 16px;border-radius:11px;background:#e9eeff;color:var(--blue);font-size:14px;font-weight:650}.rc-logout{margin-top:30px;font-size:13px}.rental-customer-order{padding:19px;border:1px solid var(--border);border-radius:14px;background:#fff;margin:18px 0}.rc-order-head{display:flex;justify-content:space-between;align-items:center;gap:12px;flex-wrap:wrap}.rc-order-head h4{margin:0;font-size:16px;overflow-wrap:anywhere}.rc-status{font-size:11px;font-weight:650;padding:5px 9px;background:#eef2ff;color:#345fe5;border-radius:7px}.rc-status-ok{background:#edf7f0;color:#217249}.rc-status-cancel{background:#fff0f0;color:#b73142}.rc-order-details{border-top:1px solid var(--border);padding-top:14px;font-size:13px}.rc-order-details summary{cursor:pointer;color:var(--blue);min-height:30px}.rc-order-details ul{list-style:none;padding:0;margin:12px 0}.rc-order-details li{display:flex;justify-content:space-between;gap:12px;padding:9px 0;line-height:1.5}.rc-order-details li span{overflow-wrap:anywhere}.rc-order-details li strong{white-space:nowrap}.rc-order-total{margin:12px 0 0;font-weight:650;font-size:16px}.rc-empty{text-align:center;padding:32px 16px;margin:22px 0;border:1px solid var(--border);border-radius:14px;background:#fafbfe}.rc-empty>svg{width:42px;height:42px;color:#8c9bc0}.rc-empty h4{font-size:19px;margin:15px 0 10px}.rc-empty p{font-size:14px;line-height:1.6;color:#667085}.rc-empty button{margin-top:10px}.rc-footnote{font-size:12px;line-height:1.6;color:#667085;margin-top:24px}.rental-account-error{color:#b42318;font-size:14px;line-height:1.5}
@media(max-width:640px){.rental-customer-dialog{width:100%;height:100dvh;max-height:100dvh;border:0;border-radius:0;margin:0;max-width:100%;overscroll-behavior:contain}.rc-topbar{padding:calc(16px + env(safe-area-inset-top,0px)) 18px 16px}.rc-topbar h2{font-size:20px}.rc-layout{display:flex;flex-direction:column;min-height:0}.rc-sidebar{padding:18px 20px;border-right:0;border-bottom:1px solid var(--border)}.rc-sidebar>.rc-brand-label,.rc-sidebar>.rc-brand-label~h3,.rc-sidebar>.rc-brand-label~.rc-muted{display:none}.rc-sidebar:has(.rc-brand-label){display:flex;justify-content:space-between;gap:12px}.rc-benefit{margin:0;flex:1;display:flex;flex-direction:column;gap:6px}.rc-benefit p{display:none}.rc-benefit strong{font-size:11px;line-height:1.3}.rc-benefit-icon svg{width:21px;height:21px}.rc-main{padding:26px 20px calc(30px + env(safe-area-inset-bottom,0px))}.rc-main h3{font-size:24px}.rc-auth-slot button,.rc-guest button{width:100%;max-width:none}.rc-guest{align-items:stretch}.rc-login-icon{margin-bottom:18px}.rc-lead{font-size:14px}.rc-avatar{width:42px;height:42px;font-size:18px}.rc-sidebar:has(.rc-avatar){display:grid;grid-template-columns:42px 1fr;gap:6px 12px}.rc-sidebar .rc-avatar{grid-row:1/3}.rc-sidebar:has(.rc-avatar) h3{font-size:17px;margin:0}.rc-sidebar:has(.rc-avatar) .rc-muted{margin:0;font-size:12px}.rc-side-active{display:none}.rc-sidebar>small{grid-column:1/-1}.rc-logout{grid-column:1/-1;justify-self:start;margin-top:6px;padding:6px 10px;min-height:36px;font-size:12px}.rental-customer-order{padding:16px}.rental-account-notice{display:grid;grid-template-columns:32px minmax(0,1fr);padding:14px;gap:10px;border-radius:12px}.rc-note-icon{width:32px;height:32px}.rc-note-button{grid-column:2;justify-self:start;min-height:40px;padding:9px 12px}.rental-account-notice strong{font-size:14px}.rental-account-notice p{font-size:12px}.rental-account-notice small{font-size:11px}}
@media(max-width:360px){.bottom-nav #customerNav span{font-size:11px!important}.rc-main{padding-left:16px;padding-right:16px}.rc-topbar{padding-left:16px;padding-right:16px}.rc-benefit strong{font-size:10px}}

/* CUSTOMER_AUTH_V3 */
.rc-provider-list{display:grid;grid-template-columns:1fr 1fr;gap:10px}.rc-provider{font-size:14px;white-space:normal}.rc-email-form{display:flex;flex-direction:column;gap:12px;margin-bottom:22px}.rc-email-form label{display:flex;flex-direction:column;gap:8px;font-size:14px}.rc-email-form input{width:100%;min-width:0}.rc-email-form p{margin:0}.rc-email-form button{width:100%}@media(max-width:360px){.rc-provider-list{grid-template-columns:1fr}}

/* CRM_ORDER_LAYOUT_V2 */
.crm-order-card h3{font-size:1.05rem;line-height:1.55;overflow-wrap:anywhere}.crm-order-card hr{border:0;border-top:1px solid #d8dee8;margin:18px 0}.crm-items-title{border-top:1px solid #d8dee8;border-bottom:1px solid #d8dee8;padding:12px 0;margin:18px 0}.crm-order-card a{color:#3157c7;text-decoration:underline}.crm-customer-comment,.crm-order-card .note{white-space:pre-wrap;overflow-wrap:anywhere}.crm-order-subnav{margin:12px 0 20px}.crm-main-tabs{gap:8px}#checkout-customerComment{min-height:88px;resize:vertical}

/* CRM_COMPACT_SPACING_V3 */
.crm-main-tabs,.crm-order-subnav{display:flex;flex-wrap:wrap;gap:10px!important}
.crm-main-tabs>button:not(.secondary){background:#363b43!important;color:#fff!important}
.crm-main-tabs>button:hover,.crm-main-tabs>button:focus-visible,.crm-main-tabs>button:active{background:#454b54!important;color:#fff!important}
.crm-order-subnav>button,.crm-order-subnav>button:not(.secondary){background:#edf0f6!important;color:#34445f!important;font-weight:400!important}
.crm-order-subnav>button:hover,.crm-order-subnav>button:focus-visible,.crm-order-subnav>button:active{background:#bbc0c7!important;color:#20252c!important}
.crm-order-card{padding:18px 22px!important;margin:14px 0!important;line-height:1.4}
.crm-order-card>h3{margin:0 0 8px!important;font-size:15px!important;line-height:1.45}
.crm-order-card>p{margin:4px 0!important;line-height:1.4}
.crm-order-card>hr{margin:10px 0!important}
.crm-order-card>.crm-items-title{margin:10px 0 6px!important;padding:6px 0!important}
.crm-order-card>strong{display:block;margin:8px 0!important}
.crm-order-card>details{display:block;margin:12px 0!important;padding:8px 0!important}
.crm-order-card>details>summary{cursor:pointer;line-height:1.45}
.crm-order-card>button{display:inline-block;margin:8px 10px 4px 0!important;vertical-align:middle}
.crm-system-actions{display:flex;flex-wrap:wrap;gap:12px;margin:14px 0}
.crm-system-actions>button{margin:0!important}
@media(max-width:600px){.crm-order-card{padding:14px 16px!important}.crm-main-tabs,.crm-order-subnav{gap:8px!important}.crm-system-actions>button{max-width:100%;white-space:normal}}

/* CRM_MENU_STATES_V5: scoped states override generic button themes */
#app .crm-main-tabs > button{background:#edf0f6!important;background-image:none!important;color:#34445f!important;box-shadow:none!important;transition:none!important}
#app .crm-main-tabs > button:not(.secondary),#app .crm-main-tabs > button:hover,#app .crm-main-tabs > button:active,#app .crm-main-tabs > button:focus,#app .crm-main-tabs > button:focus-visible{background:#345fe5!important;background-image:none!important;color:#fff!important;box-shadow:none!important;outline-color:#93aeff!important}
#app .crm-order-subnav > button{background:#edf0f6!important;background-image:none!important;color:#34445f!important;font-weight:400!important;box-shadow:none!important;transition:none!important}
#app .crm-order-subnav > button:not(.secondary),#app .crm-order-subnav > button:hover,#app .crm-order-subnav > button:active,#app .crm-order-subnav > button:focus,#app .crm-order-subnav > button:focus-visible{background:#bbc0c7!important;background-image:none!important;color:#20252c!important;font-weight:400!important;box-shadow:none!important;outline-color:#959ca5!important}

/* CATALOG_TOP_COMPACT_V1 */
#app>.breadcrumbs{margin:0 0 6px}#app>.filters{margin:0 0 14px;gap:8px}#app>.filters .pz-search-status[hidden]{display:none!important}#app>.filters .pz-search-status{min-height:28px}#app>.filters>.pz-search-status{grid-row:1}#app>.filters>input[type=search]{grid-row:2}#app>.category-panel{margin-bottom:14px}

/* MOBILE_LIST_LAYOUT_V1: square image, readable text and stacked actions */
#app .grid:not(.view-list) .catalog-photo-placeholder{display:none}
@media(max-width:768px){
 #app .grid.view-list{grid-template-columns:minmax(0,1fr);gap:12px}
 #app .grid.view-list .card{position:relative;display:grid;grid-template-columns:78px minmax(0,1fr);grid-template-rows:auto auto auto auto;gap:8px 12px;align-items:start;align-content:start;padding:14px;min-height:126px;min-width:0;overflow:hidden}
 #app .grid.view-list .card .product-photo{grid-column:1;grid-row:1/5;width:78px;height:78px;min-width:0;aspect-ratio:1/1;object-fit:contain;border-radius:10px;margin:0;background:#f1f3f6;align-self:start}
 #app .grid.view-list .card .catalog-photo-placeholder{display:block;border:1px solid #e4e7ee}
 #app .grid.view-list .card h3{grid-column:2;grid-row:1;display:block;width:100%;min-width:0;min-height:0;margin:0;padding:0;font-size:15px!important;font-weight:600;line-height:1.4;letter-spacing:0;white-space:normal;overflow-wrap:anywhere;word-break:normal;hyphens:none;overflow:visible;-webkit-line-clamp:unset;max-height:none}
 #app .grid.view-list .card .price{grid-column:2;grid-row:2;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 5px;min-width:0;margin:0;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 #app .grid.view-list .card .price strong{font-size:16px;line-height:1.4;white-space:normal}
 #app .grid.view-list .card .price span{display:inline;font-size:12px;margin:0}
 #app .grid.view-list .card .catalog-details-button{grid-column:2;grid-row:3;width:100%;min-width:0;min-height:40px;margin:0;padding:8px 10px;font-size:13px;line-height:1.35;white-space:normal;border-radius:9px}
 #app .grid.view-list .card .buy-button{grid-column:2;grid-row:4;width:100%;min-width:0;min-height:44px;margin:0;padding:10px;font-size:14px;line-height:1.3;white-space:normal;border-radius:9px}
 #app .grid.view-list .card .favorite-button{position:absolute;left:17px;right:auto;top:17px;width:32px;height:32px;min-height:32px;font-size:23px;background:rgba(255,255,255,.94);border-radius:50%;z-index:1}
 #app .grid.view-list .card .card-sku{display:none}
}
@media(max-width:360px){#app .grid.view-list .card{grid-template-columns:64px minmax(0,1fr);gap:8px 10px;padding:12px}#app .grid.view-list .card .product-photo{width:64px;height:64px}#app .grid.view-list .card .favorite-button{left:14px;top:14px}}

/* TAT_COMPACT_TILES_V2 */
#app .grid.view-two{align-items:start}
#app .grid.view-two .card{display:flex;flex-direction:column;align-self:start;min-height:0;height:auto;padding:10px;gap:8px;overflow:hidden}
#app .grid.view-two .card .product-photo{display:block;width:100%;height:auto;min-height:0;aspect-ratio:1/1;object-fit:contain;margin:0;border-radius:9px;flex:none}
#app .grid.view-two .card .catalog-photo-placeholder{display:block;background:#f1f3f6}
#app .grid.view-two .card .favorite-button{position:absolute;top:14px;right:14px;left:auto;width:32px;height:32px;min-height:32px;padding:0;font-size:23px;line-height:32px;background:rgba(255,255,255,.94);border-radius:50%;z-index:2}
#app .grid.view-two .card h3{margin:0;min-height:0;line-height:1.35;overflow-wrap:anywhere}
#app .grid.view-two .card .price{margin:0;line-height:1.35}
#app .grid .card .catalog-details-button{font-size:12px!important;font-weight:400!important;line-height:1.3;min-height:34px;padding:7px 8px;border:1px solid #dce1e8;border-radius:8px;white-space:normal}
#app .grid.view-two .card .catalog-details-button{width:100%;margin:0}
#app .grid.view-two .card .buy-button{margin:0}

/* DESKTOP_LIST_LAYOUT_V1: mobile list and tiles intentionally unchanged */
@media(min-width:769px){
 #app .grid.view-list{grid-template-columns:minmax(0,1fr);gap:12px;align-items:start}
 #app .grid.view-list .card{position:relative;display:grid;grid-template-columns:96px minmax(0,1fr) 150px;grid-template-rows:auto auto;align-items:center;align-content:center;gap:10px 18px;min-height:126px;height:auto;padding:14px;aspect-ratio:auto;overflow:hidden}
 #app .grid.view-list .card .product-photo{display:block;grid-column:1;grid-row:1/3;width:96px;height:96px;min-height:0;aspect-ratio:1/1;object-fit:contain;align-self:center;margin:0;padding:0;border-radius:9px;background:#f5f6f8}
 #app .grid.view-list .card h3{grid-column:2;grid-row:1;align-self:center;min-width:0;min-height:0;width:100%;margin:0;padding:0;font-size:16px!important;line-height:1.4;font-weight:600;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:visible;-webkit-line-clamp:unset;max-height:none}
 #app .grid.view-list .card:not(:has(.catalog-details-button)) h3{grid-row:1/3}
 #app .grid.view-list .card .catalog-details-button{grid-column:2;grid-row:2;justify-self:start;align-self:start;width:auto;min-width:0;min-height:32px;margin:0;padding:6px 10px;font-size:12px!important;font-weight:400!important;line-height:1.35;white-space:normal;border-radius:8px}
 #app .grid.view-list .card .price{grid-column:3;grid-row:1;align-self:end;display:flex;flex-wrap:wrap;align-items:baseline;gap:3px 5px;margin:0;min-width:0;line-height:1.4;white-space:normal;overflow-wrap:anywhere}
 #app .grid.view-list .card .price strong{font-size:17px;line-height:1.4}
 #app .grid.view-list .card .price span{display:inline;font-size:12px;margin:0}
 #app .grid.view-list .card .buy-button{grid-column:3;grid-row:2;align-self:start;width:100%;min-width:0;min-height:40px;margin:0;padding:9px 10px;font-size:14px;line-height:1.35;border-radius:9px;white-space:normal}
 #app .grid.view-list .card .favorite-button{position:absolute;top:18px;left:18px;right:auto;width:28px;height:28px;min-height:28px;margin:0;padding:0;font-size:21px;line-height:28px;background:rgba(255,255,255,.94);border-radius:50%;z-index:2}
 #app .grid.view-list .card .card-sku{display:none}
}

/* MOBILE_TILE_ALIGNED_5_V1: shared tracks per adjacent pair */
@media(max-width:768px){
 #app .grid.view-two{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;grid-auto-rows:auto;gap:8px;align-items:stretch}
 #app .grid.view-two .card{display:grid;grid-template-columns:minmax(0,1fr);grid-template-rows:subgrid;grid-row:span 5;align-self:stretch;align-content:stretch;align-items:start;row-gap:8px;min-height:0;height:auto;padding:10px;overflow:hidden}
 #app .grid.view-two .card .product-photo{display:block;grid-column:1;grid-row:1;width:100%;height:auto;min-height:0;aspect-ratio:1/1;object-fit:contain;align-self:start;margin:0;padding:0;border-radius:10px;overflow:hidden}
 #app .grid.view-two .card .catalog-photo-placeholder{display:block;background:#f1f3f6}
 #app .grid.view-two .card h3{grid-column:1;grid-row:2;align-self:start;width:100%;min-width:0;min-height:0;margin:0;padding:0;font-size:15px!important;line-height:1.4;white-space:normal;overflow-wrap:anywhere;word-break:normal;overflow:visible;-webkit-line-clamp:unset;max-height:none}
 #app .grid.view-two .card .price{grid-column:1;grid-row:4;align-self:start;display:flex;flex-wrap:wrap;align-items:baseline;min-width:0;margin:0;line-height:1.4;overflow-wrap:anywhere}
 #app .grid.view-two .card .buy-button{grid-column:1;grid-row:5;align-self:stretch;width:100%;min-height:44px;margin:0;line-height:1.3}
 #app .grid.view-two .card .favorite-button{position:absolute;left:auto;right:14px;top:14px;z-index:2}
 #app .grid.view-two .card .card-sku{display:none}
 #app .grid.view-two .card .catalog-details-button{grid-column:1;grid-row:3;align-self:stretch;width:100%;margin:0;font-size:12px!important;font-weight:400!important}
}

/* FAVORITES_NAV_BADGE_V1: use cart positioning, red background */
.bottom-nav #favoritesNav .favorites-badge{background:#dc2626;color:#fff}

/* CRM_COMPACT_MEDIA_V1: admin lists only */
#app .crm-products-compact{width:100%;overflow-x:auto;border:1px solid #e1e6ed;border-radius:12px;background:#fff;margin-top:18px}
#app .crm-products-compact table{width:100%;table-layout:auto;min-width:760px;border-collapse:collapse}
#app .crm-products-compact th{font-size:11px;letter-spacing:.06em;padding:13px 16px;text-align:left;background:#f3f5f9}
#app .crm-products-compact td{padding:12px 16px!important;vertical-align:middle;border-bottom:1px solid #edf0f4;font-size:13px}
#app .crm-products-compact tr:hover{background:#fafbfd}
#app .crm-products-compact td:first-child{width:36%}#app .crm-products-compact td:nth-child(2){width:30%}
#app .crm-products-compact td:last-child{width:130px;min-width:130px}
#app .crm-product-identity{display:flex;align-items:center;gap:12px;min-width:0}
#app .crm-product-copy{min-width:0}#app .crm-product-copy p{font-size:11px;margin:5px 0 0;color:#788499}
#app button.crm-text-link{display:inline-block!important;background:none!important;border:none!important;box-shadow:none!important;padding:0!important;min-height:0!important;width:auto!important;border-radius:0!important;text-align:left;color:#263d65!important;font-size:13px!important;line-height:1.45!important;font-weight:600!important;white-space:normal;overflow-wrap:anywhere}
#app button.crm-text-link:hover{color:#385ce0!important;text-decoration:underline}
#app button.crm-media-thumb{width:56px!important;height:56px!important;min-height:56px!important;padding:3px!important;margin:0!important;flex:0 0 56px;border:1px solid #e4e8ef!important;border-radius:9px!important;background:white!important;display:flex!important;align-items:center;justify-content:center;overflow:hidden;color:#9aa8ba!important;box-shadow:none!important}
#app .crm-media-thumb img{width:100%;height:100%;object-fit:contain;display:block}#app .crm-media-thumb svg{width:24px;height:24px}
#app .crm-linked-category{display:flex;align-items:center;gap:9px}#app .crm-linked-category>div{min-width:0}#app .crm-linked-category small{display:block;font-size:10px;line-height:1.45;margin-top:4px;color:#8993a3}
#app .crm-linked-category button.crm-media-thumb{width:38px!important;height:38px!important;min-height:38px!important;flex-basis:38px}
#app .crm-row-actions{display:flex!important;flex-direction:row!important;align-items:center!important;justify-content:flex-start;gap:6px!important;flex-wrap:nowrap!important}
#app button.crm-icon-button{width:32px!important;height:32px!important;min-height:32px!important;flex:0 0 32px;padding:7px!important;border:1px solid #dfe5ef!important;border-radius:7px!important;color:#556980!important;background:#f7f9fc!important;display:inline-flex!important;align-items:center;justify-content:center;box-shadow:none!important;margin:0!important}
#app .crm-icon-button svg,#app .crm-media-thumb svg{fill:none;stroke:currentColor;stroke-width:1.7;stroke-linecap:round;stroke-linejoin:round}
#app button.crm-icon-button:hover{background:#eaf0ff!important;border-color:#bacbf4!important;color:#3154bb!important}#app button.crm-icon-button.crm-danger{color:#b33b45!important;background:#fff7f7!important}
#app .crm-products-compact .tag{font-size:10px!important;padding:3px 6px;margin:5px 0 0;display:inline-block;line-height:1.3}
#app .crm-product-controls{display:flex!important;gap:10px;align-items:center;flex-wrap:wrap}#app .crm-product-controls input,#app .crm-product-controls select{width:auto!important;flex:1;min-width:180px;min-height:38px!important;padding:8px 11px!important;font-size:13px!important}
#app .crm-product-controls button,#app .crm-add-compact{width:auto!important;min-height:36px!important;padding:8px 13px!important;font-size:12px!important}
#app .crm-review-control{display:flex;align-items:center;gap:8px;font-size:12px;margin:14px 0}#app .crm-review-control input{width:16px!important;height:16px!important;min-height:16px!important;margin:0}
#app .crm-categories-compact{margin-top:20px;background:#fff;border:1px solid #e2e7ee;border-radius:12px;padding:16px}
#app .crm-category-toolbar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-bottom:14px}#app .crm-category-toolbar h3{margin:0;font-size:16px}
#app .crm-category-line{display:flex;align-items:center;gap:12px;padding:10px 8px;border-bottom:1px solid #edf0f4;min-height:76px}#app .crm-category-line:hover{background:#f8fafd}
#app .crm-category-caption{flex:1;min-width:0}#app .crm-category-caption small{display:block;margin-top:4px;font-size:11px}
#app .crm-category-node>.crm-category-branch{padding-left:27px;border-left:1px solid #e7ecf3;margin-left:18px}
#app button.crm-tree-toggle,#app .crm-tree-spacer{width:22px!important;flex:0 0 22px;min-height:26px!important;padding:0!important;border:0!important;background:transparent!important;color:#697c96!important;font-size:23px!important}#app .crm-tree-spacer{display:block}
#app .crm-category-branch[hidden]{display:none!important}
@media(min-width:1200px){#app:has(.crm-products-compact),#app:has(.crm-categories-compact){width:calc(100% - 64px)!important;max-width:1440px!important;margin-left:auto!important;margin-right:auto!important}}
@media(max-width:700px){#app .crm-category-line{gap:7px;padding:8px 0}#app .crm-categories-compact{padding:10px}#app .crm-category-node>.crm-category-branch{padding-left:10px;margin-left:5px}#app .crm-category-caption .crm-text-link{font-size:12px!important}}

/* PAGE_PICKER_V2 */
#app .crm-page-picker{display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:6px;margin:22px 0 28px;padding:12px 0;scroll-margin-bottom:100px}
#app .crm-page-picker button{width:auto!important;min-width:34px;min-height:34px!important;padding:7px 10px!important;font-size:12px!important;margin:0!important;border-radius:7px}
#app .crm-page-picker .page-number.current{background:#405cdb!important;color:#fff!important;border-color:#405cdb!important}
#app .crm-page-picker label{display:flex;align-items:center;gap:7px;margin:0 0 0 12px;font-size:12px;width:auto}
#app .crm-page-picker input{width:65px!important;min-height:34px!important;padding:6px 8px!important;font-size:12px;margin:0}
#app .crm-page-picker .page-total{font-size:11px;margin-left:8px}
#app:has(.crm-products-compact),#app:has(.crm-categories-compact){padding-bottom:105px!important}
#app .crm-products-compact td .tag{display:block;width:fit-content;margin-top:6px}
#app .crm-products-compact{scroll-margin-top:18px}

/* CRM_STABLE_HEADER_WIDTH_V1: all admin tabs share one frame */
html{scrollbar-gutter:stable}
body:has(#app.crm-layout-stable){overflow-y:scroll}
#app.crm-layout-stable{box-sizing:border-box!important;width:100%!important;max-width:1320px!important;margin:0 auto!important;padding:30px 24px 125px!important;min-width:0}
#app.crm-layout-stable>h2{margin:0 0 20px!important;text-align:left!important;min-height:34px;font-size:24px;line-height:1.4}
#app.crm-layout-stable .crm-main-tabs{display:grid!important;grid-template-columns:repeat(6,minmax(0,1fr));gap:8px!important;width:100%!important;margin:0 0 22px!important;align-items:stretch!important;justify-content:initial!important;min-height:42px}
#app.crm-layout-stable .crm-main-tabs>button{box-sizing:border-box!important;width:100%!important;min-width:0!important;height:42px!important;min-height:42px!important;margin:0!important;padding:8px 12px!important;font-size:13px!important;line-height:20px!important;white-space:nowrap;position:relative}
#app.crm-layout-stable .crm-main-tabs .order-badge{position:absolute!important;right:7px;top:4px;min-width:16px;font-size:10px}
#app.crm-layout-stable>.panel,#app.crm-layout-stable>.crm-categories-compact,#app.crm-layout-stable>.crm-products-compact,#app.crm-layout-stable>.crm-product-controls{box-sizing:border-box!important;width:100%!important;max-width:100%!important;min-width:0;margin-left:0!important;margin-right:0!important}
#app.crm-layout-stable .crm-products-compact{overflow-x:auto!important}
#app.crm-layout-stable .crm-order-subnav{display:flex!important;gap:8px!important;margin:0 0 20px!important;justify-content:flex-start!important}
#app.crm-layout-stable .crm-order-subnav>button{box-sizing:border-box;min-width:145px!important;min-height:38px!important;font-size:13px!important;padding:8px 14px!important;margin:0!important}
#app.crm-layout-stable .panel,#app.crm-layout-stable .order{max-width:100%;box-sizing:border-box;overflow-wrap:anywhere}
@media(max-width:700px){#app.crm-layout-stable{padding:20px 12px 110px!important}#app.crm-layout-stable .crm-main-tabs{display:flex!important;flex-wrap:nowrap!important;overflow-x:auto;gap:6px!important;padding-bottom:5px}#app.crm-layout-stable .crm-main-tabs>button{flex:0 0 110px!important;width:110px!important}#app.crm-layout-stable>h2{font-size:20px}}

/* TP_SUBCATEGORY_SQUARE_FOUR_V1: public subcategory cards only */
#app .subcategories.tp-subcategory-grid{display:grid!important;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px!important;align-items:stretch;margin-top:22px;padding-top:22px}
#app .tp-subcategory-grid button.tp-subcategory-card{width:100%!important;min-width:0;display:flex!important;flex-direction:column;align-items:stretch;padding:10px!important;gap:0;white-space:normal;text-align:left;border:1px solid #e2e7ee;border-radius:12px!important;background:#fff;overflow:hidden;box-shadow:none;transition:border-color .15s,box-shadow .15s}
#app .tp-subcategory-grid button.tp-subcategory-card:hover:not(:disabled){border-color:#a8b9d8;box-shadow:0 4px 16px #24385810;background:#fff}
#app .tp-subcategory-photo{display:flex;width:100%;aspect-ratio:1/1;align-items:center;justify-content:center;overflow:hidden;border-radius:8px;background:#f6f7f9;flex:none}
#app .tp-subcategory-photo img{display:block;width:100%!important;height:100%!important;max-width:none!important;margin:0!important;border-radius:0!important;object-fit:contain!important}
#app .tp-subcategory-photo.no-photo{color:#8b95a4;font-size:12px;font-weight:400}
#app .tp-subcategory-title{display:block;font-size:14px;line-height:1.4;font-weight:600;color:#293d59;margin:12px 2px 6px;overflow-wrap:anywhere;min-height:40px}
#app .tp-subcategory-count{display:block;font-size:11px;font-weight:400;color:#7c8799;margin:0 2px 3px;margin-top:auto}
@media(max-width:600px){#app .subcategories.tp-subcategory-grid{gap:7px!important}#app .tp-subcategory-grid button.tp-subcategory-card{padding:5px!important;border-radius:8px!important}#app .tp-subcategory-title{font-size:10px;line-height:1.3;margin:7px 0 4px;min-height:39px}#app .tp-subcategory-count{font-size:9px;margin-left:0;margin-right:0}#app .tp-subcategory-photo.no-photo{font-size:9px}}
