/* 除主頁外：隱藏全站 page title section */
.page-header {
  display: none !important;
}

/* 分頁：舊站樣式，黑色 */
.page-pagination.ac-pagination {
  margin-top: 36px;
  text-align: center;
}
.page-pagination.ac-pagination ul {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 6px 10px;
  list-style: none;
  margin: 0;
  padding: 0;
}
.page-pagination.ac-pagination ul li::before {
  display: none !important;
  content: none !important;
}
.page-pagination.ac-pagination ul li a,
.page-pagination.ac-pagination ul li span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 8px;
  margin: 0;
  border: 0 !important;
  border-radius: 2px;
  background: transparent !important;
  color: #1a1a1b !important;
  font-size: 15px;
  font-weight: 500;
  line-height: 1;
  text-decoration: none;
  transition: background 0.2s ease, color 0.2s ease;
}
.page-pagination.ac-pagination ul li.active span,
.page-pagination.ac-pagination ul li.active a {
  background: #1a1a1b !important;
  color: #fff !important;
}
.page-pagination.ac-pagination ul li a:hover {
  background: #1a1a1b !important;
  color: #fff !important;
}
.page-pagination.ac-pagination ul li.ac-page-dots span {
  min-width: auto;
  color: #666 !important;
  letter-spacing: 1px;
}
.page-pagination.ac-pagination ul li.ac-page-nav a {
  font-size: 18px;
  font-weight: 600;
  color: #1a1a1b !important;
}
.page-pagination.ac-pagination ul li.ac-page-nav a:hover {
  background: transparent !important;
  color: #000 !important;
}

/* ACPRO shopping flow */
.ac-shop-wrap { padding: 40px 0 80px; }
.ac-shop-box {
  background: #fff;
  border: 1px solid #e8eef3;
  border-radius: 12px;
  padding: 24px;
  margin-bottom: 24px;
}
.ac-shop-table { width: 100%; }
.ac-shop-table th { font-size: 13px; color: #777; font-weight: 600; border-bottom: 1px solid #e8eef3; padding: 10px 8px; }
.ac-shop-table td { vertical-align: middle; padding: 14px 8px; border-bottom: 1px solid #f0f3f6; }
.ac-shop-product { display: flex; gap: 12px; align-items: center; }
.ac-shop-product img { width: 72px; height: 72px; object-fit: contain; background: #f5f7fa; border-radius: 8px; }
.ac-shop-product a { color: inherit; text-decoration: none; font-weight: 600; }
.ac-shop-qty { width: 80px; }
.ac-shop-summary { list-style: none; padding: 0; margin: 0 0 16px; }
.ac-shop-summary li { display: flex; justify-content: space-between; gap: 12px; padding: 10px 0; border-bottom: 1px solid #f0f3f6; }
.ac-shop-total { font-size: 1.15rem; font-weight: 700; color: #0071BC; }
.ac-shop-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.ac-wa-btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  background: #25D366; color: #fff !important; border: 0; border-radius: 8px;
  padding: 12px 18px; font-weight: 700; text-decoration: none !important; width: 100%;
}
.ac-wa-btn:hover { background: #1ebe57; color: #fff !important; }

/* 產品詳情：描述保留列表分行 */
.page-product-single .product-single-description h2,
.page-product-single .product-single-description h3 {
  font-size: 18px;
  margin: 18px 0 10px;
}
.page-product-single .product-single-description p {
  margin-bottom: 12px;
  line-height: 1.7;
}
.page-product-single .product-single-description ul,
.page-product-single .product-single-description ol {
  margin: 0 0 14px;
  padding-left: 1.25em;
  list-style: disc;
}
.page-product-single .product-single-description li {
  margin-bottom: 8px;
  line-height: 1.65;
}

/* 產品詳情：價錢／數量間距，購物車同 WhatsApp 同一行 */
.page-product-single .product-single-price {
  margin-top: 28px;
  margin-bottom: 0;
}
.page-product-single .ac-product-buy {
  margin-top: 28px;
}
.page-product-single .ac-product-buy .product-quantity {
  margin-bottom: 16px;
}
.page-product-single .ac-product-actions {
  display: flex;
  flex-wrap: wrap;
  align-items: stretch;
  gap: 12px;
}
.page-product-single .ac-product-actions .btn-default,
.page-product-single .ac-product-actions .ac-wa-btn {
  width: auto;
  flex: 1 1 180px;
  margin: 0;
  white-space: nowrap;
}
.ac-pay-methods { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 12px; }
.ac-pay-method {
  border: 1px solid #d7dee6; border-radius: 8px; padding: 10px 14px; cursor: pointer;
  display: inline-flex; align-items: center; gap: 8px; background: #fff;
}
.ac-pay-method.is-active { border-color: #0071BC; background: #eef6fc; }
.ac-pay-method input { margin: 0; }
.ac-pay-detail { display: none; background: #f5f7fa; border-radius: 8px; padding: 14px; margin-bottom: 14px; }
.ac-pay-detail.is-visible { display: block; }
.ac-auth-card, .ac-member-panel {
  max-width: 520px; margin: 0 auto; background: #fff; border: 1px solid #e8eef3;
  border-radius: 12px; padding: 28px;
}
.ac-member-layout { display: grid; grid-template-columns: 240px 1fr; gap: 24px; }
.ac-member-nav { background: #fff; border: 1px solid #e8eef3; border-radius: 12px; padding: 16px; }
.ac-member-nav a {
  display: block; padding: 10px 12px; border-radius: 8px; color: #333; text-decoration: none; margin-bottom: 4px;
}
.ac-member-nav a.active, .ac-member-nav a:hover { background: #eef6fc; color: #0071BC; }
.ac-member-stat {
  background: #fff; border: 1px solid #e8eef3; border-radius: 12px; padding: 18px;
}
.ac-member-stat-num { font-size: 1.6rem; font-weight: 700; color: #0071BC; }
.ac-cart-badge {
  display: inline-flex; min-width: 18px; height: 18px; border-radius: 999px;
  background: #0071BC; color: #fff; font-size: 11px; align-items: center; justify-content: center;
  margin-left: 4px; padding: 0 5px;
}
@media (max-width: 991px) {
  .ac-member-layout { grid-template-columns: 1fr; }
}

/* Footer：三欄連結平均排，避免中間留白 */
.main-footer .footer-links-box.ac-footer-links {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  justify-content: start;
  gap: 24px 32px;
}
.main-footer .footer-links-box.ac-footer-links .footer-links {
  max-width: none;
  width: 100%;
}
.main-footer .about-footer {
  margin-right: 0;
  padding-right: 12px;
}
.main-footer .ac-footer-credit {
  color: rgba(255, 255, 255, 0.75);
  font-size: 14px;
  line-height: 1.5;
}
.main-footer .ac-footer-credit a {
  color: #fff;
  text-decoration: none;
}
.main-footer .ac-footer-credit a:hover {
  text-decoration: underline;
}
@media (max-width: 991px) {
  .main-footer .footer-links-box.ac-footer-links {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}
@media (max-width: 575px) {
  .main-footer .footer-links-box.ac-footer-links {
    grid-template-columns: 1fr;
  }
}

/* 聯絡我們：兩欄簡潔卡 */
.ac-contact-page {
  padding: 48px 0 80px;
  background: #f3f5f7;
}
.ac-contact-card {
  height: 100%;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 28px rgba(16, 24, 40, 0.06);
  padding: 32px 28px;
}
.ac-contact-title {
  font-size: 28px;
  margin: 0 0 14px;
  letter-spacing: -0.02em;
}
.ac-contact-intro {
  color: #555;
  line-height: 1.75;
  margin-bottom: 22px;
}
.ac-contact-list {
  list-style: none;
  margin: 0;
  padding: 0;
}
.ac-contact-list li {
  display: flex;
  gap: 14px;
  align-items: flex-start;
  padding: 16px 0;
  border-bottom: 1px solid #eceff3;
}
.ac-contact-list li:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}
.ac-contact-list li:first-child {
  padding-top: 0;
}
.ac-contact-icon {
  flex: 0 0 36px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8f4fb;
  color: #0071BC;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  margin-top: 2px;
}
.ac-contact-list strong {
  display: block;
  font-size: 14px;
  color: #222;
  margin-bottom: 4px;
}
.ac-contact-list p {
  margin: 0;
  color: #555;
  line-height: 1.6;
}
.ac-contact-list a {
  color: inherit;
  text-decoration: none;
}
.ac-contact-list a:hover {
  color: #0071BC;
}
.ac-contact-map-card {
  padding: 12px;
  overflow: hidden;
}
.ac-contact-map {
  height: 100%;
  min-height: 420px;
  border-radius: 10px;
  overflow: hidden;
}
.ac-contact-map iframe {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 420px;
  border: 0;
}
.ac-contact-map-empty {
  min-height: 420px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #999;
  background: #f7f8fa;
  border-radius: 10px;
}
@media (max-width: 991px) {
  .ac-contact-page { padding: 28px 0 56px; }
  .ac-contact-card { padding: 24px 20px; }
  .ac-contact-map,
  .ac-contact-map iframe,
  .ac-contact-map-empty { min-height: 300px; }
}

/* 吊船實例：blog post-item 格子 + 分類篩選 */
.ac-projects-page {
  padding-top: 40px;
  padding-bottom: 70px;
}
.ac-projects-intro {
  margin-bottom: 28px;
}
.ac-projects-intro h2 {
  font-size: 28px;
  margin-bottom: 12px;
}
.ac-project-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 28px;
}
.ac-project-filter {
  appearance: none;
  border: 1px solid #d9dee5;
  background: #fff;
  color: #1a1a1b;
  border-radius: 2px;
  padding: 8px 14px;
  font-size: 14px;
  line-height: 1.2;
  cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease, border-color 0.2s ease;
}
.ac-project-filter:hover,
.ac-project-filter.is-active {
  background: #1a1a1b;
  border-color: #1a1a1b;
  color: #fff;
}
.ac-project-cat {
  font-size: 13px;
  color: #777;
  margin-bottom: 8px;
}
.ac-project-gallery {
  position: relative;
}
.ac-project-more {
  position: absolute;
  right: 10px;
  bottom: 10px;
  z-index: 2;
  background: rgba(26, 26, 27, 0.82);
  color: #fff;
  font-size: 12px;
  line-height: 1;
  padding: 6px 8px;
  border-radius: 2px;
  pointer-events: none;
}
.ac-projects-page .post-item-body {
  padding-bottom: 4px;
}
.ac-projects-page .post-item-content h2 {
  font-size: 18px;
}
