/* Home page specific styles */

:root {
  --accent: #d88195;
  --glass: rgba(255, 255, 255, 0.8);
  --dark: #2d3436;
}

.flower_grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 40px;
  padding: 40px;
  max-width: 1200px;
  margin: 0 auto;
}

.flower_card {
  position: relative;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 0 0 40px 0;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

.flower_card:hover {
  transform: translateY(-10px);
  box-shadow: 0 20px 40px rgba(216, 129, 149, 0.3);
}

.flower_pic {
  width: 100%;
  height: 350px;
  overflow: hidden;
}

.flower_pic img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: 0.8s;
}

.flower_card:hover .flower_pic img {
  transform: scale(1.1);
}

.card_info_overlay {
  position: absolute;
  bottom: 20px;
  left: 20px;
  right: 20px;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(8px);
  padding: 20px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  max-height: 200px;
  overflow-y: auto;
}

.flower_title {
  font-size: 1.4rem;
  color: white;
  margin: 0 0 10px 0;
  font-weight: bold;
}

.flower_desc {
  color: rgba(255, 255, 255, 0.9);
  font-size: 0.9rem;
  margin: 0 0 15px 0;
}

.flower_price {
  font-size: 1.2rem;
  color: var(--accent);
  font-weight: bold;
  margin: 0 0 10px 0;
}

.price_tag {
  font-size: 1.2rem;
  color: white;
  font-weight: bold;
  margin: 0 0 10px 0;
}

.rating {
  color: #ffd700;
  font-size: 1rem;
}

.btn-primary {
  background: var(--accent);
  border: none;
  color: white;
  padding: 10px 20px;
  border-radius: 10px;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background: #c76b83;
  transform: translateY(-2px);
}

.stock_tag {
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--accent);
  color: white;
  padding: 5px 10px;
  border-radius: 10px;
  font-size: 0.8rem;
  text-decoration: none;
}

.stock_tag.no_stock {
  background: red;
  color: white;
}

.stock_tag.in_stock {
  background: var(--accent);
  color: white;
}