/* FAQs Page Styles */

.faqs-page {
  display: flex;
  gap: 30px;
  flex-direction: column;
}

.faqs-wrapper {
  display: flex;
  gap: 50px;
}

.faqs-filter {
  flex: 0 0 220px;
  background: #f9f9f9;
  padding: 20px;
  border-radius: 12px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

.faqs-filter ul {
  list-style: none;
  margin: 0;
  padding: 0;
}

.faqs-filter li {
  margin-bottom: 12px;
}

.faqs-filter a {
  text-decoration: none;
  color: #333;
  font-weight: 500;
  display: block;
  padding: 5px 14px;
  border-radius: 8px;
  transition: all 0.3s ease;
}

.faqs-filter a.active,
.faqs-filter a:hover {
  background: var(--bricks-color-dtjhxn);
  color: #fff;
}

.faqs-content {
  flex: 1;
}

.faqs-page-list {
  display: flex;
  gap: 10px;
  flex-direction: column;
}

.faq-page-item {
  border: 1px solid #eee;
  border-radius: 10px;
  padding: 16px 20px;
  background: #fff;
  transition: all 0.3s ease;
  cursor: pointer;
}

.faq-page-item:hover {
  box-shadow: 0 3px 10px rgba(0, 0, 0, 0.06);
}

.faq-page-question {
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.faq-page-question::after {
  content: "+";
  font-weight: bold;
  transition: transform 0.3s ease;
}

.faq-page-item.active .faq-page-question::after {
  content: "-";
  transform: rotate(180deg);
}

.faq-page-answer {
  margin-top: 12px;
  display: none;
  color: #555;
  line-height: 1.6;
}

.faq-page-item.active .faq-page-answer {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(-5px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Responsive */
@media (max-width: 992px) {
  .faqs-page {
    flex-direction: column;
  }

  .faqs-filter {
    flex: 1;
    margin-bottom: 20px;
  }

  .faqs-wrapper {
    flex-direction: column;
  }
}

/*END FAQs Page Styles */

/* Reviews Page Styles */
.reviews-page {
  max-width: 800px;
  margin: 0px auto;
}

.reviews-list {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.review-item {
  display: flex;
  gap: 15px;
  padding: 15px;
  border: 1px solid #eee;
  border-radius: 12px;
  background: #fff;
  transition: box-shadow 0.3s ease;
}

.review-item:hover {
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.review-avatar img {
  border-radius: 50%;
}

.review-content {
  flex: 1;
}

.review-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 6px;
}

.review-author {
  font-weight: 600;
  color: #333;
}

.review-stars {
  font-size: 16px;
  color: #ffcc00;
  font-weight: bold;
}

.review-text {
  color: #555;
  line-height: 1.6;
  margin: 0;
}

.load-more {
  display: block;
  margin: 25px auto 0;
  padding: 10px 20px;
  font-size: 15px;
  font-weight: 600;
  background: var(--bricks-color-dtjhxn);
  color: #fff;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.3s ease;
}

.load-more:hover {
  background: #001f50;
}

.review-date {
  font-size: 13px;
  color: #888;
  margin-left: 5px;
}

.review-product {
  display: inline-block;
  font-size: 12px;
  font-weight: 600;
  opacity: 0.85;
  margin: 6px 0;
  text-decoration: none;
  background: var(--bricks-color-dtjhxn);
  color: white;
  padding: 0 5px;
  border-radius: 3px;
}

.review-product:hover {
  opacity: 1;
  background: var(--bricks-color-primary);
  color: black;
}

@media (max-width: 600px) {
  .review-item {
    flex-direction: column;
    align-items: flex-start;
  }

  .review-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 5px;
  }
}

.review-placeholder {
  height: 100px;
  border-radius: 12px;
  background: linear-gradient(90deg, #f0f0f0 25%, #e6e6e6 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: loadingShimmer 1.5s infinite;
}

@keyframes loadingShimmer {
  0% {
    background-position: 200% 0;
  }
  100% {
    background-position: -200% 0;
  }
}
/* END Reviews Page Styles */
