

/* =================================================
   PAGE HERO SECTION
================================================= */


.products-hero{
        position: relative;
  min-height: 92vh;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding: 4rem 0;
  text-align: center;
  background-image: url('images/products-background.webp');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}



.page-title {
  font-family: "Cinzel", serif;
  font-size: clamp(3rem, 6vw, 4.5rem);
  font-weight: 700;
  font-size: 4rem;
  color: rgba(224, 213, 213, 0.831);
  margin-bottom: 1.5rem;
  line-height: 1.1;
    text-shadow:
    0 2px 4px rgba(0, 0, 0, 1),
    0 4px 8px rgba(0, 0, 0, 0.8);
}

.page-subtitle {
  font-family: "Cinzel", serif;
  font-size: 1.5rem;
  font-style: italic;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.945);
  max-width: 800px;
  margin: 0 auto;
    text-shadow:
    0 2px 4px rgba(0, 0, 0, 1),
    0 4px 8px rgba(0, 0, 0, 0.8);
}
@media (max-width: 768px) {
    .products-hero{
      background-image: url('images/products-mobile.webp');
      background-position: center top;
    }
}
/* =================================================
   PRODUCTS SECTION
================================================= */
.products-section {
  padding: 6rem 0;
  background: #fff;
}

/* Loading State */
.loading-state {
  text-align: center;
  padding: 4rem 0;
}

.spinner {
  width: 50px;
  height: 50px;
  border: 4px solid rgba(20, 58, 29, 0.1);
  border-top-color: var(--secondary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  margin: 0 auto 1rem;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loading-state p {
  color: var(--text-muted);
  font-size: 1rem;
}

/* Error State */
.error-state {
  text-align: center;
  padding: 4rem 0;
}

.error-state p {
  color: #dc2626;
  font-size: 1.125rem;
  background: rgba(220, 38, 38, 0.1);
  padding: 1.5rem;
  border-radius: var(--radius-md);
  display: inline-block;
}

/* =================================================
   PRODUCTS GRID - EQUAL HEIGHT CARDS
================================================= */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 3rem;
  align-items: start;
}

/* =================================================
   PRODUCT CARD - EQUAL HEIGHTS
================================================= */
.product-card {
  background: #fff;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: all 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.product-card:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-hover);
}

/* Product Image - FIXED HEIGHT */
.product-card-image {
  width: 100%;
  height: 280px;
  overflow: hidden;
  background: #f9f9f9;
  position: relative;
  flex-shrink: 0;
}

.product-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.4s ease;
}

.product-card:hover .product-card-image img {
  transform: scale(1.08);
}

/* Product Info - FLEXIBLE CONTENT */
.product-card-info {
  padding: 2rem;
  flex: 1;
  display: flex;
  flex-direction: column;
}

.product-card-name {
  font-family: "Cormorant Garamond", serif;
  font-size: 1.75rem;
  font-weight: 600;
  color: var(--primary);
  margin-bottom: 0.75rem;
  line-height: 1.3;
}

.product-card-tagline {
  font-size: 1rem;
  color: var(--text-muted);
  line-height: 1.6;
  margin-bottom: 1rem;
}

/* Product Tags */
.product-tags {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.product-tag {
  display: inline-block;
  padding: 0.35rem 0.85rem;
  background: rgba(20, 58, 29, 0.08);
  color: var(--primary);
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  letter-spacing: 0.02em;
}

/* =================================================
   DESCRIPTION & BENEFITS - COMPACT
================================================= */

.product-description-section {
  margin-bottom: 1rem;
}

.product-description {
  font-size: 0.9rem;
  line-height: 1.6;
  color: var(--text-muted);
  background: rgba(20, 58, 29, 0.03);
  padding: 0.85rem;
  border-radius: var(--radius-sm);
  border-left: 3px solid var(--secondary);
}

.product-benefits-section {
  margin-bottom: 1.25rem;
  flex: 1;
}

.benefits-heading {
  font-size: 1rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
  font-weight: 600;
  font-family: "Cormorant Garamond", serif;
}

.benefits-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.benefits-list li {
  padding: 0.4rem 0 0.4rem 1.5rem;
  position: relative;
  color: var(--text-muted);
  line-height: 1.5;
  font-size: 0.875rem;
}

.benefits-list li::before {
  content: '✓';
  position: absolute;
  left: 0;
  color: var(--secondary);
  font-weight: bold;
  font-size: 1rem;
}

/* Product Actions - PUSHED TO BOTTOM */
.product-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: auto;
}

.product-actions .btn {
  flex: 1;
  text-align: center;
  justify-content: center;
  padding: 0.85rem 1.25rem;
  font-size: 0.95rem;
}

.btn-amazon {
  background: var(--primary);
  color: #fff;
  border: 2px solid var(--primary);
}

.btn-amazon:hover {
  background: #1f5a2a;
  border-color: #1f5a2a;
  transform: translateY(-2px);
  box-shadow: 0 6px 16px rgba(20, 58, 29, 0.25);
}

.btn-whatsapp {
  background: transparent;
  color: var(--primary);
  border: 2px solid var(--primary);
}

.btn-whatsapp:hover {
  background: var(--primary);
  color: #fff;
  transform: translateY(-2px);
}

/* WhatsApp Icon in Button */
.btn-whatsapp svg {
  width: 18px;
  height: 18px;
  margin-right: 6px;
  vertical-align: middle;
}

/* =================================================
   WHY CHOOSE SECTION
================================================= */
.why-choose-section {
  background: var(--background-light);
  padding: 6rem 0;
}

.section-heading {
  font-family: "Cormorant Garamond", serif;
  font-size: clamp(2.5rem, 5vw, 3.5rem);
  text-align: center;
  color: var(--primary);
  margin-bottom: 4rem;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 2.5rem;
}

.feature-item {
  text-align: center;
  padding: 2rem 1.5rem;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-soft);
  transition: transform 0.3s ease;
}

.feature-item:hover {
  transform: translateY(-4px);
}

.feature-icon {
  font-size: 3rem;
  margin-bottom: 1.25rem;
  display: block;
}

.feature-item h3 {
  font-size: 1.25rem;
  color: var(--primary);
  margin-bottom: 0.75rem;
  font-weight: 600;
}

.feature-item p {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* =================================================
   RESPONSIVE - TABLETS
================================================= */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
  }

  .product-card-image {
    height: 260px;
  }
}

/* =================================================
   RESPONSIVE - MOBILE
================================================= */
@media (max-width: 768px) {
  .products-hero {
    padding: 4rem 0 3rem;
  }

  .page-title {
    font-size: 3rem;
  }

  .page-subtitle {
    font-size: 1.5rem;
  }

  .products-section {
    padding: 4rem 0;
  }

  .products-grid {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  .product-card-image {
    height: 250px;
  }

  .product-card-info {
    padding: 1.5rem;
  }

  .product-card-name {
    font-size: 1.5rem;
  }

  .product-actions {
    flex-direction: column;
  }

  .product-actions .btn {
    width: 100%;
  }

  .why-choose-section {
    padding: 4rem 0;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .feature-item {
    padding: 1.5rem;
  }
}

@media (max-width: 480px) {
  .product-card-image {
    height: 220px;
  }

  .product-card-info {
    padding: 1.25rem;
  }

  .product-card-name {
    font-size: 1.35rem;
  }

  .product-card-tagline {
    font-size: 0.95rem;
  }

  .product-tag {
    font-size: 0.75rem;
    padding: 0.3rem 0.7rem;
  }

  .product-description {
    font-size: 0.85rem;
    padding: 0.75rem;
  }

  .benefits-list li {
    font-size: 0.825rem;
    padding: 0.35rem 0 0.35rem 1.5rem;
  }

  .section-heading {
    font-size: 2rem;
    margin-bottom: 3rem;
  }
}

/* =================================================
   UTILITY CLASSES FOR PRODUCTS PAGE
================================================= */
.text-center {
  text-align: center;
}

.flex {
  display: flex;
}

.flex-wrap {
  flex-wrap: wrap;
}

.gap-sm {
  gap: 0.5rem;
}

.gap-md {
  gap: 1rem;
}

.mb-1 {
  margin-bottom: 1rem;
}

.mb-2 {
  margin-bottom: 2rem;
}

/* =================================================
   ANIMATIONS
================================================= */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.product-card {
  animation: fadeIn 0.5s ease-out;
}

.product-card:nth-child(1) {
  animation-delay: 0.1s;
}

.product-card:nth-child(2) {
  animation-delay: 0.2s;
}

.product-card:nth-child(3) {
  animation-delay: 0.3s;
}

.product-card:nth-child(4) {
  animation-delay: 0.4s;
}

.product-card:nth-child(5) {
  animation-delay: 0.5s;
}

.product-card:nth-child(6) {
  animation-delay: 0.6s;
}
