/* SNV Auto Parts – Custom Styles */

body { font-family: 'Rubik', sans-serif; }

/* FIX 13: always start at top */
html { scroll-behavior: auto; }

/* Form focus */
input:focus, select:focus, textarea:focus {
  outline: 2px solid #FFD700;
  outline-offset: -1px;
  border-color: #FFD700 !important;
}

/* Primary colour helpers */
.text-primary  { color: #FFD700 !important; }
.bg-primary    { background-color: #FFD700 !important; }
.border-primary{ border-color: #FFD700 !important; }

.hover\:text-primary:hover   { color: #FFD700; }
.hover\:bg-primary:hover     { background-color: #FFD700; }
.hover\:bg-yellow-400:hover  { background-color: #FACC15; }
.hover\:bg-yellow-300:hover  { background-color: #FDE047; }
.hover\:bg-zinc-800:hover    { background-color: #27272a; }
.hover\:border-primary:hover { border-color: #FFD700; }

.group:hover .group-hover\:text-primary  { color: #FFD700; }
.group:hover .group-hover\:opacity-100   { opacity: 1; }
.group:hover .group-hover\:translate-x-1 { transform: translateX(0.25rem); }

.bg-primary\/5  { background-color: rgba(255,215,0,.05); }
.bg-primary\/10 { background-color: rgba(255,215,0,.10); }
.bg-primary\/15 { background-color: rgba(255,215,0,.15); }
.border-primary\/20 { border-color: rgba(255,215,0,.20); }
.border-primary\/40 { border-color: rgba(255,215,0,.40); }

/* Animate */
.animate-pulse { animation: pulse 2s cubic-bezier(.4,0,.6,1) infinite; }
@keyframes pulse { 0%,100% { opacity:1; } 50% { opacity:.5; } }

/* Tab scrolling on mobile */
.scrollbar-hide::-webkit-scrollbar { display: none; }
.scrollbar-hide { -ms-overflow-style: none; scrollbar-width: none; }

/* FIX 7: Mobile nav spacing */
@media (max-width: 479px) {
  .xs\:hidden  { display: none; }
}
@media (min-width: 480px) {
  .xs\:inline { display: inline; }
}

/* FIX 8: Ensure form order on mobile */
@media (max-width: 1023px) {
  .order-1 { order: 1 !important; }
  .order-2 { order: 2 !important; }
}

/* Transition */
.transition-transform { transition-property: transform; transition-duration:.15s; transition-timing-function:ease; }
