.hero-product {
  background:
    linear-gradient(rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.7)),
    url("https://protect.cermati.com/wp-content/uploads/2024/03/shutterstock_1133487605-1.jpg");
  background-size: cover;
  background-position: center;
  background-attachment: fixed;
  height: 40vh;
  min-height: 300px;
}

.border-top-yellow {
  border-top: 4px solid var(--primary-yellow);
}

.category-list li {
  padding: 8px 0;
  border-bottom: 1px solid #eee;
  transition: 0.3s;
}

.category-list li:last-child {
  border-bottom: none;
}

.category-list a {
  text-decoration: none;
  color: #666;
  display: block;
  font-size: 0.95rem;
  transition: 0.3s;
}

.category-list a:hover,
.category-list a.active {
  color: var(--primary-dark);
  padding-left: 5px;
  font-weight: 500;
}

.accordion-button:not(.collapsed) {
  background-color: rgba(252, 222, 18, 0.1);
  color: var(--industrial-black);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: rgba(0, 0, 0, 0.125);
}

.product-card {
  transition: all 0.3s ease;
}

.product-card:hover {
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
  border-color: var(--primary-yellow) !important;
  transform: translateY(-5px);
}

.product-img-wrap {
  height: 220px;
  background-color: #f8f9fa;
  display: flex;
  align-items: center;
  justify-content: center;
}

.product-img-wrap img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: 0.5s ease;
}

.product-card:hover .product-img-wrap img {
  transform: scale(1.1);
}

.hover-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.3);
  opacity: 0;
  transition: 0.3s;
}

.product-card:hover .hover-overlay {
  opacity: 1;
}

.page-link {
  border: none;
  margin: 0 5px;
  border-radius: 5px !important;
}
.page-link:focus {
  box-shadow: none;
}

/* Utility: Line Clamp 2 */
.text-truncate-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Product Detail Modal - Versus Style Redesign */
#productModal .modal-dialog {
  max-width: 900px;
}

#productModal .modal-content {
  background: transparent;
}

.min-h-400 {
  min-height: 450px;
}

.bg-soft-pink {
  background-color: #fff9e6; /* Light yellow background */
  flex: 1;
}

.vs-modal-info-side {
  flex: 1;
}

.vs-product-img {
  max-height: 300px;
  object-fit: contain;
  filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.vs-close-btn {
  position: absolute;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  color: white;
  border: none;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  z-index: 10;
}

.vs-close-btn:hover {
  background: var(--primary-yellow);
  color: #1a1a1a;
  transform: rotate(90deg);
}

.vs-title {
  font-family: "Oswald", sans-serif;
  font-size: 2.8rem;
  line-height: 1;
  font-weight: 800;
  text-transform: uppercase;
  color: #1a1a1a; /* Dark for better contrast with yellow theme */
}

.vs-category {
  font-size: 0.75rem;
  color: #888;
}

.vs-description {
  line-height: 1.8;
  font-size: 0.95rem;
}

.vs-btn-order {
  background-color: var(--primary-yellow);
  color: #1a1a1a;
  border: none;
  border-radius: 0;
  transition: all 0.3s ease;
  font-weight: 900;
  position: relative;
  overflow: hidden;
}

.vs-btn-order:hover {
  background-color: #1a1a1a;
  color: var(--primary-yellow);
  transform: translateY(-2px);
  box-shadow: 0 10px 20px rgba(252, 222, 18, 0.3);
}

.pulse-dot {
  width: 8px;
  height: 8px;
  background: #1a1a1a;
  border-radius: 50%;
  display: inline-block;
  animation: pulse 1.5s infinite;
}

@keyframes pulse {
  0% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.2);
  }
  70% {
    transform: scale(1);
    box-shadow: 0 0 0 10px rgba(0, 0, 0, 0);
  }
  100% {
    transform: scale(0.95);
    box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
  }
}

@media (max-width: 767.98px) {
  .vs-title {
    font-size: 2rem;
  }
  .min-h-400 {
    min-height: auto;
  }
}

/* Cursor pointer for brand cards */
.brand-card:hover {
    cursor: pointer;
}

/* Alternative: if the cursor-pointer class is used elsewhere */
.cursor-pointer {
    cursor: pointer !important;
}
