/* Homepage Products Section */
.hp-products-section {
  padding: 4rem 0;
  background: #f8fafc;
  font-family: 'Poppins', 'Exo 2', sans-serif;
}
.hp-products-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 1.5rem;
}
.hp-products-header {
  text-align: center;
  margin-bottom: 2.5rem;
}
.hp-products-title {
  font-size: 2rem;
  font-weight: 700;
  color: #1f2937;
  margin: 0 0 0.75rem;
}
.hp-products-subtitle {
  font-size: 1.05rem;
  color: #6b7280;
  margin: 0;
  max-width: 600px;
  margin-inline: auto;
  line-height: 1.7;
}

/* Product Cards Grid */
.hp-products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 2.5rem;
}
.hp-product-card {
  display: flex;
  flex-direction: column;
  background: #ffffff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.06), 0 1px 3px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.hp-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.1), 0 4px 8px rgba(0,0,0,0.04);
}

/* Card Image */
.hp-product-card-img {
  position: relative;
  height: 200px;
  background: linear-gradient(135deg, #f1f5f9, #e2e8f0);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}
.hp-product-card-img img {
  max-width: 80%;
  max-height: 80%;
  object-fit: contain;
  transition: transform 0.3s ease;
}
.hp-product-card:hover .hp-product-card-img img {
  transform: scale(1.05);
}

/* Card Body */
.hp-product-card-body {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  flex: 1;
}
.hp-product-card-brand {
  font-size: 0.7rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #b86c25;
  margin-bottom: 0.35rem;
}
.hp-product-card-title {
  font-size: 1rem;
  font-weight: 600;
  color: #1f2937;
  margin: 0 0 0.5rem;
  line-height: 1.4;
}
.hp-product-card-desc {
  font-size: 0.85rem;
  color: #6b7280;
  margin: 0;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* CTA Button */
.hp-products-cta {
  text-align: center;
}
.hp-products-btn {
  display: inline-block;
  padding: 0.85rem 2.5rem;
  background: #b86c25;
  color: #ffffff;
  font-size: 0.95rem;
  font-weight: 600;
  border-radius: 99px;
  text-decoration: none;
  transition: background 0.25s ease, transform 0.2s ease;
  font-family: inherit;
}
.hp-products-btn:hover {
  background: #9c5a1e;
  transform: translateY(-2px);
}

/* RTL Support */
[dir="rtl"] .hp-products-section {
  direction: rtl;
}
[dir="rtl"] .hp-product-card-body {
  text-align: right;
}
[dir="rtl"] .hp-product-card-brand {
  letter-spacing: 0;
}

/* Responsive */
@media (max-width: 1024px) {
  .hp-products-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (max-width: 640px) {
  .hp-products-section {
    padding: 3rem 0;
  }
  .hp-products-title {
    font-size: 1.5rem;
  }
  .hp-products-subtitle {
    font-size: 0.95rem;
  }
  .hp-products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
  .hp-product-card-img {
    height: 150px;
  }
  .hp-product-card-body {
    padding: 1rem;
  }
  .hp-product-card-title {
    font-size: 0.9rem;
  }
  .hp-product-card-desc {
    font-size: 0.8rem;
    -webkit-line-clamp: 2;
  }
}
@media (max-width: 380px) {
  .hp-products-grid {
    grid-template-columns: 1fr;
  }
}
