/* Store Page Specific Styles */
/* Building on existing styles from main.css and adaptive.css */

/* Store Section */
.store-section {
  padding: 4rem 0;
  background-color: var(--bg-light, #f9f9f9);
}

/* Products Grid */
.products-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 2rem;
  padding: 2rem 0;
}

/* Product Card */
.product-card {
  background: var(--card-bg, #fff);
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
  height: 100%;

  &:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
  }
}

/* Product Title */
.product-title {
  font-size: 1.25rem;
  font-weight: 600;
  color: var(--text-color, #333);
  margin: 1rem 1rem 0.5rem;
  text-align: center;
  line-height: 1.3;
}

/* Product Image */
.product-image {
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

/* Product Image */
.product-image {
  position: relative;
  overflow: hidden;
  padding-top: 100%; /* 1:1 Aspect Ratio */
  background-color: #f5f5f5;
}

.product-image img {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.product-card:hover .product-image img {
  transform: scale(1.05);
}

/* Button Base */
.product-actions .btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 4rem;
  padding: 0 1.5rem;
  background-color: var(--pfc-color-bg,);
  border: 2px solid var(--pfc-color-border,);
  border-radius: 12px;
  box-shadow: 0 5px 0 var(--pfc-color-border,);
  transition: all 0.2s ease-in-out;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin: 0.5rem 0;
  position: relative;
  overflow: hidden;
}

/* Show text in buttons */
.btn span {
  display: inline-block;
  font-size: 1.2rem;
  font-weight: 900;
}

/* Like Button */
.like-btn {
  --pfc-color-bg: #ffffff;
  --pfc-color-border: #4CAF50;
  color: #4CAF50;
}

.like-btn:hover {
  background-color: #4CAF50;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 0 var(--pfc-color-border, #4CAF50);
}

.like-btn:active {
  transform: scale(0.95);
}

.like-btn i {
  transition: transform 0.3s ease;
}

.like-btn:hover i {
  transform: scale(1.2);
}

/* Dislike Button */
.dislike-btn {
  --pfc-color-bg: #ffffff;
  --pfc-color-border: #F44336;
  color: #F44336;
  border-radius: 8px;
}

.dislike-btn:hover {
  background-color: #F44336;
  color: white;
  transform: translateY(-5px);
  box-shadow: 0 8px 0 var(--pfc-color-border, #F44336);
}

.dislike-btn:active {
  transform: scale(0.95);
}

.dislike-btn i {
  transition: transform 0.3s ease;
}

.dislike-btn:hover i {
  transform: scale(1.2);
}

/* Product Actions Container */
.product-actions {
  display: flex;
  flex-direction: row;
  gap: 0.75rem;
  padding: 0.5rem;
  background: rgba(255, 255, 255, 0.95);
  border-top: 1px solid rgba(0, 0, 0, 0.05);
  margin-top: auto;
  width: 100%;
  box-sizing: border-box;
}

/* Voted State */
.product-voted {
  text-align: center;
  padding: 1rem;
  background-color: #f8f9fa;
  color: #28a745;
  font-weight: 500;
  display: none;
}

.product-card.voted .product-actions {
  display: none;
}

.product-card.voted .product-voted {
  display: block;
}

/* Thank You Section */
.waitlist {
  padding: 4rem 0;
  /* background-color: var(--bg-light, #f9f9f9); */
  text-align: center;
}

.waitlist-content {
  max-width: 600px;
  margin: 0 auto;
  padding: 2rem;
  background: var(--card-bg, #fff);
  border-radius: var(--border-radius, 12px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.waitlist h2 {
  color: var(--heading-color, #333);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.waitlist p {
  color: var(--text-muted, #666);
  margin-bottom: 2rem;
  line-height: 1.6;
}

/* Waitlist Form */
.waitlist-form {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  max-width: 400px;
  margin: 0 auto;
}

.waitlist-form .form-input {
  width: 100%;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  border: 2px solid var(--border-color, #e0e0e0);
  border-radius: 8px;
  transition: border-color 0.3s ease, box-shadow 0.3s ease;
  outline: none;
}

.waitlist-form .form-input:focus {
  border-color: var(--accent-color, #DA3E27);
  box-shadow: 0 0 0 3px rgba(218, 62, 39, 0.1);
}

.waitlist-form .btn-accent {
  width: 100%;
  padding: 0.875rem 1.5rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--accent-color, #DA3E27);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.waitlist-form .btn-accent:hover {
  background-color: #c43520;
  transform: translateY(-2px);
}

.waitlist-form .btn-accent:active {
  transform: translateY(0);
}

/* Voting Complete Message */
.voting-complete {
  max-width: 600px;
  margin: 3rem auto 0;
  padding: 2.5rem;
  text-align: center;
  background: var(--card-bg, #fff);
  border-radius: var(--border-radius, 12px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
  border: 1px solid rgba(0, 0, 0, 0.05);
}

.voting-complete h3 {
  color: var(--heading-color, #333);
  margin-bottom: 1rem;
  font-size: 1.75rem;
}

.voting-complete p {
  color: var(--text-muted, #666);
  margin-bottom: 2rem;
  line-height: 1.6;
  font-size: 1.1rem;
}

.voting-complete .btn-accent {
  display: inline-block;
  padding: 0.875rem 2rem;
  font-size: 1rem;
  font-weight: 600;
  background-color: var(--accent-color, #DA3E27);
  color: white;
  border: none;
  border-radius: 8px;
  text-decoration: none;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

.voting-complete .btn-accent:hover {
  background-color: #c43520;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsive Adjustments */
@media (max-width: 1024px) {
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 1.5rem;
  }
}

@media (max-width: 768px) {
  .store-section {
    padding: 3rem 0;
  }
  
  .products-grid {
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.25rem;
  }
  
  .product-actions .btn {
    padding: 0.6rem 0.5rem;
    font-size: 0.9rem;
  }
}

@media (max-width: 480px) {
  .products-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }
  
  .voting-complete {
    margin: 2rem 1rem 0;
    padding: 1.5rem 1rem;
  }
}
