/* ---------- SmartStationer Featured Products page specific styles ---------- */

.featured-title {
  margin-top: var(--space-12);
  margin-bottom: var(--space-8);
  text-align: center;
  font-size: var(--font-size-4xl);
  color: var(--color-primary);
  letter-spacing: -0.5px;
}

.featured-section {
  margin-bottom: var(--space-12);
}

/* --- Featured Product of the Week --- */
.featured-week__wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: var(--space-8);
  align-items: center;
  padding: var(--space-6);
}
.featured-week__image-col {
  flex: 0 1 250px;
}
.featured-week__info-col {
  flex: 1 1 360px;
  min-width: 250px;
}
.featured-week__img {
      width: 100%;
    height: 240px;
    object-fit: cover;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-sm);
  margin: 0 auto var(--space-4);
}
.featured-week__cta-row {
  margin-top: var(--space-4);
  display: flex;
  align-items: center;
  gap: var(--space-6);
}
.featured-week__price {
  font-size: var(--font-size-xl);
  font-weight: 700;
  color: var(--color-success);
}

/* --- Grid sections (top sellers, favorites, limited, new arrivals, discounts) --- */
.featured-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}
.featured-grid .card img {
  margin-bottom: var(--space-2);
  object-fit: contain;
  border-radius: var(--radius);
}
.product-card__meta {
  margin-top: var(--space-2);
  margin-bottom: var(--space-2);
  color: var(--color-primary);
  font-weight: 600;
  font-size: var(--font-size-lg);
}
.old-price {
  color: var(--color-neutral-400);
  text-decoration: line-through;
  margin-right: var(--space-2);
}
.new-price {
  color: var(--color-success);
  font-weight: 700;
}

/* --- Reviews section --- */
.reviews-grid {
  display: grid;
  gap: var(--space-6);
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  margin-top: var(--space-4);
}
.review-card {
  font-size: var(--font-size-base);
}
.review-card p {
  font-style: italic;
  margin-bottom: var(--space-3);
}
.review-card footer {
  font-weight: 600;
  font-size: var(--font-size-sm);
  color: var(--color-primary);
}

/* --- Product comparison table --- */
.comparison-table-wrapper {
  margin-top: var(--space-4);
  max-width: 100%;
  overflow-x: auto;
}
.comparison-table {
  width: 100%;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-xs);
  background: #fff;
  overflow: hidden;
}
.comparison-table th,
.comparison-table td {
  padding: var(--space-3);
  border-bottom: 1px solid var(--color-neutral-200);
  text-align: left;
  vertical-align: top;
  font-size: var(--font-size-base);
}
.comparison-table th[scope="col"] {
  background: var(--color-neutral-100);
  color: var(--color-primary);
  font-size: var(--font-size-lg);
  text-align: center;
}
.comparison-table th[scope="row"] {
  background: var(--color-neutral-100);
  font-weight: 600;
}
.comparison-table tr:last-child td, 
.comparison-table tr:last-child th {
  border-bottom: none;
}

@media (max-width: 900px) {
  .featured-title {
    font-size: var(--font-size-3xl);
    margin-bottom: var(--space-6);
  }
  .featured-section {
    margin-bottom: var(--space-8);
  }
  .featured-week__wrapper {
    flex-direction: column;
    align-items: stretch;
    padding: var(--space-3);
  }
  .featured-week__image-col {
    margin-bottom: var(--space-4);
    min-width: 0;
  }
}

@media (max-width: 600px) {
  .featured-title {
    font-size: var(--font-size-2xl);
    margin-top: var(--space-8);
    margin-bottom: var(--space-3);
  }
  .featured-week__img {
    max-width: 150px;
  }
}
