/* ==== Global Image Handling ==== */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* ==== Fix for Navbar Logo Size ==== */
.navbar-brand img {
  height: 40px !important;
  width: auto;
  max-height: 40px;
}

/* ==== Hero Banner Styling ==== */
.hero-banner {
  background-color: #212529;
  color: #fff;
}

.hero-banner h1 {
  font-size: 2.5rem;
  font-weight: 700;
}

.hero-banner p.lead {
  font-size: 1.2rem;
}

/* Limit and scale banner images (e.g. Sale & USA made) */
.hero-banner img {
  max-height: 80px;
  width: auto;
  object-fit: contain;
}

/* ==== Sidebar Styling ==== */
.sidebar {
  border-right: 1px solid #dee2e6;
  padding-top: 1rem;
  min-height: 100%;
  background-color: #fff;
}

.sidebar h6 {
  font-size: 0.875rem;
  font-weight: bold;
  padding: 0.5rem 1rem;
  color: #444;
}

.sidebar .nav-link {
  color: #333;
  padding: 0.5rem 1rem;
  font-size: 0.95rem;
  transition: background-color 0.2s ease;
}

.sidebar .nav-link:hover {
  background-color: #f0f0f0;
  text-decoration: none;
}

/* Toggle Button */
.toggle-btn {
  display: block;
  text-align: center;
  font-size: 0.9rem;
  padding: 0.5rem;
  cursor: pointer;
  color: #007bff;
}

.toggle-btn:hover {
  text-decoration: underline;
}

/* ==== Product Card Styling ==== */
.card-hover {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  border: none;
}

.card-hover:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.1);
}

.card-title {
  font-size: 1rem;
  font-weight: 600;
}

.card-text {
  font-size: 0.85rem;
}

/* Product card images */
.card-img-top {
  object-fit: contain;
  height: 180px;
  width: 100%;
}

/* ==== Button Styling ==== */
.btn-flare {
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-flare:hover {
  background-color: #f0ad4e;
  color: #fff;
}

/* ==== Featured Section ==== */
section.bg-white {
  background-color: #ffffff !important;
}

/* ==== Footer Styling ==== */
footer small {
  font-size: 0.85rem;
  color: #ccc;
}
/* Responsive wider search bar */
@media (min-width: 768px) {
  .navbar form .form-control {
    min-width: 350px;
  }
}
/* Align hero banner side items */
.hero-banner .col-md-3 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  height: 100%;
}
/* Center image and text in hero columns */
.hero-banner .col-md-3 a {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}
/* Center the Shop Now button in the hero banner */
.hero-banner .btn {
  display: inline-block;
  margin: 0 auto;
}

/* Center the Get Started Today button */
section .btn-success {
  display: block;
  margin: 0 auto;
  text-align: center;
}
/* Animate buttons on hover */
.btn:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.15);
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

/* Smooth default transition */
.btn {
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
/* Keep headline on one line by default */
.hero-banner h1 {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 2.5rem; /* Desktop size */
}

/* On small screens, shrink font so it fits */
@media (max-width: 768px) {
  .hero-banner h1 {
    font-size: 1.5rem;
  }
}
/* Center and style two-line hero headline */
.hero-headline {
  text-align: center;
  font-size: 2.5rem;
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: 1rem;
}

/* Responsive font size for smaller screens */
@media (max-width: 768px) {
  .hero-headline {
    font-size: 1.7rem;
  }
