/* ============================================
   通用样式
   来源: wc-inline-css + bricks-frontend-inline-css + custom-css
   适用于所有页面
   ============================================ */

/* WooCommerce 内联样式 */
.woocommerce form .form-row .required {
  visibility: visible;
}

/* Bricks 前端编辑器样式 */
body .tox.tox-silver-sink.tox-tinymce-aux,
body .tox.tox-tinymce-aux,
body .tox-shadowhost {
  z-index: 10001;
}

/* ============================================
   产品详情/列表通用样式
   ============================================ */

.product-detail-section,
.product-description {
  max-width: 1200px;
  margin: auto;
  padding: 20px;
  font-family: Arial, sans-serif;
}

.pd-title {
  font-size: 22px;
  margin-bottom: 15px;
  border-left: 4px solid #2c3e50;
  padding-left: 10px;
}

.pd-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.pd-item {
  background: #f7f7f7;
  padding: 10px;
  border-radius: 6px;
}

.pd-item span {
  font-weight: bold;
  color: #333;
}

.pd-highlight {
  margin-top: 15px;
  padding: 10px;
  background: #eef6ff;
  border-left: 4px solid #3498db;
}

.pd-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 10px;
}

.pd-table td {
  border: 1px solid #ddd;
  padding: 8px;
}

@media (max-width: 768px) {
  .pd-grid {
    grid-template-columns: 1fr;
  }
}

/* WooCommerce 产品卡片 */
.product_type_simple {
  width: 100%;
  background-color: #10508f;
  color: #fff;
}

.products .product {
  display: flex;
  flex-direction: column;
}

.products .product .dynamic[data-field-id="f2a0a7"] {
  margin-top: auto;
}

/* 分页组件 */
.page-numbers {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  list-style: none;
  margin: 30px 0;
  padding: 0;
}

.page-numbers li {
  margin: 0;
  padding: 0;
}

.page-numbers a,
.page-numbers span {
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 42px;
  height: 42px;
  padding: 0 14px;
  border: 1px solid #ddd;
  border-radius: 8px;
  background: #fff;
  color: #333;
  text-decoration: none;
  font-size: 15px;
  font-weight: 500;
  transition: all .25s ease;
}

.page-numbers a:hover {
  background: #188b39;
  border-color: #188b39;
  color: #fff;
  transform: translateY(-2px);
}

.page-numbers .current {
  background: #188b39;
  border-color: #188b39;
  color: #fff;
  cursor: default;
}

.page-numbers .prev,
.page-numbers .next {
  font-size: 18px;
  font-weight: 600;
}

.bricks-products-widgets.after {
  display: flex;
  justify-content: center;
}
