/* 3D MECHTECH V5 — unified, accessible visual system. Loaded AFTER V4 CSS. */
:root{--ink:#17323a;--muted:#526a75;--border:#cddde2;--v5-line:#c8dce1;--v5-deep:#123943;--v5-teal:#087c84;--v5-soft:#f2f8f8;--v5-orange:#ef9f42;--v5-shadow:0 11px 30px rgba(19,54,63,.085);--radius:17px}
body{color:var(--ink);-webkit-font-smoothing:antialiased}
.store-body{background:#fff}.admin-body{background:#f0f6f7}
button,a,input,textarea,select{touch-action:manipulation}
:where(a,button,input,textarea,select,summary):focus-visible{outline:3px solid #10a5ba!important;outline-offset:3px}
:where(p,.hint,.minor){line-height:1.6}
/* Public storefront */
.main-header{background:#fff;border-bottom:1px solid #d2e3e6;box-shadow:0 3px 13px rgba(24,60,65,.04)}
.desktop-nav a{font-weight:700}.desktop-nav a.nav-active{position:relative}
.desktop-nav a.nav-active::after{content:'';display:block;position:absolute;left:11px;right:11px;bottom:0;height:2px;background:var(--v5-teal);border-radius:6px}
.new-hero{background:linear-gradient(130deg,#eef8f6,#fff 50%,#e8f3f4);border-bottom:1px solid #d8e7e8}
.new-hero-copy h1{letter-spacing:-2px}.new-hero-copy>p{max-width:520px;line-height:1.75;color:#476b70}
.hero-tag{border:1px solid #acd7d1;background:#effbf8;padding:9px 13px;border-radius:100px;display:inline-flex;gap:9px;align-items:center}
.new-hero-visual{position:relative}.new-hero-visual .hero-collage{border:1px solid #bed6d6;box-shadow:0 22px 60px #1a5c561d,0 3px 12px #29595e13;background:#eaf2f2}
.hero-float-card{border:1px solid #d2e4e5;box-shadow:0 10px 28px #173c3a20;border-radius:15px}
.hero-actions .button{min-height:47px;display:inline-flex;align-items:center;justify-content:center}
.home-pulse{background:#143940;color:#e5f6f4;border-bottom:1px solid #0c2d32}
.home-pulse-inner{display:flex;justify-content:space-between;align-items:center;gap:20px;padding:12px 0;font-size:12px;letter-spacing:.2px}.home-pulse-inner b{color:white}
.new-benefits{padding-top:32px;padding-bottom:25px;gap:18px}
.new-benefits>div{border:1px solid var(--v5-line)!important;background:#fff;border-radius:16px!important;padding:20px!important;box-shadow:0 5px 20px #183f3b08}
.new-benefits>div span{display:inline-grid;place-items:center;width:34px;height:34px;border-radius:12px;background:#eaf8f6;color:#067e78;font-size:13px}
.new-benefits>div strong{font-size:15px}.new-benefits>div p{color:#576c70;font-size:13px;line-height:1.6}
.new-section{padding-top:76px;padding-bottom:83px}.new-section-head h2{letter-spacing:-1.1px}.new-section-head p{color:#56717b;line-height:1.65}
.new-category{border-radius:18px!important;border:2px solid #d0e2e4!important;box-shadow:var(--v5-shadow)!important;isolation:isolate;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease}
.new-category img{transition:transform .4s ease}.new-category:hover{transform:translateY(-4px);border-color:#68b6ae!important;box-shadow:0 17px 40px #123e4620!important}.new-category:hover img{transform:scale(1.04)}
.new-category>div{z-index:1}.new-category h3{color:white;text-shadow:0 1px 9px #0007}
.new-featured{background:#f5faf9;border-top:1px solid #e1ece9;border-bottom:1px solid #dcebea}
.new-product-card,.product-card{border:1.5px solid #c9dadc!important;border-radius:17px!important;box-shadow:0 7px 22px #1646530c!important;transition:transform .22s ease,border-color .22s ease,box-shadow .22s ease}
.new-product-card:hover{transform:translateY(-3px);border-color:#57aaa5!important;box-shadow:0 16px 35px #17495616!important}
.new-product-card .product-photo{border-bottom:1px solid #dce9ea;overflow:hidden;background:#f5fafa}
.new-product-card .product-photo img{transition:transform .3s ease}.new-product-card:hover .product-photo img{transform:scale(1.03)}
.new-product-card .product-details{padding:17px}.new-product-card h3{color:#14323b;line-height:1.45}
.new-product-card .product-category{color:#48767a;font-weight:700}.new-product-card .product-meta{border-top:1px solid #e1eced;padding-top:12px}
.new-product-card .new-card-link{font-weight:800;border-top:1px solid #e5eeef;padding-top:12px;margin-top:12px;display:block;color:#067d7f}
.button,.pill{transition:background .18s ease,border-color .18s ease,box-shadow .18s ease,transform .18s ease}
.button:hover:not(:disabled){transform:translateY(-1px)}.button.outlined{border:1.5px solid #b8d1d8;background:#fff;color:#1b4a55}.button.outlined:hover{background:#ebf8f7;border-color:#70b9b9}
.button.primary{box-shadow:0 5px 13px #048b8021}.button.primary:hover{box-shadow:0 8px 22px #04756938}
.quantity-input{border-color:#c9dce0}.quantity-input button{font-weight:800}
.page-hero{background:linear-gradient(120deg,#eff8f7,#f8fbfd);border-bottom:1px solid #d8e5e7}
.catalog-controls{gap:15px}.search-box{border:1.5px solid #b8d1d5!important;border-radius:13px;background:white;box-shadow:0 5px 16px #153d3d07}.pill{border:1.5px solid #c4d9de!important}
.product-detail-layout{gap:clamp(20px,4vw,60px)}.detail-main-photo,.detail-info,.detail-action-box{border:1.5px solid #cbdfe0!important;border-radius:17px;box-shadow:0 8px 24px #133f4709}.detail-info{padding:clamp(18px,2.6vw,34px)}.detail-description{line-height:1.75;color:#4a626d}.detail-time{border:1px solid #c7e3d9;border-radius:12px;padding:12px 14px}.detail-thumbnails img{border:1px solid #d0dfe2;border-radius:10px}
.home-trust{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:14px;padding-top:34px;padding-bottom:36px}
.home-trust>div{display:flex;flex-direction:column;align-items:start;gap:9px;padding:24px 22px;background:white;border:1.5px solid var(--v5-line);border-radius:18px;box-shadow:0 5px 18px #123d4308}
.home-trust strong{font-weight:800;color:#153a42}.home-trust p{color:#526e77;font-size:13px;margin:0}.trust-symbol{font-size:24px;display:grid;place-items:center;width:48px;height:48px;background:#e9f8f5;color:#08857e;border-radius:14px}
.home-last{border:1.5px solid #d0e1e3!important;border-radius:20px;overflow:hidden;box-shadow:var(--v5-shadow)}
.footer{border-top:2px solid #cbdde1}
/* One pagination style for products, orders, staff and reports */
.pagination,.shared-pagination{display:flex;align-items:center;justify-content:center;gap:7px;flex-wrap:wrap;margin:25px 0}
.pagination a,.pagination button{display:grid;place-items:center;min-width:41px;height:41px;border:1.5px solid #c6dbe0!important;border-radius:11px;background:#fff;color:#315360;font-size:14px;font-weight:800;padding:0 10px}
.pagination a.selected,.pagination button.selected{background:#087e85!important;color:#fff!important;border-color:#087e85!important}
.pagination a:hover,.pagination button:hover:not(:disabled){background:#e7f6f3;border-color:#6db8b5!important}
.pagination button:disabled,.pagination a[aria-disabled="true"]{opacity:.4;cursor:default;pointer-events:none}
.pagination-label{margin-right:8px;font-size:13px;color:#4a6973;font-weight:700}.pagination-dots{padding:7px;color:#6a8289}
.catalog-pages[hidden]{display:none}
/* Administration / app: panel hierarchy, strong borders, bigger touch targets */
.admin-content{padding-top:28px}.sidebar{border-right:1px solid #294a55}.sidebar .admin-menu a{font-size:13px;line-height:1.3}
.admin-top{padding:10px 0 14px;border-bottom:1px solid #d6e4e7;margin-bottom:22px}.admin-top h1{font-weight:800;letter-spacing:-.8px}.admin-top-actions{display:flex;align-items:center;flex-wrap:wrap;gap:8px}
.admin-top-actions .button{min-height:41px}.admin-back-home{display:inline-flex;padding:10px 14px;margin:0 0 18px;border:1.5px solid #b6d5d7;background:#fff;color:#23626b;border-radius:12px;font-weight:800;font-size:13px}
.panel,.list-panel,.summary-card,.metrics-row>div,.staff-card,.staff-job,.report-metrics article{border:1.5px solid #c8dade!important;box-shadow:0 6px 21px rgba(20,56,69,.06)!important;border-radius:16px}
.list-panel .product-row{border-bottom:1px solid #d9e6e8}.list-panel .product-row:hover{background:#f8fbfb}.summary-card strong,.metrics-row strong{color:#076f80}.summary-card span,.minor,.hint{color:#506b76!important}
.admin-body .section-bar h2{color:#193941}.admin-body .section-bar p{color:#56717b;font-size:13px}.admin-body .button{min-height:40px}
.admin-body label{color:#2c5561}.admin-body input:not([type=checkbox]):not([type=radio]),.admin-body textarea,.admin-body select{border:1.5px solid #bdd2d9!important;border-radius:11px;font-size:16px;min-height:43px;box-shadow:none}
.admin-body :is(input,textarea,select):focus{border-color:#169eb0!important;box-shadow:0 0 0 3px #13a6a61c!important}
.admin-body .panel{padding:clamp(15px,2.2vw,26px)}.admin-body .product-row strong,.admin-body .staff-job h2{overflow-wrap:anywhere}
/* Admin start screen */
.admin-welcome{display:flex;justify-content:space-between;align-items:center;gap:20px;max-width:1050px;padding:28px 32px;border:1px solid #a6ced1;border-radius:22px;background:linear-gradient(110deg,#e3f6f4 5%,#f8fcfc 65%,#e4f2f8 100%);box-shadow:0 9px 24px #1749520f}
.admin-welcome h2{font-size:clamp(25px,3vw,40px);line-height:1.14;margin:12px 0 9px;letter-spacing:-1.2px}.admin-welcome h2 em{font-style:normal;color:#087b7c}.admin-welcome p{color:#477078;font-size:14px;max-width:500px;margin:0}.admin-welcome .welcome-logo{width:125px;height:125px;flex:none;display:grid;place-items:center}.admin-welcome .welcome-logo img{width:100%;height:100%;object-fit:contain;filter:drop-shadow(0 7px 11px #22535b22)}
.home-kpis{max-width:1050px;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:12px;margin:18px 0 27px}.home-kpis>div{padding:15px 13px;border:1.5px solid #c8dce0;background:#fff;border-radius:15px;display:flex;flex-direction:column;gap:3px;box-shadow:0 4px 14px #153e4908}.home-kpis strong{font-size:26px;color:#087986;font-family:'Space Grotesk',sans-serif}.home-kpis span{font-size:12px;font-weight:700;color:#57717a}
.dashboard-caption{max-width:1050px}.admin-tile-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:16px;max-width:1050px}
.admin-tile{font-family:inherit;text-align:left;display:grid;grid-template-columns:auto minmax(0,1fr) auto;align-items:center;gap:18px;padding:24px 22px;min-height:132px;background:#fff;color:#173740;border:1.7px solid #bad3d8;border-radius:19px;box-shadow:0 8px 23px #154d5311;cursor:pointer;position:relative;overflow:hidden;transition:transform .22s ease,box-shadow .22s ease,border-color .22s ease,background .22s ease;animation:mech-tile-in .36s both;animation-delay:var(--tile-delay,0ms)}
.admin-tile:before{content:'';position:absolute;inset:0 auto 0 0;width:5px;background:linear-gradient(#08858c,#58bbb7);opacity:0;transition:opacity .18s}
.admin-tile:hover,.admin-tile:focus-visible{transform:translateY(-3px);border-color:#55aeb0;background:#fbfefe;box-shadow:0 15px 32px #1748521a}.admin-tile:hover:before{opacity:1}
.tile-icon{font-size:27px;display:grid;place-items:center;width:60px;height:60px;border:1px solid #c8e7e5;border-radius:17px;background:#edf8f6;flex-shrink:0}
.admin-tile strong{display:block;font-size:18px;line-height:1.25;color:#143943;margin-bottom:5px}.admin-tile small{font-size:12px;line-height:1.45;display:block;color:#53737d}.tile-arrow{font-weight:900;font-size:23px;color:#2b9096}.tile-notify-number{display:inline-grid;place-items:center;padding:3px 8px;border-radius:100px;background:#e8f6ec;color:#086c59;font-size:12px;margin-left:4px}
.dashboard-shortcuts{display:flex;gap:12px;flex-wrap:wrap;margin:26px 0 10px}.dashboard-shortcuts .button{min-height:48px}
@keyframes mech-tile-in{from{opacity:0;transform:translateY(8px)}to{opacity:1;transform:translateY(0)}}
/* Order search that accepts any product description/code and fully manual projects */
.smart-search{position:relative;margin:0 0 18px}.smart-search>label{display:block;font-size:14px;font-weight:800;color:#264e59;margin-bottom:8px}.smart-search>input{width:100%;padding:14px 16px;border:1.5px solid #9ec9cd!important;border-radius:13px;background:#fff;min-height:52px!important}
.smart-search .hint{margin-top:8px}.smart-search-results{position:absolute;top:79px;left:0;right:0;z-index:80;max-height:370px;overflow:auto;background:#fff;border:2px solid #92bdc4;border-radius:13px;box-shadow:0 20px 45px #123c4a2e;padding:5px}
.smart-search-results[hidden]{display:none}.product-result{display:grid;grid-template-columns:58px minmax(0,1fr) auto;align-items:center;gap:12px;width:100%;padding:10px;border:0;border-bottom:1px solid #e2ecec;background:white;text-align:left;border-radius:9px;color:#1b3c46;cursor:pointer}
.product-result:last-child{border:0}.product-result:hover,.product-result.active{background:#eaf7f5}.product-result img{width:58px;height:58px;border-radius:9px;object-fit:cover;border:1px solid #d1dfdf}.product-result strong{font-size:14px;display:block;line-height:1.4}.product-result small{display:block;font-size:11px;color:#5b7980;line-height:1.5;white-space:nowrap;text-overflow:ellipsis;overflow:hidden}.product-result b{font-size:14px;color:#067983;white-space:nowrap}.search-empty{padding:17px}.search-empty p{margin:7px 0 12px;color:#58727a}
/* Notifications: easy to spot, without loud effects */
#notification-open{position:relative}.admin-notices{margin-bottom:25px;border:1.5px solid #94ced2!important;background:#fafeff!important}.notice-item{border-bottom:1px solid #d6e5e7;display:flex;padding:13px;gap:10px;align-items:start;color:#28535d}.notice-item:hover{background:#ebf7f6}.notice-item span:first-child{color:#0a8b8e}.notice-item small{display:block;color:#60838a;margin-top:5px}
.notification-toast{position:fixed;z-index:500;bottom:22px;right:22px;max-width:min(410px,calc(100vw - 32px));display:flex;align-items:center;gap:12px;padding:16px;background:#163b43;color:white;border:1px solid #4d9d9d;border-radius:16px;box-shadow:0 20px 50px #082e3a45;font-size:13px;line-height:1.5;animation:mech-tile-in .25s both}.notification-toast>a{color:#a8f4e7;white-space:nowrap;font-weight:800;text-decoration:underline}.notification-toast button{background:transparent;border:0;color:white;font-size:22px;min-height:30px}
/* Staff: mobile-first touch areas */
.staff-dashboard>.eyebrow{color:#0b858d}.staff-dashboard h1{letter-spacing:-1px;color:#153c47}.staff-quicklinks{display:flex;flex-wrap:wrap;gap:10px}.staff-job{border-left:5px solid #20a69b!important}.staff-update{border-top:1px solid #deecec;padding-top:16px;margin-top:13px}.staff-job-links{display:flex;flex-wrap:wrap;gap:9px}
.staff-header{box-shadow:0 8px 22px #1937441b}.staff-header .brand{min-width:0}.staff-header .button{border:1px solid #a7d2d5;color:#e9ffff;background:#23535b}
.order-accordion{border:1.5px solid #c6dbe0!important}.order-accordion summary{padding:15px 0}.order-accordion[open]{border-color:#8dc9cb!important}.order-create{border-color:#6ebcb9!important}.order-payment{border-top:1px solid #dbe9e8;padding-top:15px;margin-top:17px}
.report-table-wrap{overflow-x:auto}.report-table{min-width:760px}.report-history .shared-pagination{margin-bottom:0}
@media(max-width:1050px){.admin-tile{gap:12px;padding:20px 16px}.tile-icon{width:54px;height:54px}.home-kpis{grid-template-columns:repeat(2,minmax(0,1fr))}.admin-tile strong{font-size:16px}}
@media(max-width:790px){
 .home-pulse-inner{padding:10px 0;font-size:11px}.home-pulse-inner span:last-child{display:none}
 .new-hero-inner{gap:22px!important}.new-benefits{gap:10px}.new-benefits>div{border:1px solid #cbdfe0!important;padding:16px!important}.new-benefits>div p{margin-left:0!important}
 .home-trust{grid-template-columns:1fr;gap:10px}.home-trust>div{padding:18px 20px}
 .sidebar{padding:12px 15px 8px!important;background:#122f37!important;box-shadow:0 4px 16px #143b420c}.sidebar-brand{margin:0!important}.sidebar .admin-menu{display:none!important}.sidebar .sidebar-foot{display:flex!important;border:0!important;flex-direction:row!important;gap:18px;align-items:center;margin-top:8px!important;padding:10px 3px 0!important;font-size:11px}.sidebar-foot>*{margin:0}
 .admin-content{padding:20px 15px!important;overflow-x:clip}.admin-top h1{font-size:clamp(23px,5.4vw,30px)}.admin-top-actions{margin-top:11px}
 .admin-welcome{padding:19px;gap:8px}.admin-welcome .welcome-logo{width:79px;height:79px}.admin-welcome h2{font-size:clamp(24px,6vw,34px)}.admin-welcome p{font-size:12px}
 .home-kpis{gap:8px}.home-kpis strong{font-size:23px}.home-kpis>div{padding:12px}
 .admin-tile-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.admin-tile{display:flex;flex-direction:column;align-items:center;justify-content:center;min-height:154px;text-align:center;gap:10px;padding:14px 10px}
 .admin-tile strong{font-size:15px;margin-bottom:4px}.admin-tile small{font-size:11px}.admin-tile .tile-arrow{display:none}.tile-icon{width:47px;height:47px;font-size:23px;border-radius:14px}
 .dashboard-shortcuts .button{flex:1 1 140px;text-align:center;justify-content:center}
 .metrics-row{grid-template-columns:repeat(2,minmax(0,1fr))}.staff-dashboard{padding-top:30px;padding-bottom:70px}.staff-dashboard h1{font-size:clamp(27px,6.5vw,38px)}
 .order-accordion summary{gap:10px}.product-result{grid-template-columns:48px minmax(0,1fr) auto;gap:8px;padding:8px}.product-result img{width:48px;height:48px}.product-result b{font-size:12px}.product-result strong{font-size:12px}
 .new-product-card .product-details{padding:13px}.product-card h3{font-size:14px!important;min-height:0!important}.new-product-card .new-card-link{font-size:12px}
 .notification-toast{left:16px;right:16px;bottom:17px;max-width:none}.admin-body .row-actions{gap:6px}.admin-body .row-actions .button{font-size:12px;padding:8px 11px}
}
@media(max-width:480px){
 .new-hero h1{letter-spacing:-1.4px!important}.new-hero-copy>p{font-size:14px}.new-hero-visual .hero-collage{border-radius:16px}
 .home-trust strong{font-size:14px}.home-pulse-inner{font-size:10px}
 .product-grid{grid-template-columns:repeat(2,minmax(0,1fr))!important;gap:10px!important}.product-card{min-width:0}.new-product-card .product-photo{height:170px}.new-product-card .product-category{font-size:10px!important}.new-product-card h3{font-size:13px!important;line-height:1.4}.new-product-card .product-meta strong{font-size:18px}
 .admin-welcome .welcome-logo{width:62px;height:62px}.admin-welcome h2{font-size:25px}.admin-welcome p{line-height:1.5}.admin-tile{min-height:144px}.admin-tile strong{font-size:14px}.admin-tile small{font-size:10.5px;line-height:1.4}
 .home-kpis span{font-size:11px}.pagination-label{flex:0 0 100%;text-align:center}.pagination a,.pagination button{min-width:38px;height:38px}
 .staff-quicklinks .button{flex:1 1 140px}.admin-body .product-row-side{margin-left:0}
}
@media(max-width:350px){.admin-tile-grid{gap:7px}.admin-tile{padding:10px 6px}.admin-welcome .welcome-logo{display:none}.admin-tile small{font-size:10px}.new-product-card .product-photo{height:135px}.new-product-card .product-details{padding:10px 8px}}
@media(prefers-reduced-motion:reduce){*,*::before,*::after{animation-duration:.01ms!important;animation-iteration-count:1!important;transition-duration:.01ms!important;scroll-behavior:auto!important}}
@media print{.admin-tile-grid,.notification-toast,.home-pulse{animation:none}.shared-pagination{display:none!important}}

.notification-history{max-width:970px;padding:36px 0 70px}.notification-history .section-bar h1{margin:7px 0 9px;font-size:clamp(30px,4vw,43px)}.notification-history .section-bar p{color:#59747d;font-size:14px}.admin-notify-actions{display:flex;align-items:center;justify-content:space-between;flex-wrap:wrap;gap:12px;margin:18px 0;font-size:13px;color:#54737b;font-weight:700}.history-notices{padding:0!important;overflow:hidden}.history-notice{display:grid;grid-template-columns:26px 1fr auto;gap:12px;align-items:center;padding:18px 19px;border-bottom:1px solid #d8e5e7}.history-notice:last-child{border:0}.history-notice:hover{background:#eff9f7}.history-notice.is-new{background:#f0faf8}.history-notice .notify-bullet{color:#07887f}.history-notice.is-seen{opacity:.78}.history-notice strong{font-size:14px;line-height:1.5;display:block}.history-notice small{display:block;font-size:11px;color:#627e85;margin-top:5px}.notification-history .admin-back-home{margin:0 0 18px}
@media(max-width:790px){.notification-history{padding:21px 14px 65px}.notification-history .section-bar img{width:54px;height:54px}.history-notice{padding:14px 12px;gap:8px}}
/* Guaranteed readable type even when Google Fonts are blocked by a mobile browser. */
html,body,button,input,select,textarea{font-family:'DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important}
h1,h2,h3,h4,.admin-tile strong,.home-kpis strong{font-family:'Space Grotesk','DM Sans',-apple-system,BlinkMacSystemFont,'Segoe UI',Arial,sans-serif!important}
@media(max-width:790px){.admin-top .admin-top-actions .button{display:inline-flex!important;align-items:center;justify-content:center;font-size:12px;padding:9px 12px;min-height:39px}.admin-top .admin-top-actions{gap:7px}}
