/* Image Display */
.img-display {
  overflow: hidden;
  position: relative;
}

.img-showcase {
  display: flex;
  transition: transform 0.5s ease-in-out;
  width: 100%;
}

.img-showcase img {
  width: 100%;
  flex-shrink: 0;
  object-fit: cover;
  border-radius: 8px;
}

/* Thumbnail Selection */
.img-select .img-item {
  border: 2px solid transparent;
  border-radius: 5px;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.img-select .img-item:hover,
.img-select .img-item.active {
  border-color: #007bff;
}

/* Product Info Section */
.product-name {
  font-weight: 600;
  font-size: 1.8rem;
}

.product-description {
  font-size: 1rem;
  color: #555;
}

/* Responsive Adjustment */
@media (max-width: 767px) {
  .img-showcase {
    flex-direction: column;
  }

  .img-showcase img {
    margin-bottom: 200px;
  }
}

/* ===========================
   Product Info Section
=========================== */
.product-section {
  flex: 1 1 50%;
  padding: 20px;
}

.product-name {
  font-size: 1.8rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.product-description {
  font-size: 1rem;
  color: #555;
  line-height: 1.6;
}

.product-rating {
  margin-bottom: 1rem;
}

.product-rating .stars i {
  margin-right: 2px;
  color: #ffc107;
}

.review-count {
  font-size: 0.95rem;
  color: #555;
  margin-left: 10px;
}

/* ===========================
   Dealer Zip Code
=========================== */
.zip-lookup {
  margin-bottom: 1rem;
}

.zip-lookup label {
  font-weight: 500;
  font-size: 0.95rem;
  display: block;
  margin-bottom: 5px;
}

.zip-lookup input {
  max-width: 200px;
  padding: 8px;
  border: 1px solid #ccc;
  border-radius: 5px;
}

/* ===========================
   Buttons
=========================== */
.btn {
  padding: 10px 18px;
  border-radius: 6px;
  font-weight: 500;
  font-size: 0.95rem;
  border: none;
  cursor: pointer;
  transition: 0.3s ease;
}

.btn-primary {
  background-color: #0056b3;
  color: #fff;
}

.btn-warning {
  background-color: #ffc107;
  color: #000;
}

.btn-success {
  background-color:rgb(48, 138, 173);
  color: #fff;
}

.btn:hover {
  opacity: 0.9;
}

/* Action Buttons Layout */
.action-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 1.5rem;
}

/* ===========================
   Responsive Adjustments
=========================== */
@media (max-width: 767.98px) {
  .img-showcase {
    flex-direction: column;
  }

  .img-showcase img {
    max-height: 300px;
  }

  .img-select {
    justify-content: center;
  }

  .product-section {
    margin-top: 20px;
  }

  .action-buttons {
    flex-direction: column;
    align-items: stretch;
  }

  .zip-lookup input {
    width: 100%;
  }
}
/* Global Styles */
body {
  font-family: 'Helvetica Neue', Arial, sans-serif;
  background-color: #f8f9fa;
  color: #333;
  line-height: 1.6;
  margin: 0;
  padding: 0;
}

/* Accordion Styles */
.accordion-item {
  border: none;
  border-bottom: 1px solid #dee2e6;
  background-color: #fff;
}

.accordion-button {
  background-color: #fff;
  color: #333;
  font-weight: 500;
  border: 1px solid #dee2e6;
  border-radius: 0;
  padding: 1rem;
  transition: background-color 0.3s ease;
}

.accordion-button:hover {
  background-color: #e9ecef;
}

.accordion-button:not(.collapsed) {
  background-color: #e9ecef;
  box-shadow: inset 0 -1px 0 rgba(0, 0, 0, 0.125);
}

.accordion-collapse {
  border-top: 1px solid #dee2e6;
}

.accordion-body {
  padding: 1rem;
  background-color: #fff;
}

/* Tab Section Styles */
.tab {
  margin-bottom: 1rem;
}

.tab .tablinks {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.tab .tablinks:hover {
  background-color: #f1f1f1;
}

.tab .tablinks.active {
  background-color: #007bff;
  color: #fff;
  border-color: #007bff;
}

/* Tab Content Area */
.tabcontent {
  border: 1px solid #dee2e6;
  background-color: #fff;
  padding: 1.5rem;
  border-radius: 0.25rem;
  margin-bottom: 1.5rem;
}

/* Brochure Section (within Accordion Body) */
.accordion-body img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Reviews Section */
#reviews h3 {
  font-size: 1.75rem;
  margin-bottom: 1rem;
}

#reviews button.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.6rem 1.2rem;
  transition: background-color 0.3s ease;
}

#reviews button.btn-primary:hover {
  background-color: #0056b3;
}

#reviews .row .col-md-4 > div {
  background-color: #fff;
  border: 1px solid #dee2e6;
  border-radius: 0.25rem;
  padding: 1rem;
  transition: box-shadow 0.3s ease;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#reviews .row .col-md-4 > div:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

#reviews .row .col-md-4 h5 {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
}

/* Utility Classes for Icon Sizes (within Accordion) */
.accordion-body i {
  font-size: 1.2rem;
  margin-right: 0.5rem;
}

/* Additional Buttons (if used anywhere) */
.btn-primary {
  background-color: #007bff;
  border: none;
  padding: 0.5rem 1rem;
  transition: background-color 0.3s ease;
}

.btn-primary:hover {
  background-color: #0056b3;
}

/* Container for tab buttons */
.tab {
  display: flex;
  flex-wrap: wrap;
  border-bottom: 2px solid #ccc;
  margin-bottom: 20px;
}

/* Style each tab button */
.tab button {
  background-color: #f1f1f1;
  border: none;
  outline: none;
  cursor: pointer;
  padding: 12px 20px;
  transition: 0.3s;
  font-size: 16px;
}


/* Active tab button */
.tab button.active {
  background-color: #007bff;
  color: white;
}

/* Center the heading */
.container > h3 {
  text-align: center;
}

/* Remove hover effects on blog cards */
.blog-card {
  transition: none !important;
}

.blog-card:hover {
  box-shadow: none !important;
  transform: none !important;
}

/* Optional: Prevent image scaling or other hover styles */
.blog-card img {
  transition: none !important;
}
.blog-card img:hover {
  transform: none !important;
}
