/* Products Page Specific Styles - Separate from other pages */

/* Color Variables for Products Page - Matching Customers Page Theme */
:root {
  --products-bg-cream: #ffffee;
  --products-bg-yellow: #ffeb3b;
  --products-dark-green: #0f2411;
  --products-light-yellow: #fff8bb;
  --products-button-green: #387f39;
  --products-text-dark: #080808;
  --products-bg-light-green: #f3faf3;
  --products-border-green: #3cad3f;
}

.products-body {
  margin-top: 0;
}

/* Smooth scroll with header offset */
html {
  scroll-padding-top: 100px;
  scroll-behavior: smooth;
}

.mobile-menu-expand-section {
  margin-top: 78px;
}

/* Products Page Container */
.products-page {
  min-height: 100vh;
  padding-top: 0;
}

/* Products Section */
.products-section {
  padding: 100px 8.33vw 80px;
  background-color: var(--products-bg-cream);
  min-height: calc(100vh - 88px);
}

.products-content-wrapper {
  max-width: 1400px;
  margin: 0 auto;
}

.products-section-title {
  font-family: var(--font-cg);
  font-size: 56px;
  font-weight: var(--bold);
  color: var(--products-dark-green);
  margin-bottom: 20px;
  text-align: center;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.products-section-subtitle {
  font-family: var(--font-gs);
  font-size: var(--font20);
  color: var(--products-text-dark);
  margin-bottom: 60px;
  text-align: center;
  font-weight: var(--medium);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 32px;
  margin-top: 40px;
}

.products-product-card {
  display: flex;
  flex-direction: column;
  background-color: white;
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.products-product-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.products-flower-card {
  background-color: var(--products-bg-light-green);
  border: 1px solid var(--products-border-green);
  border-radius: 16px 16px 0 0;
  overflow: hidden;
  aspect-ratio: 19/20;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.products-flower-card img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: translateY(20px) scale(0.9);
}

.products-flower-title {
  padding: 20px 16px;
  background-color: white;
  border-top: 1px solid #e0e0e0;
}

.products-flower-title p {
  font-family: var(--font-gs);
  font-size: var(--font16);
  color: var(--products-text-dark);
  font-weight: var(--semibold);
  text-align: center;
  margin: 0;
  line-height: 1.4;
}

/* Responsive Design */
/* Tablet and below (1024px and below) */
@media (max-width: 1024px) {
  .products-section {
    padding: 80px 6vw 60px;
  }

  .products-section-title {
    font-size: 48px;
  }

  .products-section-subtitle {
    font-size: var(--font18);
    margin-bottom: 50px;
  }

  .products-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
  }
}

/* Mobile (768px and below) */
@media (max-width: 768px) {
  .products-section {
    padding: 70px 6vw 50px;
  }

  .products-section-title {
    font-size: 40px;
    letter-spacing: 1px;
  }

  .products-section-subtitle {
    font-size: var(--font16);
    margin-bottom: 40px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .products-flower-title {
    padding: 16px 12px;
  }

  .products-flower-title p {
    font-size: 14px;
  }
}

/* Mobile (480px and below) */
@media (max-width: 480px) {
  .products-section {
    padding: 60px 4vw 40px;
  }

  .products-section-title {
    font-size: 32px;
  }

  .products-section-subtitle {
    font-size: 14px;
    margin-bottom: 30px;
  }

  .products-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }

  .products-flower-card {
    aspect-ratio: 1/1;
  }

  .products-flower-title {
    padding: 12px 10px;
  }

  .products-flower-title p {
    font-size: 13px;
  }
}

/* Mobile (360px and below) */
@media (max-width: 360px) {
  .products-section {
    padding: 50px 3vw 30px;
  }

  .products-section-title {
    font-size: 28px;
  }

  .products-grid {
    gap: 12px;
  }

  .products-flower-title p {
    font-size: 12px;
  }
}
