:root{--ink:#192d3b;--muted:#62737e;--paper:#f4f6f7;--line:#dde4e8;--red:#df3b36;--blue:#103d55}*{box-sizing:border-box}body{margin:0;font:15px/1.55 'Segoe UI',Arial,sans-serif;color:var(--ink);background:var(--paper)}a{color:inherit;text-decoration:none}button,input,select,textarea{font:inherit}button,.button{border:0;border-radius:7px;background:var(--red);color:white;padding:12px 20px;cursor:pointer;display:inline-block;font-weight:600}button:hover,.button:hover{filter:brightness(.93)}button:disabled{opacity:.55;cursor:wait}.secondary{background:#e9eef1;color:var(--ink)}input,select,textarea{border:1px solid #bbc9d0;padding:11px;border-radius:6px;background:white;width:100%;color:var(--ink)}textarea{min-height:120px;resize:vertical}label{display:block;margin:13px 0}label input,label select,label textarea{display:block;margin-top:6px}input[type=checkbox]{width:auto;display:inline;margin-right:8px}h1,h2,h3,p{margin-top:0}h1{font-size:clamp(28px,4vw,46px);line-height:1.16;letter-spacing:-1.4px}h2{font-size:26px;letter-spacing:-.6px}h3{font-size:17px}small,.muted{color:var(--muted)}.devbar{background:var(--blue);color:white;text-align:center;font-size:11px;letter-spacing:.8px;padding:8px}.devbar span{opacity:.75;margin-left:18px}header{display:flex;align-items:center;gap:35px;background:white;border-bottom:1px solid var(--line);padding:22px max(24px,calc((100vw - 1260px)/2));position:relative}header .brand{flex:0 0 170px}header img{width:170px;max-height:65px;object-fit:contain}nav,.tools{display:flex;align-items:center;gap:22px;white-space:nowrap}nav{flex:1}.tools{font-size:13px;gap:18px}.cart-link{background:var(--paper);padding:9px 13px;border-radius:6px}#cart-count{color:var(--red);font-weight:700;margin-left:6px}main{max-width:1260px;margin:auto;padding:36px 24px 70px;min-height:65vh}.hero{display:grid;grid-template-columns:1.1fr 1fr;background:#e6edf0;border-radius:14px;overflow:hidden;margin-bottom:38px}.hero-copy{padding:55px}.eyebrow{font-size:12px;font-weight:700;letter-spacing:2px;color:var(--red);margin-bottom:18px}.hero p{max-width:440px;color:#536975;font-size:17px}.hero img{width:100%;height:100%;object-fit:cover;max-height:380px}.hero .button{margin-top:12px}.section-head{display:flex;align-items:center;justify-content:space-between;margin:30px 0 18px}.section-head h2{margin:0}.section-head a{color:var(--red);font-weight:600}.category-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:15px}.category-card{padding:26px;background:white;border:1px solid var(--line);border-radius:10px;transition:transform .15s}.category-card:hover{transform:translateY(-3px)}.category-card .number{color:var(--red);font-size:12px;letter-spacing:1px}.category-card h3{margin:18px 0 7px}.grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:20px}.product{background:white;border:1px solid var(--line);border-radius:10px;overflow:hidden;display:flex;flex-direction:column}.product-image{height:200px;background:#eef2f4;display:flex;align-items:center;justify-content:center}.product img{width:100%;height:100%;object-fit:contain;mix-blend-mode:multiply}.product-info{padding:18px;flex:1}.product small{font-size:11px;letter-spacing:.5px}.product h3{margin:8px 0 12px;line-height:1.4}.price{font-weight:700;color:var(--blue)}.product .product-type{font-size:12px;color:var(--muted);margin-top:5px}.placeholder{font-size:16px;color:var(--muted);padding:20px;text-align:center}.catalog-layout{display:grid;grid-template-columns:225px 1fr;gap:28px}.catalog-layout .grid{grid-template-columns:repeat(3,minmax(0,1fr))}.sidebar{background:white;border:1px solid var(--line);border-radius:10px;padding:20px;height:max-content}.sidebar a{display:block;padding:7px 8px;border-radius:5px}.sidebar a.active{color:var(--red);background:#fdf0ef}.sidebar .sub{font-size:12px;padding-left:18px}.search{display:flex;gap:10px;max-width:620px;margin-bottom:25px}.search input{flex:1}.pagination{display:flex;gap:10px;align-items:center;justify-content:center;margin-top:28px}.pagination a{padding:8px 16px;background:white;border:1px solid var(--line);border-radius:6px}.crumb{font-size:13px;color:var(--muted);margin-bottom:25px}.detail{display:grid;grid-template-columns:1fr 1fr;gap:45px}.detail-visual{border:1px solid var(--line);border-radius:12px;background:white;padding:35px;height:470px}.detail-visual img{width:100%;height:100%;object-fit:contain}.detail h1{font-size:34px}.detail p{white-space:pre-line}.panel{background:white;border:1px solid var(--line);border-radius:10px;padding:25px;margin:20px 0}.row{display:flex;gap:16px;align-items:center}.row>*{flex:1}.quote-price{padding:18px;background:var(--paper);border-radius:6px;margin:18px 0}.quote-price b{font-size:27px}.notice{background:#fff5e3;color:#7b5721;padding:14px 18px;border-radius:7px;margin:15px 0}.error{background:#fde9e8;color:#8d2723;padding:14px;border-radius:6px;margin:15px 0}.success{background:#e3f2ea;color:#206643;padding:14px;border-radius:6px}.empty{text-align:center;background:white;border:1px solid var(--line);padding:60px 25px;border-radius:10px}.empty h2{margin-bottom:12px}.cart-layout{display:grid;grid-template-columns:1.4fr 1fr;gap:28px}.cart-item{display:flex;align-items:center;gap:20px;padding:20px 0;border-bottom:1px solid var(--line)}.cart-item>div{flex:1}.cart-item p{margin:4px 0}.cart-item .price{font-size:20px}.summary-line{display:flex;justify-content:space-between;margin:12px 0}.summary-line.total{font-size:22px;font-weight:700;border-top:1px solid var(--line);padding-top:15px}.admin-tabs{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:24px}.admin-tabs a{padding:10px 16px;background:white;border:1px solid var(--line);border-radius:6px}.admin-tabs a.active{background:var(--blue);color:white}.stat-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:18px}.stat{padding:25px;background:white;border:1px solid var(--line);border-radius:10px}.stat b{font-size:36px;display:block}.table-wrap{overflow-x:auto;background:white;border:1px solid var(--line);border-radius:8px}table{border-collapse:collapse;width:100%;font-size:13px}td,th{text-align:left;padding:14px;border-bottom:1px solid var(--line)}th{background:#edf2f5;color:var(--muted)}td button{font-size:12px;padding:7px 11px}.badge{border-radius:20px;padding:4px 9px;background:#e5edf2;font-size:11px}.editor{max-width:850px}.editor pre{white-space:pre-wrap}.code-input{font:13px/1.5 Consolas,monospace;min-height:300px}.login{max-width:420px;margin:45px auto}.blog-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:20px}.article{max-width:820px;margin:auto}.article p{white-space:pre-line}.article h2{margin-top:28px}.loading{padding:80px;text-align:center}.actions{display:flex;gap:10px;align-items:center;flex-wrap:wrap}footer{background:var(--blue);color:white;padding:40px max(24px,calc((100vw - 1212px)/2));display:flex;gap:35px;justify-content:space-between}footer p{color:#c0d0d9;font-size:13px}footer a{display:block;margin:5px 0;font-size:13px}#toast{position:fixed;bottom:24px;right:24px;max-width:420px;padding:16px 24px;background:var(--blue);color:white;border-radius:8px;box-shadow:0 5px 20px #0003;z-index:10}.link{color:var(--red)}details{background:white;border:1px solid var(--line);border-radius:8px;padding:16px;margin:10px 0}summary{cursor:pointer;font-weight:600}
@media(max-width:1050px){header{flex-wrap:wrap;gap:18px}nav{order:3;flex-basis:100%;justify-content:center}.tools{margin-left:auto}.grid{grid-template-columns:repeat(3,1fr)}.hero-copy{padding:35px}.catalog-layout .grid{grid-template-columns:repeat(2,1fr)}}@media(max-width:700px){.devbar span{display:block;margin:3px 0 0}.brand img{width:130px}header .brand{flex-basis:130px}.tools{gap:10px;font-size:11px}header{padding:15px}nav{gap:20px;font-size:13px;overflow:auto;justify-content:start}main{padding:25px 16px 45px}.hero{grid-template-columns:1fr}.hero-copy{padding:30px}.hero img{height:200px}.category-grid,.grid{grid-template-columns:repeat(2,1fr)}.category-card{padding:18px}.catalog-layout{grid-template-columns:1fr}.sidebar{max-height:230px;overflow:auto}.detail,.cart-layout{grid-template-columns:1fr;gap:15px}.detail-visual{height:300px;padding:20px}.product-image{height:155px}.product-info{padding:13px}.product h3{font-size:14px}.stat-grid{grid-template-columns:1fr}.blog-grid{grid-template-columns:1fr}.row{flex-wrap:wrap}.row>*{min-width:100px}.panel{padding:20px}footer{flex-direction:column;gap:15px}.cart-item{flex-wrap:wrap}.cart-item>div{min-width:150px}.search button{padding:10px 15px}}
[hidden]{display:none!important}

.quantity-counter{display:flex;align-items:center;gap:8px;max-width:320px}.quantity-counter button{min-width:44px;min-height:44px;font-size:22px;padding:6px 12px}.quantity-counter input,.quantity-counter select{min-width:0;flex:1;text-align:center}.cart-quantity{max-width:220px}.order-status{background:#124d7a;color:white;padding:24px;border-radius:12px;margin:20px 0}.order-status .eyebrow{color:#ffe266}.order-status h2{margin:10px 0;font-size:28px}.current-stage span{display:block;color:var(--muted);font-size:13px}.current-stage strong{font-size:22px;color:var(--blue)}.order-progress{display:flex;list-style:none;gap:8px;padding:0;flex-wrap:wrap}.order-progress li{flex:1;min-width:90px;background:#edf2f5;padding:10px;border-radius:8px;font-size:13px}.order-progress .active{background:#124d7a;color:white;font-weight:700}.order-progress .done{background:#e3f2ea;color:#206643}.next-action{background:#eef6fc;padding:14px;border-radius:8px}.checkout-choice .actions{margin:18px 0}.cart-item{flex-wrap:wrap}

#admin-link[hidden]{display:none!important}#customer-links{display:flex;gap:12px;flex-wrap:wrap}

.approval-alert{display:block;background:#fff2ca;color:#664900;padding:12px;border:1px solid #e5b83b;border-radius:7px;font-weight:700;margin:10px 0}

.design-submit{border:2px solid #17547b;border-radius:8px;padding:16px;margin:20px 0}.design-submit legend{font-weight:700;padding:0 8px}

.paytr-frame{width:100%;min-height:850px;border:0;background:white}

/* Public company and legal footer */
footer{display:grid;grid-template-columns:1.2fr .8fr 1.1fr 1.2fr;gap:32px}footer>div{min-width:0}footer h3{font-size:16px;margin:0 0 16px}footer address{font-style:normal;font-size:14px;line-height:1.7;margin-bottom:12px}footer small{display:block;color:#d5e3ec;font-size:12px;line-height:1.7;margin-top:10px}footer a{line-height:1.7;overflow-wrap:anywhere}footer a:hover{text-decoration:underline}footer .secondary{margin-top:12px;font-size:12px;padding:9px 12px}.footer-payment{grid-column:1/-1;border-top:1px solid #ffffff30;padding-top:18px;margin:0}.footer-test-mode{opacity:.85}@media(max-width:1000px){footer{grid-template-columns:1fr 1fr}}@media(max-width:600px){footer{grid-template-columns:1fr;gap:28px}}

/* v25: reserve the layout before asynchronous content arrives. */
.brand img{height:auto;aspect-ratio:1842/467;object-fit:contain}.header-main{min-height:84px}.utility-navigation{min-height:40px}#category-navigation{min-height:48px}#customer-links{min-height:24px}.detail #product-form,.product-form-skeleton{min-height:410px}.product-form-skeleton{background:#fff;border:1px solid var(--line);border-radius:8px}.detail-visual img{width:100%;height:100%;object-fit:contain}.product-image img{width:100%;height:100%;object-fit:contain}.hero-slider{min-height:390px}#product-price{min-height:64px}.product-info small,.muted{color:#526573}.eyebrow{color:#a92423}.same-order-payment{min-width:0}.same-order-payment .payment-tabs{display:flex;gap:10px;flex-wrap:wrap}.same-order-payment .payment-tabs button[aria-pressed=false]{background:#e5edf2;color:#193e54}.same-order-payment input{max-width:100%}.same-order-payment [data-choice-total]{font-size:22px;font-weight:700}.same-order-payment label{display:block;margin:14px 0}.same-order-payment [data-choice-notice]{padding:16px;border:1px solid var(--line);margin-top:20px}
@media(max-width:700px){.header-main{min-height:74px}.hero-slider{min-height:540px}.detail #product-form,.product-form-skeleton{min-height:440px}.same-order-payment .payment-tabs button{flex:1;padding:12px 10px}}

.home-content-skeleton{min-height:900px}.brand img{max-width:100%}.same-order-payment [data-choice-notice] input[type=file]{width:100%}

.detail-visual{min-height:490px}.detail-visual>img{height:360px}@media(max-width:700px){.detail-visual{min-height:380px}.detail-visual>img{height:250px}}
