/* ==========================================================================
   PRODUCTS CATALOG PAGE - 1:1 PIXEL-PERFECT RECREATION
   Matching the reference design screenshot exactly.
   ========================================================================== */

/* --- 1. HERO BANNER --- */
.prod-hero-banner {
  position: relative;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  padding: 85px 0 115px 0;
  text-align: center;
  width: 100%;
  overflow: hidden;
}

.prod-hero-banner-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, rgba(32, 10, 8, 0.65) 0%, rgba(32, 10, 8, 0.8) 100%);
}

.prod-hero-banner .container {
  position: relative;
  z-index: 2;
  max-width: 1140px;
  margin: 0 auto;
  padding: 0 20px;
}

.prod-hero-title {
  font-family: var(--font-serif, "Playfair Display", serif);
  font-size: 45px;
  font-weight: 600;
  color: #FFFFFF;
  margin-bottom: 14px;
  line-height: 1.2;
}

.prod-hero-desc {
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 15px;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  max-width: 780px;
  margin: 0 auto 20px auto;
  line-height: 1.65;
}

.prod-hero-breadcrumbs {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: #FFFFFF;
  font-size: 14.5px;
  font-family: var(--font-body, "Poppins", sans-serif);
}

.prod-hero-breadcrumbs a {
  color: #FFFFFF;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: opacity 0.2s;
}

.prod-hero-breadcrumbs a:hover {
  opacity: 0.8;
}

.prod-hero-breadcrumbs .sep {
  opacity: 0.7;
}

.prod-hero-breadcrumbs .active {
  color: #FFFFFF;
  font-weight: 500;
}

/* Organic Wave Shape Divider at Banner Bottom */
.prod-hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  width: 100%;
  overflow: hidden;
  line-height: 0;
  z-index: 3;
}

.prod-hero-wave svg {
  position: relative;
  display: block;
  width: 100%;
  height: 65px;
}

/* --- 2. CATALOG SECTION & GRID --- */
.products-catalog-section {
  padding: 50px 0 95px 0;
  background-color: #FFFFFF;
}

.products-catalog-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
  width: 100%;
}

/* --- 3. UNIFIED PRODUCT CARD (Continuous Red Border) --- */
.prod-item-card {
  background-color: #FFFFFF;
  border: 1.5px solid #8B2318;
  border-radius: 14px;
  padding: 24px 20px 20px 20px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.03);
}

.prod-item-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 12px 30px rgba(139, 35, 24, 0.12);
}

/* Card Thumbnail */
.prod-card-thumb {
  width: 100%;
  height: 230px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 18px;
}

.prod-card-thumb a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
}

.prod-card-thumb img {
  max-width: 200px;
  max-height: 200px;
  width: auto;
  height: auto;
  object-fit: contain;
  transition: transform 0.3s ease;
}

.prod-item-card:hover .prod-card-thumb img {
  transform: scale(1.04);
}

/* Product Title */
.prod-card-name {
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 15.5px;
  font-weight: 700;
  color: #1C1311;
  text-align: center;
  margin-bottom: 22px;
  margin-top: auto;
  line-height: 1.35;
  min-height: 42px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.prod-card-name a {
  color: #1C1311;
  text-decoration: none;
  transition: color 0.2s ease;
}

.prod-item-card:hover .prod-card-name a,
.prod-card-name a:hover {
  color: #8B2318;
}

/* Dual Action Buttons Row */
.prod-card-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  width: 100%;
  margin-top: auto;
}

/* Left Button: "Get A Quote" (Navy Blue) */
.btn-card-quote-action {
  background-color: #18387C;
  color: #FFFFFF !important;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.btn-card-quote-action:hover {
  background-color: #0F2554;
  box-shadow: 0 4px 12px rgba(24, 56, 124, 0.35);
  color: #FFFFFF !important;
}

.btn-card-quote-action i {
  font-size: 11px;
}

/* Right Button: "View More >" (Brand Maroon/Red) */
.btn-card-viewmore-action {
  background-color: #8B2318;
  color: #FFFFFF !important;
  border: none;
  border-radius: 6px;
  padding: 9px 10px;
  font-family: var(--font-body, "Poppins", sans-serif);
  font-size: 13px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  cursor: pointer;
  transition: all 0.25s ease;
  width: 100%;
}

.btn-card-viewmore-action:hover {
  background-color: #6E1A17;
  box-shadow: 0 4px 12px rgba(139, 35, 24, 0.35);
  color: #FFFFFF !important;
}

.btn-card-viewmore-action i {
  font-size: 12px;
}

/* --- 4. RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 992px) {
  .products-catalog-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
  .prod-hero-title {
    font-size: 38px;
  }
}

@media (max-width: 650px) {
  .products-catalog-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  .prod-hero-banner {
    padding: 60px 0 85px 0;
  }
  .prod-hero-wave svg {
    height: 45px;
  }
  .prod-hero-title {
    font-size: 30px;
  }
  .prod-hero-desc {
    font-size: 14px;
  }
  .prod-card-thumb {
    height: 200px;
  }
  .prod-card-thumb img {
    max-width: 180px;
    max-height: 180px;
  }
}
