.product-category-heading {
  margin: 0 auto;
  margin-top: 70px;
  width: 916px;
  padding-top: 80px;
  padding-bottom: 40px;
}
.category-heading-title {
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  margin-bottom: 28px;
}
.category-heading-desc {
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
}

/* ---- Product List ---- */
.product-category-list {
  padding-bottom: 80px;
  background: #f4f4f4;
  padding-top: 40px;
}

.product-category-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

/* ---- Product Card ---- */
.pc-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 20px;
  overflow: hidden;
  height: 488px;
}

.pc-card-thumb {
  position: relative;
  display: block;
  width: 100%;
  height: 229px;
  flex-shrink: 0;
  border-radius: 28px;
  overflow: hidden;
  background: #b8b8b8;
  margin: 24px 24px 0;
  width: calc(100% - 48px);
}

.pc-card-img {
  width: 100%;
  height: 100% !important;
  object-fit: cover;
  border-radius: 28px;
  transition: opacity 0.35s ease;
  /* Tất cả ảnh ẩn mặc định */
  opacity: 0;
  position: absolute;
  inset: 0;
}

/* Chỉ ảnh active mới hiển thị */
.pc-card-img--active {
  opacity: 1;
  position: relative;
}

/* Tag */
.pc-card-tag {
  position: absolute;
  z-index: 10;
  top: 10px;
  left: 10px;
  padding: 4px 10px;
  border-radius: 8px;
  border: 1px solid #7b7b7b;
  background: #fff;
  color: #000;
  font-family: Montserrat;
  font-size: 12px;
  font-weight: 500;
  line-height: 1;
}

.pc-card-tag--sale {
  background: #ff1f1f;
  border-color: #ff1f1f;
  color: #fff;
}

/* Info */
.pc-card-info {
  padding: 16px 24px 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  flex: 1;
}

.pc-card-name {
  color: #000;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  text-decoration: none;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  width: 100%;
  height: 60px;
}

.pc-card-name:hover {
  color: #00d3d7;
}

/* Color swatches */
.pc-card-colors {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 20px;
}

.pc-card-color-swatch {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  border: 2px solid transparent;
  cursor: pointer;
  display: inline-block;
  flex-shrink: 0;
  transition:
    border-color 0.2s,
    transform 0.2s;
  outline: none;
}
.pc-card-color-swatch-border {
  border-color: #979795;
}
.pc-card-color-swatch:hover,
.pc-card-color-swatch.active {
  border-color: #343330;
  transform: scale(1.15);
}

/* Price */
.pc-card-price {
  color: #000;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
  text-align: center;
}

.pc-card-price .woocommerce-Price-currencySymbol {
  text-decoration: underline;
}

.pc-card-price del {
  color: #aaa;
  font-size: 14px;
  font-weight: 400;
  margin-right: 4px;
}

.pc-card-price ins {
  text-decoration: none;
}

/* Add to cart */
.pc-card-addtocart {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 52px;
  padding: 16px 20px;
  border-radius: 100px;
  background: #00d3d7;
  border: none;
  cursor: pointer;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  color: #fff;
  width: 100%;
  transition:
    background 0.2s,
    opacity 0.2s;
  white-space: nowrap;
  margin-top: auto;
}

.pc-card-addtocart:hover {
  background: #00b8bc;
}

.pc-card-addtocart:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

/* No products */
.pc-no-products {
  grid-column: 1 / -1;
  text-align: center;
  padding: 80px 0;
  color: #6c6c6c;
  font-family: Montserrat;
  font-size: 16px;
}

/* ---- Pagination ---- */
.pc-pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 20px;
  margin-top: 80px;
}

.pc-pagination-info {
  color: #000;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 600;
  line-height: normal;
}

.pc-pagination-next,
.pc-pagination-prev {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  text-decoration: none;
  transition: opacity 0.2s;
}

.pc-pagination-next:hover,
.pc-pagination-prev:hover {
  opacity: 0.7;
}
/*  */
.blog-news {
  background: #f4f4f4;
  padding: 80px 0;
}
.blog-news__grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr;
  gap: 36px;
}
.blog-news__title {
  color: #000;
  text-align: center;
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  margin-bottom: 40px;
}
.blog-news__item {
  border-radius: 20px;
  background: #fff;
  overflow: hidden;
  padding-bottom: 30px;
}
.blog-news__item-img {
  height: 194px;
  flex-shrink: 0;
  align-self: stretch;
  aspect-ratio: 3/2;
  object-fit: cover;
  margin-bottom: 12px;
}
.blog-news__item-title {
  color: #222;
  font-family: Montserrat;
  font-size: 16px;
  font-style: normal;
  font-weight: 700;
  line-height: normal;
  padding: 0 23px;
  transition: all 0.3s;
}
.blog-news__item:hover .blog-news__item-title {
  color: #00d3d7;
}
/* ---- Responsive ---- */
@media (max-width: 1280px) {
  .product-category-heading {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .product-category-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 768px) {
  .product-category-heading {
    padding-top: 40px;
    padding-bottom: 24px;
  }

  .category-heading-title {
    font-size: 28px;
    margin-bottom: 16px;
  }

  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .pc-card {
    height: auto;
  }

  .pc-card-thumb {
    height: 180px;
  }

  .pc-card-name {
    font-size: 14px;
  }

  .pc-card-price {
    font-size: 16px;
  }

  .pc-card-addtocart {
    font-size: 13px;
    height: 44px;
    padding: 10px 14px;
  }

  .pc-pagination-info {
    font-size: 16px;
  }
}

@media (max-width: 480px) {
  .product-category-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
  }

  .pc-card-thumb {
    height: 150px;
    margin: 12px 12px 0;
    width: calc(100% - 24px);
  }

  .pc-card-info {
    padding: 10px 12px 16px;
    gap: 10px;
  }
}

/* ============================================================
   FAQ Accordion
   ============================================================ */

.faq {
  background: #fff;
  padding: 60px 0 80px;
  padding-top: 0;
}
.faq-heading {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 213px;
  color: #000;
  font-family: Montserrat;
  font-size: 40px;
  font-style: normal;
  font-weight: 600;
  line-height: normal;
  align-items: center;
  background: #dcdcdc;
  margin-bottom: 60px;
}
.faq-inner {
  max-width: 962px;
  margin: 0 auto;
}

.faq-list {
  display: flex;
  flex-direction: column;
}

/* ---- FAQ Item ---- */
.faq-item {
  border-bottom: 1px solid #929292;
}

.faq-question {
  margin: 0;
}

.faq-question-btn {
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  padding: 20px 0;
  background: transparent;
  border: none;
  cursor: pointer;
  text-align: left;
  gap: 20px;
}

.faq-question-text {
  color: #000;
  font-family: Montserrat;
  font-size: 24px;
  font-weight: 600;
  line-height: normal;
  flex: 1;
}

.faq-question-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  flex-shrink: 0;
  transition: transform 0.3s ease;
}

.faq-question-btn[aria-expanded="true"] .faq-question-icon {
  transform: rotate(180deg);
}

/* ---- FAQ Answer ---- */
.faq-answer {
  margin: 0;
  overflow: hidden;
  transition:
    max-height 0.3s ease,
    opacity 0.3s ease;
  max-height: 0;
  opacity: 0;
}

.faq-answer:not([hidden]) {
  max-height: 2000px;
  opacity: 1;
}

.faq-answer-inner {
  padding: 0 0 20px 0;
  color: #343330;
  font-family: Montserrat;
  font-size: 16px;
  font-weight: 400;
  line-height: 1.6;
}

.faq-answer-inner p {
  margin-bottom: 12px;
}

.faq-answer-inner p:last-child {
  margin-bottom: 0;
}
.get_compare_page_url {
  display: block;
  margin-top: 16px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  text-align: center;
  color: #00d3d7;
  font-family: Montserrat;
  font-size: 20px;
  font-weight: 400;
  line-height: normal;
  text-align: center;
  text-decoration: none;
}
/* ---- Responsive ---- */
@media (max-width: 768px) {
  .faq {
    padding: 40px 0 60px;
  }

  .faq-inner {
    padding: 0 16px;
  }

  .faq-question-text {
    font-size: 18px;
  }

  .faq-question-icon {
    width: 24px;
    height: 24px;
  }

  .faq-question-icon svg {
    width: 24px;
    height: 24px;
  }

  .faq-answer-inner {
    font-size: 14px;
  }
  /*  */
  .blog-news__grid {
    padding: 0 16px;
    grid-template-columns: 1fr;
  }
  .blog-news__item-img {
    width: 100%;
  }
  .blog-news__item-img img {
    width: 100%;
    height: 100% !important;
    object-fit: cover;
  }
}
