/* =====================================
   PRODUCTS PAGE
===================================== */

.products-section {
  background-color: var(--darker-bg);
}

/* =====================================
   PRODUCT PAGE HEADER (ONLY PRODUCTS)
===================================== */

.product-page-header {
  position: relative;
  padding: 5rem 0 4rem;
  text-align: center;
  background: linear-gradient(
    135deg,
    rgba(10, 10, 10, 0.95) 0%,
    rgba(28, 28, 28, 0.95) 50%,
    rgba(10, 10, 10, 0.95) 100%
  );
  border-bottom: 1px solid rgba(167, 34, 29, 0.3);
  overflow: hidden;
}

/* subtle diagonal texture feel */
.product-page-header::before {
  content: "";
  position: absolute;
  inset: 0;
  background: repeating-linear-gradient(
    -45deg,
    rgba(255, 255, 255, 0.02),
    rgba(255, 255, 255, 0.02) 2px,
    transparent 2px,
    transparent 8px
  );
  pointer-events: none;
}

/* Title */
.product-page-title {
  font-family: "Antonio", sans-serif;
  font-size: 3.4rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1rem;
  letter-spacing: 1px;
}

/* Red accent word */
.product-page-title span {
  color: var(--primary-red);
}

/* Subtitle */
.product-page-subtitle {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.75);
  max-width: 680px;
  margin: 0 auto;
  line-height: 1.7;
}
/* ---------- FILTER BUTTONS ---------- */

.filter-buttons {
  display: flex;
  gap: 0.6rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.filter-btn {
  background: transparent;
  border: 1px solid rgba(167, 34, 29, 0.4);
  color: #ffffff;
  padding: 0.45rem 1.3rem;
  border-radius: 30px;
  cursor: pointer;
  transition: 0.3s ease;
}

.filter-btn.active,
.filter-btn:hover {
  background-color: var(--primary-red);
  border-color: var(--primary-red);
}

/* ---------- PRODUCT CARD ---------- */
/* Improve vertical spacing between product rows */
.product-item {
  margin-bottom: 1.5rem;
}
.product-card-full {
  background-color: var(--dark-bg);
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.08);
  height: 100%;
  position: relative;

  /* Better depth */
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.45),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);

  transition: transform 0.35s ease, box-shadow 0.35s ease,
    border-color 0.35s ease;
}

.product-card-full:hover {
  transform: translateY(-10px);
  border-color: rgba(167, 34, 29, 0.55);

  box-shadow: 0 22px 45px rgba(0, 0, 0, 0.65), 0 0 0 1px rgba(167, 34, 29, 0.25);
}

/* ---------- PRODUCT IMAGE ---------- */

.product-image-container {
  position: relative;
  height: 240px;
}

.product-image-full {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card-full:hover .product-image-full {
  transform: scale(1.08);
}

/* ---------- PRODUCT BADGE ---------- */

.product-badge {
  position: absolute;
  top: 14px;
  left: 14px;
  background-color: var(--primary-red);
  color: #ffffff;
  font-weight: 600;
  padding: 0.35rem 0.75rem;
  font-size: 0.85rem;
  border-radius: 5px;
}

/* ---------- PRODUCT DETAILS ---------- */

.product-details {
  padding: 1.6rem;
  display: flex;
  flex-direction: column;
  /* align-items: center;
     text-align: center; */
}

.product-details h4 {
  font-size: 1.25rem;
  margin-bottom: 1.2rem;
  font-family: "Antonio", sans-serif;
}

/* ---------- ENQUIRE BUTTON ---------- */

.product-enquire-btn i {
  color: #ffffff;
  width: 100%;
  max-width: 20px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  padding: 0.6rem 1rem;
  font-size: 0.95rem;
  font-weight: 600;
}

/* =====================================
   FIX ENQUIRE BUTTON BLUE ACTIVE STATE
   (PRODUCT PAGE ONLY)
===================================== */

.product-enquire-btn,
.product-enquire-btn:visited {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  color: #ffffff !important;
}

/* Hover */
.product-enquire-btn:hover {
  background-color: #8a1c18 !important;
  border-color: #8a1c18 !important;
  color: #ffffff !important;
}

/* Focus / Active (Bootstrap override) */
.product-enquire-btn:focus,
.product-enquire-btn:active,
.product-enquire-btn:focus-visible {
  background-color: var(--primary-red) !important;
  border-color: var(--primary-red) !important;
  color: #ffffff !important;
  box-shadow: 0 0 0 3px rgba(167, 34, 29, 0.35) !important;
  outline: none !important;
}

/* Remove Bootstrap blue glow */
.product-enquire-btn.btn-primary:focus {
  box-shadow: none !important;
}

/* ---------- FILTERING ---------- */

.product-item.hidden {
  display: none !important;
}

/* ---------- MOBILE OPTIMIZATION ---------- */

@media (max-width: 768px) {
  .product-page-header {
    padding: 3.8rem 0 3rem;
  }

  .product-page-title {
    font-size: 2.5rem;
  }

  .product-page-subtitle {
    font-size: 0.95rem;
  }
}

@media (max-width: 576px) {
  .product-page-title {
    font-size: 2.1rem;
  }
  .product-enquire-btn {
    width: 100%;
    max-width: none;
  }
}
