/* X5 visual system — readable typography and responsive layouts. */
:root{--ink:#182f27;--muted:#56685e;--border:#dce5de;--paper:#f5f8f4;--radius:20px}
body{font-size:16px;line-height:1.65;font-weight:450;background:#fcfdfb}
h1,h2,h3{font-weight:650;letter-spacing:-.035em;text-wrap:balance}
h1{font-size:clamp(30px,3vw,46px)}h2{font-size:30px}h3{font-size:21px}
small{font-size:14px}p{overflow-wrap:anywhere}
a:focus-visible,button:focus-visible,summary:focus-visible{outline:3px solid var(--primary);outline-offset:4px}
input,select,textarea{font-size:16px;min-height:48px;padding:12px 14px;border-radius:12px;border-color:#cbd8ce;line-height:1.5}
input[type=checkbox]{width:20px;height:20px;min-height:20px}input[type=file]{font-size:14px;max-width:100%}
label{font-size:15px;font-weight:650;margin-bottom:20px}label input,label select,label textarea{font-weight:450}
.button{font-size:15px;min-height:48px;padding:12px 22px;border-radius:12px;gap:14px;font-weight:650;white-space:normal;text-align:center;box-shadow:0 4px 10px #17382a0b}
.button.small{padding:10px 18px}.button.outline{background:#fff;border-color:#bdcec2}.text-button{font-size:14px;min-height:40px}
.wrap{max-width:1504px;padding-left:48px;padding-right:48px}
.eyebrow,.admin-content .eyebrow{font-size:12px;letter-spacing:.17em;font-weight:700}
.topbar{font-size:13px;padding:10px 48px}.topbar span{opacity:1}
.store-header{height:112px}.brand img{max-width:220px;height:64px}.brand small{font-size:12px}
.store-header nav{font-size:16px;font-weight:550;gap:32px;margin-right:36px}.store-header nav a{padding:12px 0}
.count{width:28px;height:28px;line-height:28px;font-size:13px;flex-shrink:0}
.hero{padding-bottom:30px;min-height:540px}.hero-copy{padding:55px 48px;background:#edf3e5;border-radius:28px 0 0 28px}
.hero h1{font-size:clamp(40px,4.1vw,64px);font-weight:600;letter-spacing:-.055em;line-height:1.06}
.hero p{font-size:18px;max-width:440px;color:var(--muted)}.hero-proof{font-size:13px;gap:20px;flex-wrap:wrap}
.hero-art{border-radius:0 28px 28px 0}.hero-art>img{max-height:560px}.orbit-label{font-size:11px;width:108px;height:108px}.art-caption{font-size:13px;padding:16px 20px;border-radius:16px}
.benefits{font-size:14px;font-weight:550;gap:24px;padding-top:10px;padding-bottom:30px}.benefits b{font-size:12px;display:inline-flex;align-items:center;justify-content:center;width:36px;height:36px;padding:0;background:#e9f1e3}
.catalog-section{padding-top:64px;padding-bottom:64px}.catalog-section h2{font-size:clamp(28px,2.5vw,38px)}.section-heading{margin-bottom:30px;gap:24px}.section-heading>.subtle{font-size:14px}
.catalog-layout{grid-template-columns:260px minmax(0,1fr);gap:30px}.filters{align-self:start}.filters form{border:1px solid var(--border);border-radius:20px;padding:22px;background:#fff;box-shadow:0 8px 28px #233c2905}
.filters h3{font-size:19px;line-height:1.35;letter-spacing:-.03em;margin-bottom:24px}.filters label{font-size:14px;margin-bottom:18px}.filters input,.filters select{font-size:15px;padding:12px;min-height:46px}.filters .check input{min-height:20px}.clear{font-size:14px;margin-bottom:0}.filter-note{padding:24px;border-radius:20px}.filter-note h4{font-size:18px}.filter-note p{font-size:14px}
.product-grid{gap:24px}.product-card{background:#fff;border:1px solid var(--border);border-radius:22px;overflow:hidden;display:flex;flex-direction:column;transition:box-shadow .2s,border-color .2s,transform .2s}
.product-card:hover{border-color:#b8cbbc;box-shadow:0 16px 36px #183d2910;transform:translateY(-3px)}
.product-photo{height:auto;aspect-ratio:1.16;border-radius:0;background:#f1f4ed;padding:28px}.product-badge{font-size:11px;padding:6px 10px;border-radius:8px;color:#415a48;top:14px;left:14px;font-weight:550}
.photo-arrow{width:36px;height:36px;line-height:36px;font-size:18px;right:14px;bottom:14px}
.product-info{padding:20px;display:flex;flex:1;flex-direction:column}.product-category{font-size:12px;letter-spacing:.03em;color:var(--primary);font-weight:600}
.product-info h3{font-size:17px;font-weight:650;line-height:1.45;letter-spacing:-.02em;margin:10px 0 16px;min-height:50px;overflow-wrap:anywhere}
.product-meta{font-size:12px;flex-wrap:wrap;gap:6px 12px;margin-top:auto}.card-bottom{margin-top:18px;padding-top:14px;gap:10px;flex-wrap:wrap;font-size:14px}.stock{font-size:13px;font-weight:550}.card-bottom>a{padding:8px 12px;border-radius:9px;background:#edf4e9;font-size:13px}
.stock-note{font-size:14px;margin-top:24px}.pagination{font-size:15px;gap:16px}.pagination a{padding:12px 20px;border:1px solid var(--border);border-radius:12px;background:#fff}
.how{max-width:1408px;border-radius:28px;padding:48px;gap:64px;background:#eaf1e2}.how h2{font-size:40px}.how>div>p{font-size:17px;max-width:440px}.how-steps article{padding:20px 0}.how-steps h3{font-size:19px}.how-steps p{font-size:15px}.how-steps b{font-size:15px;font-weight:650}
.store-content>nav[aria-label]{padding-bottom:40px}.store-content>nav[aria-label] p{line-height:2.3;font-size:14px}.store-content>nav[aria-label] a:hover{text-decoration:underline}
.footer{font-size:15px;padding-top:42px;padding-bottom:42px;gap:30px}.footer small{font-size:13px}.footer>div{min-width:0;overflow-wrap:anywhere}
.detail{padding-top:32px}.breadcrumb{font-size:14px}.detail-grid{gap:48px;grid-template-columns:minmax(0,1fr) minmax(0,1fr)}.detail h1{font-size:clamp(30px,3vw,42px)}.detail-photo{background:#f0f4eb;border:1px solid var(--border);border-radius:26px}.description{font-size:17px;color:var(--muted)}
.variants a{font-size:14px;border-radius:12px;padding:12px 16px}.variants small{font-size:12px}.variants .selected{border-width:2px;padding:11px 15px}.stock-line{flex-wrap:wrap;gap:12px}.stock-line small{font-size:13px}
.panel{padding:30px;border-radius:20px;box-shadow:0 5px 20px #173c2304}.panel h2{font-size:25px;line-height:1.25}.soft-note{font-size:15px;padding:20px;border-radius:14px;color:#405743}.flash{font-size:15px;max-width:1408px;border-radius:12px}.upload-box{border-radius:14px}.upload-box small,.spam-check small{font-size:13px}.consent{font-size:14px}.cart-item strong{font-size:16px}.cart-item small{font-size:13px}.cart-item span{font-size:14px}.cart-item img{width:88px;height:88px;border-radius:12px}.login-box{max-width:500px}.login-box h1{font-size:34px}
.admin-body{background:#f2f6f2;font-size:16px}.sidebar{width:260px;padding:32px 20px 24px;border-right-color:#dce6dd;overflow-y:auto}.sidebar .brand{margin-bottom:40px}.sidebar .brand img{max-width:205px;height:60px}.nav-label{font-size:11px;color:#607367;letter-spacing:.14em;margin-bottom:18px}.sidebar nav{gap:6px}.sidebar nav a{font-size:15px;font-weight:550;color:#4b6255;padding:13px 16px;border-radius:12px;gap:12px;min-height:50px}.sidebar nav a span{font-size:21px;width:24px;flex-shrink:0}.sidebar nav a:hover{background:#f0f5ec}.sidebar nav a.active{background:var(--primary);color:#fff;box-shadow:0 6px 16px #183d2918}.sidebar-bottom{font-size:15px;padding-top:20px;margin-top:auto}.sidebar-bottom small{font-size:12px}
.admin-main{margin-left:260px}.admin-top{height:80px;padding:0 40px;font-size:14px}.avatar{width:38px;height:38px;line-height:38px}.admin-content{padding:38px 40px;max-width:1700px}.admin-content h1{font-size:clamp(28px,2.5vw,38px);overflow-wrap:anywhere;line-height:1.25}.admin-content .section-heading>div{min-width:0}.admin-content .section-heading p{font-size:16px}
.stats-grid{gap:20px}.stat{border-radius:20px;padding:26px;gap:14px;border-top:3px solid color-mix(in srgb,var(--primary) 35%,#fff)}.stat>span{font-size:15px;color:#4b6255;font-weight:550}.stat>strong{font-size:44px;font-weight:600;line-height:1.2}.stat>small{font-size:13px;color:var(--muted)}.stat .date-stat{font-size:28px}.stat strong small{color:var(--muted)}
table{font-size:14px;line-height:1.6}th{font-size:12px;font-weight:650;letter-spacing:.025em;color:#4e6556;background:#edf3e9;padding:16px}td{padding:20px 16px;border-color:#e4ebe2}td strong{font-size:14px;font-weight:650}td small{font-size:13px}.table-scroll{border:1px solid var(--border);border-radius:14px}.table-scroll table{min-width:680px}.table-scroll tbody tr:hover{background:#fafcf7}.status{font-size:13px;border-radius:8px;padding:6px 11px;font-weight:600;color:#746020}.status-button{font-size:13px;min-height:40px;padding:8px 12px;border-radius:9px}.table-product{min-width:250px}.table-product img{width:64px;height:64px;border-radius:12px}.quick-add input{width:80px}.quick-add select{width:100px}
.integration-card{padding:30px;border-radius:20px;gap:22px;background:#e6efdc}.integration-card h3,.dashboard-bottom .panel h3{font-size:23px}.integration-card p{font-size:15px}.integration-card small{font-size:13px}.integration-card>a{font-size:15px}.quote-client{gap:24px;flex-wrap:wrap}.quote-client>div{min-width:0;overflow-wrap:anywhere}.quote-client h2{font-size:24px}.quote-client p{font-size:15px}.quote-client small{font-size:13px}.price-input{width:125px;font-size:16px;padding:10px 12px}.total{font-size:16px;align-items:center;gap:16px;flex-wrap:wrap}.total strong{font-size:34px;letter-spacing:-.04em}.category-row small{font-size:13px}.category-row label{font-size:14px}.category-row{flex-wrap:wrap}.category-row>div{min-width:220px}.toolbar{flex-wrap:wrap}.toolbar input{min-width:180px}.form-grid>*{min-width:0}.panel details summary{cursor:pointer;font-weight:650;padding:12px 0;font-size:16px}.panel details[open] summary{margin-bottom:20px}
@media(min-width:1200px){.filters{position:sticky;top:24px}.admin-content .quote-layout{grid-template-columns:minmax(0,1.35fr) minmax(360px,1fr)}}
@media(max-width:1200px){.wrap{padding-left:28px;padding-right:28px}.catalog-layout{grid-template-columns:230px minmax(0,1fr);gap:24px}.product-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.hero-copy{padding:36px}.hero h1{font-size:48px}.hero-proof{font-size:12px;gap:10px}.hero p{font-size:17px}.how{margin-left:28px;margin-right:28px;padding:36px;gap:36px}.sidebar{width:230px;padding:26px 14px}.sidebar nav a{font-size:14px;padding:12px}.sidebar .brand img{max-width:190px}.admin-main{margin-left:230px}.admin-content{padding:28px}.stats-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.quote-layout{grid-template-columns:1fr}.admin-content .form-grid{gap:18px}.admin-top{padding:0 28px}.dashboard-bottom{grid-template-columns:1fr}}
@media(max-width:850px){.hero h1{font-size:40px}.hero-copy{padding:30px}.hero-art .orbit-label{font-size:10px;width:88px;height:88px}.hero-proof{flex-direction:column}.art-caption{font-size:12px;padding:12px;left:16px;bottom:16px}.store-header nav{gap:18px;margin-right:0;font-size:14px}.brand img{max-width:180px}.benefits{font-size:13px;gap:16px}.catalog-layout{grid-template-columns:1fr}.filters form{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px}.filters h3{grid-column:1/-1;margin-bottom:0}.filters label{margin:0}.filters .button{align-self:end}.filters .check{align-self:center}.filters .clear{align-self:center;margin:0}.filter-note{display:none}.how h2{font-size:34px}.detail-grid{gap:28px}.sidebar{position:static;width:100%;height:auto;padding:22px 24px 14px;overflow:visible}.sidebar .brand{margin-bottom:20px}.sidebar nav{flex-direction:row;overflow-x:auto;padding-bottom:8px;gap:8px}.sidebar nav a{font-size:14px;padding:10px 15px;min-height:44px;flex-shrink:0}.sidebar nav a span{display:none}.nav-label,.sidebar-bottom{display:none}.admin-main{margin-left:0}.admin-top{height:64px;font-size:14px}.admin-content{padding:28px 24px}.detail-photo{padding:28px;min-height:340px}.footer{flex-wrap:wrap}.footer>div:first-child{width:100%}}
@media(max-width:600px){body,.admin-body{font-size:16px}.wrap{padding-left:20px;padding-right:20px}.store-header{height:92px;gap:14px}.brand img{max-width:155px;height:54px}.store-header .button{font-size:13px;padding:10px 12px;gap:8px;min-height:44px}.topbar{font-size:12px;padding:9px 18px}.hero{grid-template-columns:1fr;padding-top:0;min-height:0}.hero-copy{border-radius:22px 22px 0 0;padding:32px 26px}.hero h1{font-size:44px}.hero p{font-size:16px}.hero-proof{flex-direction:row;font-size:12px;gap:12px;margin-top:24px}.hero-art{height:290px;border-radius:0 0 22px 22px}.hero-art>img{object-fit:contain}.art-caption{font-size:12px}.benefits{gap:14px;font-size:12px;align-items:flex-start}.benefits b{display:flex;margin-bottom:9px;font-size:12px}.catalog-section{padding-top:36px;padding-bottom:40px}.catalog-section h2{font-size:29px}.section-heading>.subtle{font-size:14px}.filters form{grid-template-columns:1fr 1fr;padding:18px;gap:14px}.filters label{font-size:14px}.filters label:first-of-type{grid-column:1/-1}.filters input,.filters select{font-size:16px;padding:10px}.filters .button{padding:10px 12px;font-size:14px}.filters .clear{font-size:13px}.product-grid{gap:14px}.product-photo{height:auto;aspect-ratio:1;padding:20px 14px}.product-info{padding:14px}.product-info h3{font-size:15px;min-height:0;line-height:1.45}.product-category{font-size:11px;letter-spacing:0}.product-meta{font-size:12px}.product-badge{font-size:10px;padding:4px 6px;left:10px;top:10px}.photo-arrow{width:30px;height:30px;line-height:30px;right:10px;bottom:10px}.card-bottom{gap:6px;margin-top:12px;padding-top:10px}.stock{font-size:12px}.card-bottom>a{font-size:13px;padding:6px 10px}.product-card{border-radius:16px}.stock-note{font-size:13px}.how{margin:0 20px 36px;padding:28px 24px;grid-template-columns:1fr;gap:16px;border-radius:22px}.how h2{font-size:32px}.how>div>p{font-size:16px}.how-steps h3{font-size:18px}.how-steps p{font-size:15px}.footer{font-size:14px;gap:28px}.detail-grid{grid-template-columns:1fr}.detail h1{font-size:32px}.description{font-size:16px}.detail-photo{min-height:300px}.stock-line small{font-size:13px}.panel{padding:22px 18px;border-radius:16px}.panel h2{font-size:23px}.form-grid{grid-template-columns:1fr;gap:0}.admin-content .form-grid{gap:0}.cart-item strong{font-size:15px}.cart-item small{font-size:13px}.cart-item .text-button{font-size:14px}.cart-item img{width:68px;height:68px}.sidebar{padding:20px 16px 10px}.sidebar nav a{font-size:14px}.admin-top{padding:0 20px}.admin-content{padding:26px 16px}.admin-content h1{font-size:29px}.stats-grid{gap:12px}.stat{padding:20px 16px;gap:10px}.stat>span{font-size:14px}.stat>strong{font-size:35px}.stat>small{font-size:12px}.stat .date-stat{font-size:23px}.quote-client>div{width:100%}.quote-client h2{font-size:23px}.total strong{font-size:30px}.toolbar select{max-width:none}.category-row>div{min-width:0;flex-basis:100%}.category-row label{width:auto;flex:1 1 100%}.login-box{margin:30px 20px 50px}.empty h1{font-size:29px}.empty{padding:40px 20px}}
@media(max-width:380px){.product-grid{grid-template-columns:1fr}.product-info h3{font-size:17px}.product-photo{aspect-ratio:1.2}.store-header .brand img{max-width:125px}.hero h1{font-size:38px}.stats-grid{grid-template-columns:1fr}}
@media(prefers-reduced-motion:reduce){html{scroll-behavior:auto}*,*::before,*::after{transition:none!important;animation:none!important}}

