/* Plants Page Specific Styles */

/* Hero Section */
.plants-hero {
  padding: var(--space-24) 0 var(--space-16);
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, var(--color-bg) 100%);
  position: relative;
  overflow: hidden;
}

.plants-hero::before {
  content: '';
  position: absolute;
  top: -50%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--color-primary-light) 0%, transparent 70%);
  opacity: 0.3;
  pointer-events: none;
}

.plants-hero__container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
  position: relative;
  z-index: 1;
}

.plants-hero__subtitle {
  font-family: var(--font-body);
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  color: var(--color-primary-dark);
  display: block;
  margin-bottom: var(--space-4);
}

.plants-hero__title {
  font-size: var(--text-6xl);
  margin-bottom: var(--space-6);
  color: var(--color-text);
}

.plants-hero__lead {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-8);
  max-width: 50ch;
}

.plants-hero__actions {
  display: flex;
  gap: var(--space-4);
  flex-wrap: wrap;
}

.plants-hero__image-wrapper {
  position: relative;
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.plants-hero__image {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

/* Section Headers */
.section-header {
  margin-bottom: var(--space-12);
}

.section-header--centered {
  text-align: center;
  max-width: 60ch;
  margin-left: auto;
  margin-right: auto;
}

.section-header__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.section-header__description {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin: 0 auto;
}

/* Categories Grid */
.categories-section {
  padding: var(--space-24) 0;
  background-color: var(--color-surface);
}

.categories-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.category-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-neutral-200);
}

.category-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: var(--color-primary-light);
}

.category-card__link {
  display: block;
  padding: var(--space-8) var(--space-6);
  text-align: center;
  color: inherit;
}

.category-card__icon {
  width: 64px;
  height: 64px;
  margin: 0 auto var(--space-4);
  color: var(--color-primary);
}

.category-card__icon svg {
  width: 100%;
  height: 100%;
}

.category-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.category-card__count {
  font-size: var(--text-sm);
  color: var(--color-text-light);
  margin: 0;
}

/* Split Layout */
.split-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-16);
  align-items: center;
}

.split-layout--reverse .split-layout__content {
  order: 2;
}

.split-layout--reverse .split-layout__image {
  order: 1;
}

.split-layout__content {
  padding: var(--space-8) 0;
}

.split-layout__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.split-layout__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.split-layout__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.split-layout__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.tag {
  display: inline-block;
  padding: var(--space-2) var(--space-4);
  background-color: var(--color-primary-bg);
  color: var(--color-primary-dark);
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  margin-bottom: var(--space-4);
}

.feature-list {
  margin: var(--space-6) 0;
  padding: 0;
  list-style: none;
}

.feature-list li {
  padding-left: var(--space-8);
  position: relative;
  margin-bottom: var(--space-3);
  color: var(--color-text-muted);
}

.feature-list li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-color: var(--color-primary-bg);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%237a9e7e' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 12px;
  background-position: center;
  background-repeat: no-repeat;
}

/* Sections Spacing */
.seasonal-section,
.care-guide-section,
.sustainability-section,
.beginners-section,
.premium-section {
  padding: var(--space-24) 0;
}

.seasonal-section,
.sustainability-section,
.premium-section {
  background-color: var(--color-bg-alt);
}

.care-guide-section,
.beginners-section {
  background-color: var(--color-surface);
}

/* Bestsellers */
.bestsellers-section {
  padding: var(--space-24) 0;
  background-color: var(--color-surface);
}

.bestsellers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: var(--space-6);
}

.product-card {
  background-color: var(--color-bg);
  border-radius: var(--radius-xl);
  overflow: hidden;
  position: relative;
  transition: all var(--duration-normal) var(--ease-out);
  border: 1px solid var(--color-neutral-200);
}

.product-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.product-card__image-wrapper {
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
}

.product-card__image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform var(--duration-slow) var(--ease-out);
}

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

.product-card__badge {
  position: absolute;
  top: var(--space-4);
  left: var(--space-4);
  background-color: var(--color-secondary);
  color: white;
  font-size: var(--text-xs);
  font-weight: var(--font-semibold);
  padding: var(--space-1) var(--space-3);
  border-radius: var(--radius-full);
}

.product-card__content {
  padding: var(--space-5);
  position: relative;
}

.product-card__title {
  font-size: var(--text-lg);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.product-card__price {
  font-size: var(--text-base);
  font-weight: var(--font-semibold);
  color: var(--color-primary-dark);
  margin: 0;
}

.product-card__link {
  position: absolute;
  inset: 0;
  text-indent: -9999px;
}

/* Stats Grid */
.stats-grid {
  display: flex;
  gap: var(--space-8);
  margin: var(--space-6) 0;
}

.stat-item {
  text-align: center;
}

.stat-item__number {
  display: block;
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: var(--font-semibold);
  color: var(--color-primary);
  line-height: 1;
}

.stat-item__label {
  display: block;
  font-size: var(--text-sm);
  color: var(--color-text-muted);
  margin-top: var(--space-2);
}

/* Expert Section */
.expert-section {
  padding: var(--space-24) 0;
  background-color: var(--color-bg);
}

.expert-showcase {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: var(--space-12);
  align-items: center;
}

.expert-showcase__image {
  border-radius: var(--radius-2xl);
  overflow: hidden;
  box-shadow: var(--shadow-xl);
}

.expert-showcase__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 16/10;
}

.expert-picks {
  display: flex;
  flex-direction: column;
  gap: var(--space-6);
}

.expert-card {
  background-color: var(--color-surface);
  padding: var(--space-6);
  border-radius: var(--radius-xl);
  border-left: 4px solid var(--color-primary);
  box-shadow: var(--shadow-sm);
  transition: all var(--duration-normal) var(--ease-out);
}

.expert-card:hover {
  box-shadow: var(--shadow-md);
  transform: translateX(8px);
}

.expert-card__title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
  font-family: var(--font-heading);
}

.expert-card__desc {
  color: var(--color-text-muted);
  margin-bottom: var(--space-3);
  font-size: var(--text-base);
}

.expert-card__link {
  font-size: var(--text-sm);
  font-weight: var(--font-semibold);
  color: var(--color-primary-dark);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.expert-card__link:hover {
  color: var(--color-primary);
}

/* Reviews Section */
.reviews-section {
  padding: var(--space-24) 0;
  background-color: var(--color-bg-alt);
}

.reviews-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--space-6);
}

.review-card {
  background-color: var(--color-surface);
  padding: var(--space-8);
  border-radius: var(--radius-xl);
  box-shadow: var(--shadow-sm);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  height: 100%;
}

.review-card__quote {
  margin: 0 0 var(--space-6) 0;
  font-style: italic;
  color: var(--color-text);
  font-size: var(--text-base);
  line-height: var(--leading-relaxed);
}

.review-card__quote p {
  margin: 0;
}

.review-card__quote::before {
  content: '"';
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  color: var(--color-primary-light);
  line-height: 1;
  display: block;
  margin-bottom: var(--space-2);
}

.review-card__footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--color-neutral-200);
  padding-top: var(--space-4);
}

.review-card__author {
  font-style: normal;
  font-weight: var(--font-semibold);
  color: var(--color-text);
}

.review-card__rating {
  color: var(--color-secondary);
  letter-spacing: 2px;
}

/* Subscription Section */
.subscription-section {
  padding: var(--space-24) 0;
  background-color: var(--color-surface);
}

.subscription-card {
  background: linear-gradient(135deg, var(--color-primary-bg) 0%, var(--color-bg) 100%);
  border-radius: var(--radius-2xl);
  padding: var(--space-12);
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--space-12);
  align-items: center;
  border: 1px solid var(--color-primary-light);
}

.subscription-card__content {
  padding: var(--space-4) 0;
}

.subscription-card__title {
  font-size: var(--text-4xl);
  margin-bottom: var(--space-4);
}

.subscription-card__text {
  font-size: var(--text-lg);
  color: var(--color-text-muted);
  margin-bottom: var(--space-6);
}

.subscription-card__features {
  list-style: none;
  padding: 0;
  margin: 0 0 var(--space-8) 0;
}

.subscription-card__features li {
  padding-left: var(--space-8);
  position: relative;
  margin-bottom: var(--space-3);
  color: var(--color-text);
}

.subscription-card__features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 24px;
  height: 24px;
  background-color: var(--color-primary);
  border-radius: 50%;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 14px;
  background-position: center;
  background-repeat: no-repeat;
}

.subscription-card__image {
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
}

.subscription-card__image img {
  width: 100%;
  height: auto;
  object-fit: cover;
  aspect-ratio: 4/3;
}

.btn--large {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

/* Responsive Design */
@media (max-width: 1024px) {
  .plants-hero__container {
    grid-template-columns: 1fr;
    gap: var(--space-8);
    text-align: center;
  }
  
  .plants-hero__lead {
    max-width: 100%;
  }
  
  .plants-hero__actions {
    justify-content: center;
  }
  
  .plants-hero__image-wrapper {
    max-width: 600px;
    margin: 0 auto;
  }
  
  .categories-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .split-layout {
    grid-template-columns: 1fr;
    gap: var(--space-8);
  }
  
  .split-layout--reverse .split-layout__content,
  .split-layout--reverse .split-layout__image {
    order: unset;
  }
  
  .bestsellers-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .expert-showcase {
    grid-template-columns: 1fr;
  }
  
  .reviews-grid {
    grid-template-columns: 1fr;
  }
  
  .subscription-card {
    grid-template-columns: 1fr;
  }
  
  .subscription-card__image {
    order: -1;
  }
}

@media (max-width: 640px) {
  .plants-hero {
    padding: var(--space-16) 0 var(--space-12);
  }
  
  .plants-hero__title {
    font-size: var(--text-4xl);
  }
  
  .categories-grid {
    grid-template-columns: 1fr;
  }
  
  .bestsellers-grid {
    grid-template-columns: 1fr;
  }
  
  .stats-grid {
    flex-direction: column;
    gap: var(--space-4);
  }
  
  .section-header__title,
  .split-layout__title,
  .subscription-card__title {
    font-size: var(--text-3xl);
  }
  
  .plants-hero__actions {
    flex-direction: column;
  }
  
  .plants-hero__actions .btn {
    width: 100%;
  }
}