/* Clean, minimalist style for BestSexToys */

/* Header */
header {
  background-color: var(--primary);
  color: white;
  padding: var(--spacing-md) 0;
  box-shadow: var(--shadow-md);
}

header h1 {
  font-size: 1.5rem;
  margin: 0;
}

header h1 span.accent:first-of-type {
  color: lightgrey;
  margin:0 4px;
}

/* Main content sections */
section {
  padding: var(--spacing-xl) 0;
}

section:nth-child(even) {
  background-color: var(--light-bg);
}

/* Hero section */
.hero {
  padding: var(--spacing-xl) 0;
}

.update-badge {
  background-color: rgba(255, 106, 41, 0.1);
  color: var(--accent);
  padding: var(--spacing-xs) var(--spacing-md);
  border-radius: var(--radius-md);
  font-weight: 600;
  font-size: 0.875rem;
  margin-bottom: var(--spacing-md);
}

.update-badge::before {
  content: "✓";
  margin-right: var(--spacing-xs);
}

.reviewer {
  color: var(--gray);
  margin-bottom: var(--spacing-lg);
  font-size: 0.875rem;
}

.intro-content {
  display: flex;
  gap: var(--spacing-xl);
  align-items: center;
}

.intro-text {
  flex: 1;
}

.intro-image {
  flex: 1;
  display: none;
}

.intro-image video {
  max-width:250px;
}

.cta-button {
  display: inline-block;
  background-color: var(--accent);
  color: white;
  padding: var(--spacing-md) var(--spacing-lg);
  border-radius: var(--radius-md);
  font-weight: 600;
  margin-top: var(--spacing-md);
  transition: background-color 0.3s ease;
}

.cta-button:hover {
  background-color: #e5602c;
  text-decoration: none;
}

/* Products section */
.products h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

/* Remove max-width from products section container */
.products .container {
  max-width: none;
}

.product-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: var(--spacing-md);
}

.product-card {
  position: relative;
  background: white;
  border-radius: var(--radius-md);
  overflow: hidden;
  box-shadow: var(--shadow-sm);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.rank-badge {
  position: absolute;
  top: var(--spacing-sm);
  left: var(--spacing-sm);
  width: 36px;
  height: 36px;
  background-color: var(--accent);
  color: white;
  border-radius: var(--radius-round);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  z-index: 1;
}


.product-image {
  height: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: var(--spacing-md);
  background-color: white;
}

.product-image img {
  max-height: 100%;
  object-fit: contain;
}

.product-info {
  padding: var(--spacing-md);
  border-top: 1px solid var(--light-bg);
  text-align: center;  /* Add this line */

}

.product-info h3 {
  font-size: 1.25rem;
  margin-bottom: var(--spacing-xs);
  text-align: center;  /* Add this line */

}

.rating {
  color: var(--rating);
  margin-bottom: var(--spacing-sm);
  font-size: 1.125rem;
  text-align: center;  /* Add this line */

}

.product-features {
  display: flex;
  flex-wrap: wrap;
  gap: var(--spacing-xs);
  margin-bottom: var(--spacing-md);
  justify-content: center;
  align-items: center;
}

.feature {
  background-color: var(--light-bg);
  padding: 2px var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-size: 0.75rem;
}

.goto-review-button {
  display: block;
  width: 100%;
  text-align: center;
  background-color: #efefef;
  color: rgb(88, 88, 88);
  padding: var(--spacing-sm) var(--spacing-md);
  margin-bottom: var(--spacing-sm);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.goto-review-button:hover {
  background-color: white;
  text-decoration: none;
}

.buy-button {
  display: block;
  width: 100%;
  text-align: center;
  background-color: var(--accent);
  color: white;
  padding: var(--spacing-md);
  border-radius: var(--radius-sm);
  font-weight: 600;
  transition: background-color 0.3s ease;
}

.buy-button:hover {
  background-color: #e5602c;
  text-decoration: none;
}

/* FAQ section */
.faq {
  background-color: var(--light-bg);
}

.faq h2 {
  text-align: center;
  margin-bottom: var(--spacing-xl);
}

.accordion-item {
  background-color: white;
  border-radius: var(--radius-md);
  margin-bottom: var(--spacing-md);
  overflow: hidden;
}

.accordion-header {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: var(--spacing-md);
  text-align: left;
  font-weight: 600;
  background-color: white;
  transition: background-color 0.3s ease;
}

.accordion-header:hover {
  background-color: #f9f9f9;
}

.accordion-content {
  padding: 0 var(--spacing-md);
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease, padding 0.3s ease;
}

.accordion-item.active .accordion-content {
  padding: 0 var(--spacing-md) var(--spacing-md);
  max-height: 300px;
}

/* Footer */
footer {
  background-color: var(--primary);
  color: white;
  padding: var(--spacing-xl) 0;
  text-align: center;
}

.disclaimer {
  font-size: 0.75rem;
  opacity: 0.7;
}

/* Media Queries */
@media (min-width: 992px) {
  .intro-content {
    display: flex;
  }
  
  .intro-image {
    display: block;
  }
}

@media (max-width: 768px) {
  .product-grid {
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
  }
  
  .product-card {
    border-radius: 0;
  }
  
  .product-image {
    height: 150px;
  }
  
  .product-info {
    padding: var(--spacing-sm);
  }
  
  .product-info h3 {
    font-size: 1rem;
  }
  
  .rating {
    font-size: 0.875rem;
  }
  
  .feature {
    font-size: 0.625rem;
  }
  
  .buy-button {
  }
  
  .rank-badge {
    width: 24px;
    height: 24px;
    font-size: 0.75rem;
  }
}