a:where(:not(.wp-element-button)){
  text-decoration: none !important;
}
.absolute-footer {
  display: none;
}
.section {
  display: block;
}
 .speech-bubble {
      position: relative;
      background: #e0e0e0;
      border-radius: 8px;
      padding: 30px 40px;
      box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.15);
      margin: 40px auto;
    }

    .speech-bubble h2 {
      margin: 0;
      font-size: 2rem;
      line-height: 1.2;
      color: #94b719;
      text-align: center;
      font-family: 'Arial', sans-serif;
      font-weight: normal;
    }

    .speech-bubble::after {
      content: '';
      position: absolute;
      bottom: -20px;       /* khoảng cách từ đáy hộp */
      right: 80px;         /* di chuyển mũi tên sang phải */
      width: 0;
      height: 0;
      border-left: 20px solid transparent;
      border-right: 20px solid transparent;
      border-top: 20px solid #e0e0e0;
    }

    @media (max-width: 600px) {
      .speech-bubble {
        padding: 20px;
      }
      .speech-bubble h2 {
        font-size: 1.5rem;
      }
      .speech-bubble::after {
        right: 40px;
        border-left-width: 15px;
        border-right-width: 15px;
        border-top-width: 15px;
        bottom: -15px;
      }
    }

    /* Gán class “best-seller” lên thẻ bao ngoài ảnh (ví dụ div.image-container) để kích hoạt badge */
.best-seller {
  position: relative;
  display: inline-block; /* hoặc block tuỳ layout */
}

/* Tạo badge “Best Seller” */
.best-seller::after {
  content: "Best Seller";
  position: absolute;
  top: 10px;       /* độ cao từ đỉnh khung ảnh */
  right: 10px;     /* độ lệch từ bên phải */
  background-color: #94b719;
  color: #fff;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.9rem;
  font-weight: 500;
  font-family: sans-serif;
  white-space: nowrap;
  pointer-events: none; /* tránh can thiệp chuột vào badge */
}

.circle-img {
  display: block;            /* hoặc inline-block nếu cần */
  width: 300px !important;              /* chỉnh kích thước tuỳ ý */
  height: 300px !important;             /* giữ tỉ lệ vuông để thành vòng tròn */
  object-fit: cover;         /* ảnh phủ kín khung */
  border-radius: 50%;        /* bo tròn 100% */
  border: 12px solid #94b719;/* viền dày 12px, màu xanh lá */
  box-sizing: border-box;    /* để border không làm tăng kích thước tổng thể */
  overflow: hidden;
}

/* ─── Reset CF7 default styles ─── */
.wpcf7-form input[type="text"],
.wpcf7-form input[type="email"],
.wpcf7-form input[type="tel"],
.wpcf7-form input[type="date"],
.wpcf7-form input[type="time"],
.wpcf7-form textarea {
  background: none;
  border: none;
  padding: 0;
  box-shadow: none;
  border-radius: 0;
  outline: none;
}

/* ─── Grid layout ─── */
.cf7-form-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 20px;
  margin-bottom: 20px;
}
.field-wide {
  margin-bottom: 20px;
}

/* ─── Labels ─── */
.cf7-form-grid .field label,
.field-wide label {
  display: block;
  margin-bottom: 0.5em;
  color: #8e643b;
  font-weight: 600;
  font-size: 1rem;
}

/* ─── Inputs & textarea ─── */
.cf7-input,
.cf7-textarea {
  width: 100%;
  background: #ebc319  !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem !important;
  box-shadow: 5px 5px 0 #c3d4b2 !important;
  color: #8e643b !important;
  font-family: inherit;
  font-size: 1rem;
  box-sizing: border-box;
  transition: box-shadow .2s;
}
.cf7-textarea {
  min-height: 160px;
  resize: vertical;
}

/* ─── Focus state ─── */
.cf7-input:focus,
.cf7-textarea:focus {
  box-shadow: 3px 3px 0 #94b719 !important;
}

/* ─── Datepicker icon color ─── */
.cf7-input[type="date"]::-webkit-calendar-picker-indicator {
  filter: invert(30%) sepia(100%) saturate(300%) hue-rotate(70deg);
}

/* ─── Submit button ─── */
.submit-wrap {
  text-align: center;
  margin-top: 30px;
}
.cf7-submit {
  background: #ebc319 !important;
  color: #fff !important;
  border: none !important;
  border-radius: 12px !important;
  padding: 1rem 2rem !important;
  font-size: 1.1rem;
  box-shadow: 3px 3px 0 #3a5110 !important;
  cursor: pointer;
  transition: transform .1s, box-shadow .1s;
}
.cf7-submit:active {
  transform: translateY(2px);
  box-shadow: 1px 1px 0 #3a5110 !important;
}

/* ─── Responsive ─── */
@media (max-width: 600px) {
  .cf7-form-grid {
    grid-template-columns: 1fr;
  }
  .cf7-input,
  .cf7-textarea {
    padding: 0.8rem !important;
    font-size: 0.95rem;
  }
  .cf7-submit {
    width: 100% !important;
    padding: 0.9rem !important;
    font-size: 1rem;
  }
}


/*CSS blog */
.archive-page-header{
  display: none;
}
/* ===== Tabs danh mục ===== */
.blog-filter-cats {
  display: flex;
  gap: 12px;
  margin-bottom: 30px;
  list-style: none;
  padding: 0;
}

.blog-filter-cats li a {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 20px;
  text-decoration: none;
  color: #333;
  border: 1px solid #ddd;
  transition: background-color .3s, color .3s, border-color .3s;
}

.blog-filter-cats li.active a,
.blog-filter-cats li a:hover {
      background-color: #ebc630;
    color: #8e643c;
    border-color: #ebc630;
}

/* ===== Card toàn trang ===== */
.posts-archive-list {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ===== Card mỗi bài ===== */
.post-card {
  display: flex;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}

/* ===== Ảnh bên trái ===== */
.post-card--media {
  flex: 1 1 45%;
  min-width: 200px;
}
.post-card--media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 12px 0 0 12px;
  display: block;
}

/* ===== Nội dung bên phải ===== */
.post-card--content {
  flex: 1 1 55%;
  padding: 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 0 12px 12px 0;
}

/* ===== Meta trên cùng ===== */
.post-card--meta-top {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 12px;
}
.post-card--meta-top .meta-text {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 14px;
  color: #888;
}
.post-card--meta-top .meta-text span {
  white-space: nowrap;
}

/* ===== Tiêu đề ===== */
.post-card--title {
  font-size: 22px;
  line-height: 1.3;
  margin: 0 0 12px;
}
.post-card--title a {
  color: #111;
  text-decoration: none;
}
.post-card--title a:hover {
  color: #ebc630;
}

/* ===== Excerpt giới hạn 3 dòng ===== */
.post-card--excerpt {
  flex: 1;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
  color: #444;
  font-size: 16px;
  margin-bottom: 16px;
}

/* ===== Meta dưới cùng ===== */
.post-card--meta-bottom {
  border-top: 1px solid #eee;
  padding-top: 12px;
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 14px;
  color: #888;
}
.post-card--meta-bottom .meta-sep {
  margin: 0 6px;
}
.post-card--meta-bottom .meta-fav .icon-heart {
  font-size: 18px;
  color: #e0245e;
  cursor: pointer;
  transition: transform .2s;
}
.post-card--meta-bottom .meta-fav .icon-heart:hover {
  transform: scale(1.1);
}

/* ===== Phân trang ===== */
.archive-pagination {
  margin-top: 20px;
  text-align: center;
}

/* ===== Responsive (Mobile) ===== */
@media (max-width: 768px) {
  .post-card {
    flex-direction: column;
  }
  .post-card--media,
  .post-card--content {
    flex: 1 1 100%;
    border-radius: 12px !important;
  }
}


