/* Default navbar style */
/* Mobile first (small) */
.navbar {
  transition: all 0.3s ease;
  padding: 0.5rem 1rem;
  background: rgba(0, 0, 0, 0.6); /* black with 60% opacity */
}

.navbar-brand img {
  height: 32px;
}
.navbar a {
  text-decoration: none;
}

/* Desktop */
@media (min-width: 992px) {
  .navbar {
    padding: 1.5rem 3rem;
  }

  .navbar-brand img {
    height: 48px;
  }
}

/* Shrunk navbar on scroll */
.navbar.scrolled {
padding: 0.4rem 1rem;
background-color: #000;
}


.navbar.scrolled .nav-link,
.navbar.scrolled .navbar-brand {
color: #fff !important;
}

.navbar .nav-link:hover {
  color: #ccc !important;
}

.navbar a {
  color: white !important;
}

/* Hero section for scrolling */
.hero {
height: 100vh;
background: linear-gradient(rgba(0,0,0,0.4), rgba(0,0,0,0.4)),
url('/assets/extras/wollongong.jpeg');
background-size: cover;
background-position: center;
color: white;
display: flex;
align-items: center;
justify-content: center;
text-align: center;
}

.container-80 {
  width: 100%;
  margin-left: auto;
  margin-right: auto;
}

/* Desktop */
@media (min-width: 992px) {
  .container-80 {
    width: 80%;
  }
}

section {
padding: 100px 0;
}

h2 {
  position: relative;
  padding: 20px 0px 10px 0px;
}

h2::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 0;
  width: 100%;      /* bar length */
  height: 4px;     /* bar thickness */
  background: #ccc; /* grey */
}
.navbar-toggler {
  border-color: white;
}

.navbar-toggler-icon {
  filter: invert(1);
}
/* Base padding for mobile (small navbar) */
.page-content {
  padding-top: 60px; /* height of navbar on mobile */
}

/* Desktop padding (navbar height + 40px “margin”) */
@media (min-width: 992px) {
  .page-content {
    padding-top: 150px; /* e.g., 60px navbar + 40px spacing */
  }
}
#scrollTop {
  position: fixed;
  bottom: 0px;
  right: 20px;
  display: none;
  padding: 10px 14px;
  font-size: 18px;
  cursor: pointer;
}
.product-img {
    height: 220px;
    width: 100%;
    object-fit: cover;   /* fills the box without distortion */
}
.price-text {
    font-size: clamp(0.85rem, 1vw, 1rem);
}
/* Container */
.finder-form {
    max-width: 480px;
    margin: 20px auto;
    font-family: Arial, Helvetica, sans-serif;
}

/* Field block */
.finder-field {
    margin-bottom: 18px;
}

/* Labels */
.finder-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

/* Native select (Brand) */
#brand {
    width: 100%;
    height: 44px;
    padding: 8px 12px;
    font-size: 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.2s, box-shadow 0.2s;
}

#brand:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}

/* Select2 dropdown styling */
.select2-container--default .select2-selection--single {
    height: 44px;
    border-radius: 6px;
    border: 1px solid #ccc;
    display: flex;
    align-items: center;
}
.select2-container--default .select2-selection--single .select2-selection__rendered {
    padding-left: 12px;
    font-size: 14px;
    color: #333;
}
.select2-container--default .select2-selection--single .select2-selection__arrow {
    height: 44px;
    right: 10px;
}
.select2-container--default.select2-container--focus 
.select2-selection--single {
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.15);
}
.select2-dropdown { border-radius: 6px; border: 1px solid #ccc; overflow: hidden; }
.select2-search__field { padding: 8px; font-size: 14px; }
.select2-results__option { padding: 10px 12px; font-size: 14px; }
.select2-results__option--highlighted { background-color: #4f46e5; color: #fff; }

/* Mobile friendly */
@media (max-width: 480px) {
    .finder-form { padding: 0 12px; }
}

/* Results styling */
#results { margin-top: 20px; font-size: 14px; color: #333; }
#results h3 { margin-bottom: 8px; font-size: 16px; }
#results ul { padding-left: 18px; }
#results li { margin-bottom: 4px; }