/* components.css - (reusable components) */

/* Reusable Card Component */
/* Product Card start */
.product-card {
  text-align: center;
  padding: var(--spacing-md);
  background: #DEEAB0;
  border-radius: var(--radius-md);
  transition: transform 0.3s ease;
  height: 530px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  font-family: "General Sans", sans-serif;
}
.product-card-img {
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: center;
  align-items: center;
}
.product-card-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.product-card:hover {
  transform: translateY(-5px);
}

.product-card__image {
  width: 100%;
  height: 200px;
  object-fit: contain;
  /* margin-bottom: var(--spacing-sm); */
}

.product-card__title {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 30px;
  text-align: left;
  font-family: "General Sans", sans-serif;
}
.product-card__title-sec {
  margin: 0 1em;
}
.product-card__price {
  font-weight: 600;
  color: var(--text-dark);
  font-size: 20px;
  text-align: left;
}
.product-card__rating {
  display: flex;
  align-items: center;
  gap: 10px;

  margin-bottom: var(--spacing-sm);
}
.product-card__rating .product-card__price-strick-through {
  text-decoration: line-through;
  color: #95aaa5;
}
/* Product Card end */

/* Button start */
.btn {
  padding: 0.8rem 3rem;
  border-radius: 50px;
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: background-color 0.3s ease;
  width: 100%;
}

.btn--primary {
  background-color: var(--accent-yellow);
  color: var(--text-dark);
  font-size: 20px;
  font-weight: 500;
  font-family: "General Sans", sans-serif;
}

.btn--primary:hover {
  background-color: #96cc27;
}
/* Button end */

/* Tab Switcher start */
.tab-switcher {
  display: flex;
  gap: var(--spacing-sm);
  justify-content: center;
  margin-bottom: var(--spacing-lg);
}

.tab-button {
  padding: 0.5rem 1.5rem;
  border-radius: var(--radius-md);
  border: 1px solid var(--primary-green);
  background: transparent;
  color: var(--primary-green);
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-button.active {
  background: var(--primary-green);
  color: var(--white);
}
/* Tab Switcher end */
