/* ============================================================
   挖掘机配件站 - 基础样式（Tailwind 编译前最小可用版）
   正式上线前运行: npm install && npm run build
   ============================================================ */

/* Reset */
*,::before,::after{box-sizing:border-box;border-width:0;border-style:solid;border-color:#e5e7eb}
html{line-height:1.5;-webkit-text-size-adjust:100%;tab-size:4;font-family:Inter,ui-sans-serif,system-ui,-apple-system,sans-serif}
body{margin:0;line-height:inherit}
h1,h2,h3,h4,h5,h6{font-size:inherit;font-weight:inherit}
a{color:inherit;text-decoration:inherit}
img,svg,video,canvas,audio,iframe,embed,object{display:block;vertical-align:middle}
img,video{max-width:100%;height:auto}
button,input,select,textarea{font:inherit;color:inherit;line-height:inherit}
table{border-collapse:collapse;border-spacing:0}

/* Layout */
.container{width:100%;max-width:1280px;margin-left:auto;margin-right:auto}
.flex{display:flex}.flex-col{flex-direction:column}.flex-wrap{flex-wrap:wrap}
.items-center{align-items:center}.items-start{align-items:flex-start}
.justify-between{justify-content:space-between}.justify-center{justify-content:center}.justify-end{justify-content:flex-end}
.flex-1{flex:1 1 0%}.flex-shrink-0{flex-shrink:0}
.gap-1{gap:.25rem}.gap-2{gap:.5rem}.gap-3{gap:.75rem}.gap-4{gap:1rem}.gap-6{gap:1.5rem}.gap-8{gap:2rem}
.space-y-2>*+*{margin-top:.5rem}.space-y-4>*+*{margin-top:1rem}.space-y-6>*+*{margin-top:1.5rem}

/* Grid */
.grid{display:grid}
.grid-cols-1{grid-template-columns:repeat(1,1fr)}
.grid-cols-2{grid-template-columns:repeat(2,1fr)}
@media(min-width:640px){.sm\:grid-cols-2{grid-template-columns:repeat(2,1fr)}.sm\:grid-cols-3{grid-template-columns:repeat(3,1fr)}}
@media(min-width:768px){.md\:grid-cols-2{grid-template-columns:repeat(2,1fr)}.md\:grid-cols-3{grid-template-columns:repeat(3,1fr)}.md\:col-span-2{grid-column:span 2}.md\:grid-cols-6{grid-template-columns:repeat(6,1fr)}}
@media(min-width:1024px){.lg\:grid-cols-2{grid-template-columns:repeat(2,1fr)}.lg\:grid-cols-3{grid-template-columns:repeat(3,1fr)}.lg\:grid-cols-4{grid-template-columns:repeat(4,1fr)}.lg\:grid-cols-5{grid-template-columns:repeat(5,1fr)}}
@media(min-width:1280px){.xl\:grid-cols-3{grid-template-columns:repeat(3,1fr)}}

/* Width & Height */
.w-3{width:.75rem}.w-4{width:1rem}.w-5{width:1.25rem}.w-6{width:1.5rem}.w-7{width:1.75rem}.w-10{width:2.5rem}.w-14{width:3.5rem}.w-16{width:4rem}.w-20{width:5rem}.w-32{width:8rem}
.w-full{width:100%}.max-w-md{max-width:28rem}.max-w-full{max-width:100%}
.h-1{height:.25rem}.h-3{height:.75rem}.h-4{height:1rem}.h-5{height:1.25rem}.h-6{height:1.5rem}.h-7{height:1.75rem}.h-10{height:2.5rem}.h-14{height:3.5rem}.h-16{height:4rem}.h-24{height:6rem}
.h-full{height:100%}.min-h-screen{min-height:100vh}

/* Typography */
.text-xs{font-size:.75rem}.text-sm{font-size:.875rem}.text-base{font-size:1rem}
.text-lg{font-size:1.125rem}.text-xl{font-size:1.25rem}.text-2xl{font-size:1.5rem}.text-3xl{font-size:1.875rem}.text-6xl{font-size:3.75rem}
.font-medium{font-weight:500}.font-semibold{font-weight:600}.font-bold{font-weight:700}
.text-center{text-align:center}.text-right{text-align:right}
.leading-relaxed{line-height:1.625}

/* Colors */
.text-white{color:#fff}.text-gray-300{color:#d1d5db}.text-gray-400{color:#9ca3af}.text-gray-500{color:#6b7280}.text-gray-600{color:#4b5563}.text-gray-700{color:#374151}.text-gray-900{color:#111827}
.text-blue-500{color:#3b82f6}.text-blue-600{color:#2563eb}.text-blue-700{color:#1d4ed8}
.text-yellow-400{color:#fbbf24}.text-yellow-500{color:#eab308}.text-yellow-700{color:#a16207}.text-yellow-800{color:#854d0e}
.text-green-600{color:#16a34a}.text-green-700{color:#15803d}.text-red-500{color:#ef4444}.text-red-700{color:#b91c1c}.text-orange-500{color:#f97316}

/* Backgrounds */
.bg-white{background:#fff}.bg-gray-50{background:#f9fafb}.bg-gray-100{background:#f3f4f6}.bg-gray-200{background:#e5e7eb}
.bg-gray-700{background:#374151}.bg-gray-900{background:#111827}
.bg-blue-50{background:#eff6ff}.bg-blue-100{background:#dbeafe}.bg-blue-600{background:#2563eb}
.bg-yellow-50{background:#fefce8}.bg-yellow-500{background:#eab308}
.bg-green-50{background:#f0fdf4}.bg-green-100{background:#dcfce7}
.bg-red-50{background:#fef2f2}.bg-orange-50{background:#fff7ed}

/* Borders */
.border{border-width:1px;border-color:#e5e7eb}.border-2{border-width:2px}
.border-t{border-top-width:1px}.border-b{border-bottom-width:1px}
.border-gray-300{border-color:#d1d5db}.border-gray-700{border-color:#374151}
.border-blue-200{border-color:#bfdbfe}.border-blue-300{border-color:#93c5fd}.border-blue-600{border-color:#2563eb}
.border-yellow-200{border-color:#fef08a}.border-red-200{border-color:#fecaca}.border-green-200{border-color:#bbf7d0}
.rounded{border-radius:.25rem}.rounded-lg{border-radius:.5rem}.rounded-xl{border-radius:.75rem}.rounded-full{border-radius:9999px}

/* Spacing */
.m-0{margin:0}.mx-auto{margin-left:auto;margin-right:auto}.mx-2{margin-left:.5rem;margin-right:.5rem}
.mt-1{margin-top:.25rem}.mt-2{margin-top:.5rem}.mt-3{margin-top:.75rem}.mt-4{margin-top:1rem}.mt-6{margin-top:1.5rem}.mt-8{margin-top:2rem}.mt-12{margin-top:3rem}
.mb-1{margin-bottom:.25rem}.mb-2{margin-bottom:.5rem}.mb-3{margin-bottom:.75rem}.mb-4{margin-bottom:1rem}.mb-6{margin-bottom:1.5rem}.mb-8{margin-bottom:2rem}.mb-10{margin-bottom:2.5rem}
.ml-1{margin-left:.25rem}.ml-2{margin-left:.5rem}.mr-1{margin-right:.25rem}
.p-1{padding:.25rem}.p-2{padding:.5rem}.p-3{padding:.75rem}.p-4{padding:1rem}.p-6{padding:1.5rem}.p-8{padding:2rem}
.px-2{padding-left:.5rem;padding-right:.5rem}.px-3{padding-left:.75rem;padding-right:.75rem}
.px-4{padding-left:1rem;padding-right:1rem}.px-6{padding-left:1.5rem;padding-right:1.5rem}
.py-0\.5{padding-top:.125rem;padding-bottom:.125rem}.py-1{padding-top:.25rem;padding-bottom:.25rem}
.py-1\.5{padding-top:.375rem;padding-bottom:.375rem}.py-2{padding-top:.5rem;padding-bottom:.5rem}
.py-2\.5{padding-top:.625rem;padding-bottom:.625rem}.py-3{padding-top:.75rem;padding-bottom:.75rem}
.py-8{padding-top:2rem;padding-bottom:2rem}.py-12{padding-top:3rem;padding-bottom:3rem}.py-16{padding-top:4rem;padding-bottom:4rem}
.pt-4{padding-top:1rem}.pt-6{padding-top:1.5rem}.pb-3{padding-bottom:.75rem}.pb-6{padding-bottom:1.5rem}

/* Positioning */
.relative{position:relative}.absolute{position:absolute}.sticky{position:sticky}.top-0{top:0}.top-2{top:.5rem}.left-2{left:.5rem}
.z-50{z-index:50}.overflow-hidden{overflow:hidden}.overflow-x-auto{overflow-x:auto}

/* Display */
.hidden{display:none}.inline{display:inline}.block{display:block}.inline-block{display:inline-block}
@media(min-width:640px){.sm\:inline{display:inline}}
@media(min-width:768px){.md\:inline{display:inline}.md\:block{display:block}}
@media(min-width:1024px){.lg\:flex{display:flex}.lg\:hidden{display:none}.lg\:block{display:block}.lg\:w-64{width:16rem}.lg\:w-1\/2{width:50%}}
@media(min-width:768px){.md\:text-left{text-align:left}.md\:text-5xl{font-size:3rem}.md\:text-3xl{font-size:1.875rem}.md\:text-xl{font-size:1.25rem}.md\:py-24{padding-top:6rem;padding-bottom:6rem}}

/* Transitions */
.transition{transition-property:color,background-color,border-color,text-decoration-color,fill,stroke,opacity,box-shadow,transform;transition-timing-function:cubic-bezier(.4,0,.2,1);transition-duration:.15s}
.duration-300{transition-duration:.3s}.duration-700{transition-duration:.7s}

/* Hover */
.hover\:bg-gray-50:hover{background:#f9fafb}.hover\:bg-gray-100:hover{background:#f3f4f6}.hover\:bg-gray-200:hover{background:#e5e7eb}
.hover\:bg-gray-700:hover{background:#374151}.hover\:bg-white:hover{background:#fff}
.hover\:bg-blue-50:hover{background:#eff6ff}.hover\:bg-blue-100:hover{background:#dbeafe}.hover\:bg-blue-600:hover{background:#2563eb}.hover\:bg-blue-700:hover{background:#1d4ed8}
.hover\:bg-yellow-400:hover{background:#facc15}.hover\:text-white:hover{color:#fff}.hover\:text-gray-900:hover{color:#111827}
.hover\:text-blue-600:hover{color:#2563eb}.hover\:text-yellow-400:hover{color:#fbbf24}.hover\:underline:hover{text-decoration:underline}
.hover\:border-blue-300:hover{border-color:#93c5fd}.hover\:border-blue-500:hover{border-color:#3b82f6}
.hover\:shadow-md:hover{box-shadow:0 4px 6px -1px rgb(0 0 0/.1),0 2px 4px -2px rgb(0 0 0/.1)}
.group:hover .group-hover\:text-blue-600{color:#2563eb}
.group:hover .group-hover\:scale-105{transform:scale(1.05)}

/* Shadow */
.shadow-sm{box-shadow:0 1px 2px 0 rgb(0 0 0/.05)}.shadow-xl{box-shadow:0 20px 25px -5px rgb(0 0 0/.1),0 8px 10px -6px rgb(0 0 0/.1)}

/* Aspect ratio */
.aspect-\[4\/3\]{aspect-ratio:4/3}

/* Object fit */
.object-cover{object-fit:cover}.object-contain{object-fit:contain}

/* Line clamp */
.line-clamp-2{overflow:hidden;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2}

/* Forms */
input,select,textarea{font-family:inherit}
input:focus,select:focus,textarea:focus{outline:2px solid transparent;outline-offset:2px}
input[type="text"],input[type="email"],input[type="password"],select,textarea{padding:.5rem .75rem;border:1px solid #d1d5db;border-radius:.5rem;width:100%}
input[type="text"]:focus,input[type="email"]:focus,select:focus,textarea:focus{border-color:#3b82f6;box-shadow:0 0 0 2px rgba(59,130,246,.3)}
.focus\:ring-2:focus{box-shadow:0 0 0 2px rgba(59,130,246,.3)}
.focus\:border-blue-500:focus{border-color:#3b82f6}

/* Buttons */
button:disabled{opacity:.5;cursor:not-allowed}
.cursor-pointer{cursor:pointer}

/* SVG */
svg{display:inline;vertical-align:middle}

/* Table-like layout for specs */
table{width:100%}td{padding:.5rem 0}

/* Banner gradient */
.bg-gradient-to-br{background-image:linear-gradient(to bottom right,var(--tw-gradient-stops))}
.from-gray-900{--tw-gradient-from:#111827;--tw-gradient-stops:var(--tw-gradient-from),var(--tw-gradient-to,transparent)}
.to-gray-700{--tw-gradient-to:#374151}

/* Fix for nested layout errors */
