@charset "UTF-8";
/*
 * Lume Theme Styles
 * Context: lume theme
 */
@media (min-width: 768px) {
  .offcanvas-sm,
  .offcanvas-md,
  .offcanvas-lg,
  .offcanvas-xl,
  .offcanvas-xxl,
  .offcanvas {
    --bs-offcanvas-width: 400px !important;
  }
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Regular.ttf") format("truetype");
  font-weight: 400;
  font-style: normal;
  font-display: swap;
  /* 优化字体加载，避免字体闪烁 */
}
@font-face {
  font-family: "Roboto";
  src: url("../fonts/Roboto-Bold.ttf") format("truetype");
  font-weight: 700;
  font-style: normal;
  font-display: swap;
  /* 优化字体加载，避免字体闪烁 */
}
/* 默认/亮色 */
:root,
[data-bs-theme=light] {
  --bs-wc-price: var(--bs-danger);
}

/* 暗色 */
[data-bs-theme=dark] {
  --bs-wc-price: var(--bs-danger);
}

/* 应用到 body */
body {
  background-color: var(--bs-body-bg);
}

.btn-primary {
  --bs-btn-color: var(--bs-white);
  --bs-btn-hover-color: var(--bs-white);
  --bs-btn-active-color: var(--bs-white);
}

textarea.form-control,
textarea {
  border-radius: 0.75rem !important;
}

.woocommerce .blockUI.blockOverlay,
.woocommerce .loader,
#offcanvas-cart .blockUI.blockOverlay,
#offcanvas-cart .loader {
  opacity: 0.5 !important;
}

.grid-switcher {
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.grid-switcher .grid-switcher-text {
  font-size: 0.875rem;
  color: var(--bs-body-color);
  margin-right: 0.5rem;
  white-space: nowrap;
  opacity: 0.8;
  -webkit-transition: opacity 0.2s ease;
  transition: opacity 0.2s ease;
}
.grid-switcher .btn {
  min-width: 36px;
  height: 36px;
  padding: 0.375rem 0.5rem;
  font-size: 0.875rem;
  border-radius: 0.375rem;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
}
.grid-switcher .btn:hover, .grid-switcher .btn.active {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-color: var(--bs-primary);
  -webkit-transform: translateY(-1px);
      -ms-transform: translateY(-1px);
          transform: translateY(-1px);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}
.grid-switcher .btn:focus {
  -webkit-box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
          box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}
.grid-switcher:hover .grid-switcher-text {
  opacity: 1;
}

.products.grid.grid-transition {
  -webkit-transition: all 0.3s ease-in-out;
  transition: all 0.3s ease-in-out;
}

.offcanvas {
  background-color: var(--bs-tertiary-bg);
}

.products h2, .products .h2 {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 0;
}

.accordion .accordion-item {
  /*border: 1px solid var(--bs-border-color);*/
  /*border-radius: 0.5rem;*/
  /*margin-bottom: 0.5rem;*/
  overflow: hidden;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.accordion .accordion-button {
  /*background-color: var(--header-action-btn-bg);*/
  border: none;
  padding: 1rem 0.5rem;
  font-weight: 700;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  color: var(--bs-body-color);
  -webkit-box-shadow: none;
          box-shadow: none;
}
.accordion .accordion-button::after {
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.accordion .accordion-button:not(.collapsed)::after {
  -webkit-transform: rotate(180deg);
      -ms-transform: rotate(180deg);
          transform: rotate(180deg);
}
.accordion .accordion-button .icon {
  margin-right: 0.5rem;
  font-size: 1.1em;
}
.accordion .accordion-collapse {
  -webkit-transition: height 0.3s ease;
  transition: height 0.3s ease;
}
.accordion .accordion-body {
  padding: 1.5rem;
  color: var(--bs-gray-600);
  /*background-color: var(--bs-body-bg);*/
  /*border-top: 1px solid var(--bs-border-color);*/
}

.widget .widget-title {
  margin-bottom: 1rem;
  border-bottom: 2px solid var(--bs-primary);
}
.widget .product_list_widget {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget .product_list_widget li {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--bs-border-color);
  -webkit-transition: background-color 0.3s ease;
  transition: background-color 0.3s ease;
  position: relative;
}
.widget .product_list_widget li:last-child {
  border-bottom: none;
}
.widget .product_list_widget li:hover {
  background-color: var(--bs-tertiary-bg);
}
.widget .product_list_widget li a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.75rem;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  text-decoration: none;
}
.widget .product_list_widget li a:hover {
  color: var(--bs-primary);
}
.widget .product_list_widget li a img {
  width: 60px;
  height: 60px;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.5rem;
  border: 1px solid var(--bs-border-color);
  -webkit-transition: border-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: border-color 0.3s ease, -webkit-transform 0.3s ease;
  transition: border-color 0.3s ease, transform 0.3s ease;
  transition: border-color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.widget .product_list_widget li a:hover img {
  border-color: var(--bs-primary);
  -webkit-transform: scale(1.05);
      -ms-transform: scale(1.05);
          transform: scale(1.05);
}
.widget .product_list_widget li a .product-title {
  font-size: 0.75rem;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  text-overflow: ellipsis;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
}
.widget .product_list_widget li .star-rating {
  position: absolute;
  bottom: 5px;
  right: 0;
  margin: 0;
}
.widget .product_list_widget li .woocommerce-Price-amount {
  color: var(--bs-primary);
  margin-left: 0.5rem;
  white-space: nowrap;
}

.category-pagination-wrapper {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  margin: 2rem 0;
  padding: 1rem 0;
}
.category-pagination-wrapper .page-numbers {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 2.5rem;
  height: 2.5rem;
  padding: 0.5rem 0.75rem;
  font-size: 0.875rem;
  text-decoration: none;
  color: var(--bs-body-color);
  background-color: var(--bs-body-bg);
  border: 1px solid var(--bs-border-color);
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.category-pagination-wrapper .page-numbers:hover {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-color: var(--bs-primary);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
          box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}
.category-pagination-wrapper .page-numbers.current {
  background-color: var(--bs-primary);
  color: var(--bs-white);
  border-color: var(--bs-primary);
  font-weight: 600;
  -webkit-box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.2);
          box-shadow: 0 2px 8px rgba(var(--bs-primary-rgb), 0.2);
}
.category-pagination-wrapper .page-numbers.next, .category-pagination-wrapper .page-numbers.prev {
  font-size: 1rem;
  min-width: 2.5rem;
}
.category-pagination-wrapper .page-numbers.next .icon, .category-pagination-wrapper .page-numbers.prev .icon {
  font-size: 1rem;
}
.category-pagination-wrapper .page-numbers:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
          box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}
@media (max-width: 768px) {
  .category-pagination-wrapper {
    gap: 0.25rem;
    margin: 1.5rem 0;
  }
  .category-pagination-wrapper .page-numbers {
    min-width: 2rem;
    height: 2rem;
    padding: 0.375rem 0.5rem;
    font-size: 0.75rem;
  }
}

/* WooCommerce数量按钮组小尺寸样式 */
.quantity .input-group {
  width: 90px !important;
}
.quantity .input-group-text {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
}
.quantity .form-control {
  padding: 0.25rem 0.5rem !important;
  font-size: 0.875rem !important;
}

/* 产品卡片样式 - 移动端优先 */
.products .card {
  border: none;
  border-radius: 0.75rem;
  -webkit-box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
          box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
  -webkit-transition: -webkit-box-shadow 0.3s ease;
  transition: -webkit-box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease;
  transition: box-shadow 0.3s ease, -webkit-box-shadow 0.3s ease;
  overflow: hidden;
}
.products .card:hover {
  -webkit-box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
          box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}
.products .card .card-img-top {
  border-radius: 0.75rem 0.75rem 0 0;
}
.products .card .woocommerce-LoopProduct-link {
  position: relative;
  display: block;
}
.products .card .product-thumbnail {
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.products .card .card-body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  padding: 0.5rem;
}
.products .card .card-body .woocommerce-loop-product__title {
  font-size: 0.875rem;
  font-weight: normal;
  line-height: 1.4;
  color: var(--bs-body-color);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 2;
  overflow: hidden;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
  text-align: left;
}
.products .card .card-body .woocommerce-loop-product__title:hover {
  color: var(--bs-primary);
}
.products .card .card-body .price {
  margin-bottom: 0.5rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-flow: column;
          flex-flow: column;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  line-height: 1;
  font-weight: 700;
}
.products .card .card-body .price del {
  color: var(--bs-secondary);
}
.products .card .card-body .price del .woocommerce-Price-amount {
  font-size: 0.875rem !important;
  font-weight: normal !important;
}
.products .card .card-body .price ins {
  font-weight: 700 !important;
}
.products .card .card-body .free-shipping-badge {
  margin: 0 0 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.products .card .card-body .woocommerce-LoopProduct-link {
  text-decoration: none;
  color: inherit;
}
@media (min-width: 768px) {
  .products .card .card-body {
    padding: 0.5rem 0.5rem;
  }
  .products .card .card-body .price {
    font-size: 1.125rem;
  }
}

.product-section h2, .upsell-products h2 {
  margin-bottom: 1.25rem;
}

#coming-soon-footer-banner {
  display: none !important;
}

#offcanvas-navbar .offcanvas-header, #offcanvas-cart .offcanvas-header {
  border-bottom: 1px solid var(--bs-border-color);
}

/* 通用自定义滚动条样式 - 用于 overflow: auto 的元素 */
.custom-scrollbar, .products.upsell-grid, .products.related-grid, .woocommerce-widget-layered-nav-list,
.product-category-description, .sub-categories .sub-categories-nav, .posts-grid-section .posts-grid-wrapper, .table-responsive {
  /* 隐藏原生滚动条，但保留滚动功能 */
  scrollbar-width: none; /* Firefox */
  /* 拖拽时的鼠标样式 */
  cursor: -webkit-grab;
  cursor: grab;
}
.custom-scrollbar::-webkit-scrollbar, .products.upsell-grid::-webkit-scrollbar, .products.related-grid::-webkit-scrollbar, .woocommerce-widget-layered-nav-list::-webkit-scrollbar,
.product-category-description::-webkit-scrollbar, .sub-categories .sub-categories-nav::-webkit-scrollbar, .posts-grid-section .posts-grid-wrapper::-webkit-scrollbar, .table-responsive::-webkit-scrollbar {
  height: 0;
  width: 0;
}
.custom-scrollbar.is-dragging, .is-dragging.products.upsell-grid, .is-dragging.products.related-grid, .is-dragging.woocommerce-widget-layered-nav-list,
.is-dragging.product-category-description, .sub-categories .is-dragging.sub-categories-nav, .posts-grid-section .is-dragging.posts-grid-wrapper, .is-dragging.table-responsive {
  cursor: -webkit-grabbing;
  cursor: grabbing;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

/* 自定义横向滚动 UI（Bootstrap 5 + iconfont） */
.hs-wrapper {
  position: relative;
}

.hs-controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
  margin-top: 0.5rem;
  width: 100%;
  max-width: 600px;
  margin-left: auto;
  margin-right: auto;
}

.hs-track {
  position: relative;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 auto;
          flex: 1 1 auto;
  height: var(--hs-track-height, 6px);
  background: rgba(0, 0, 0, 0.1);
  border-radius: 999px;
  overflow: hidden;
}

.hs-thumb {
  position: absolute;
  top: 0;
  left: 0;
  height: 100%;
  width: var(--hs-thumb-width, 300px);
  background: rgba(0, 0, 0, 0.35);
  border-radius: 999px;
  cursor: -webkit-grab;
  cursor: grab;
}

.hs-thumb.is-dragging {
  cursor: -webkit-grabbing;
  cursor: grabbing;
}

.hs-btn {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.hs-btn .icon {
  font-size: 0.75rem;
}

/* 隐藏滚动条但保持滚动功能 */
.hide-scrollbar {
  /* 针对 Webkit 浏览器（Chrome, Safari, Edge） */
  /* 针对 Firefox */
  scrollbar-width: none;
  /* 针对 IE 和 Edge（旧版） */
  -ms-overflow-style: none;
}
.hide-scrollbar::-webkit-scrollbar {
  display: none;
}

/* 使产品页推荐区域 .upsell-grid 横向滚动（在添加 custom-scrollbar 时生效） */
.upsell-grid.custom-scrollbar, .upsell-grid.products, .upsell-grid.woocommerce-widget-layered-nav-list,
.upsell-grid.product-category-description, .sub-categories .upsell-grid.sub-categories-nav, .posts-grid-section .upsell-grid.posts-grid-wrapper, .upsell-grid.table-responsive {
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap; /* 覆盖 Bootstrap .row 的 wrap */
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-scroll-snap-type: x proximity;
      -ms-scroll-snap-type: x proximity;
          scroll-snap-type: x proximity;
  padding-bottom: 0.25rem; /* 给自定义轨道留少许空间 */
}

.upsell-grid.custom-scrollbar > .col, .upsell-grid.products > .col, .upsell-grid.woocommerce-widget-layered-nav-list > .col,
.upsell-grid.product-category-description > .col, .sub-categories .upsell-grid.sub-categories-nav > .col, .posts-grid-section .upsell-grid.posts-grid-wrapper > .col, .upsell-grid.table-responsive > .col {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto; /* 避免换行，使列在横向排列 */
}

/* WooCommerce 信息提示样式统一优化 */
.alert,
.must-log-in,
.woocommerce-error,
.woocommerce-info,
.woocommerce-noreviews,
.woocommerce-message,
.woocommerce-thankyou-order-details,
.wc-stripe-error {
  padding: 1.5rem !important;
  margin: 1.5rem 0 !important;
  border-radius: 0.75rem !important;
  border: 1px solid var(--bs-border-color) !important;
  background-color: var(--bs-tertiary-bg) !important;
  font-size: 0.9375rem !important;
  line-height: 1.6 !important;
  letter-spacing: 0.02em !important;
  -webkit-box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08) !important;
          box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.08) !important;
  -webkit-transition: all 0.3s ease !important;
  transition: all 0.3s ease !important;
}
@media (max-width: 768px) {
  .alert,
  .must-log-in,
  .woocommerce-error,
  .woocommerce-info,
  .woocommerce-noreviews,
  .woocommerce-message,
  .woocommerce-thankyou-order-details,
  .wc-stripe-error {
    padding: 1.25rem 1rem !important;
    font-size: 0.875rem !important;
    margin: 1rem 0 !important;
  }
}

/* Bootstrap Alert 样式增强 */
.alert .alert-heading {
  font-size: 1.125rem;
  font-weight: 700;
  margin-bottom: 0.75rem;
}
.alert .btn-close {
  opacity: 0.6;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.alert .btn-close:hover {
  opacity: 1;
}

/* 通用样式 - 错误提示 */
.must-log-in,
.woocommerce-error,
.wc-stripe-error {
  background-color: rgba(var(--bs-danger-rgb), 0.1) !important;
  border-color: var(--bs-danger) !important;
  color: var(--bs-danger) !important;
}

/* 通用样式 - 信息提示 */
.woocommerce-info {
  background-color: rgba(var(--bs-info-rgb), 0.1) !important;
  border-color: var(--bs-info) !important;
  color: var(--bs-info) !important;
}

/* 通用样式 - 成功提示 */
.woocommerce-message {
  background-color: rgba(var(--bs-success-rgb), 0.1) !important;
  border-color: var(--bs-success) !important;
  color: var(--bs-success) !important;
}
.woocommerce-message::before {
  content: none;
}

/* WooCommerce 无评论信息 */
.woocommerce-noreviews {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  padding: 2rem 1rem !important;
  text-align: center;
  background-color: var(--bs-tertiary-bg) !important;
  border-style: dashed !important;
  color: var(--bs-secondary) !important;
}
@media (max-width: 768px) {
  .woocommerce-noreviews {
    padding: 1.5rem 1rem !important;
  }
}
.woocommerce-noreviews::before {
  content: none;
}

.woocommerce-table,
.shop_table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius-xl);
  overflow: hidden;
  -webkit-box-shadow: var(--bs-box-shadow-sm);
          box-shadow: var(--bs-box-shadow-sm);
  border: 1px solid var(--bs-border-color);
}
.woocommerce-table thead,
.shop_table thead {
  background-color: var(--bs-gray-100);
}
.woocommerce-table thead th,
.shop_table thead th {
  padding: 1rem 1.25rem;
  text-align: left;
  font-weight: 700;
  font-size: 0.9375rem;
  color: var(--bs-gray-800);
  border-bottom: 2px solid var(--bs-border-color);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.woocommerce-table thead th:first-child,
.shop_table thead th:first-child {
  padding-left: 1.5rem;
}
.woocommerce-table thead th:last-child,
.shop_table thead th:last-child {
  padding-right: 1.5rem;
  text-align: right;
}
.woocommerce-table tbody tr,
.shop_table tbody tr {
  border-bottom: 1px solid var(--bs-border-color);
  -webkit-transition: background-color 0.2s ease;
  transition: background-color 0.2s ease;
}
.woocommerce-table tbody tr:last-child,
.shop_table tbody tr:last-child {
  border-bottom: none;
}
.woocommerce-table tbody tr:hover,
.shop_table tbody tr:hover {
  background-color: var(--bs-gray-50);
}
.woocommerce-table tbody td,
.shop_table tbody td {
  padding: 1.25rem 1.25rem;
  vertical-align: top;
}
.woocommerce-table tbody td:first-child,
.shop_table tbody td:first-child {
  padding-left: 1.5rem;
}
.woocommerce-table tbody td:last-child,
.shop_table tbody td:last-child {
  padding-right: 1.5rem;
  text-align: right;
  font-weight: 600;
  color: var(--bs-gray-800);
}
.woocommerce-table tbody .product-name a,
.shop_table tbody .product-name a {
  color: var(--bs-gray-800);
  text-decoration: none;
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.woocommerce-table tbody .product-name a:hover,
.shop_table tbody .product-name a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}
.woocommerce-table tbody .product-name .product-quantity,
.shop_table tbody .product-name .product-quantity {
  display: inline-block;
  margin-left: 0.5rem;
  color: var(--bs-gray-600);
  font-weight: 400;
  font-size: 0.875rem;
}
.woocommerce-table tfoot,
.shop_table tfoot {
  background-color: var(--bs-gray-50);
}
.woocommerce-table tfoot tr,
.shop_table tfoot tr {
  border-top: 1px solid var(--bs-border-color);
}
.woocommerce-table tfoot tr:first-child,
.shop_table tfoot tr:first-child {
  border-top: 2px solid var(--bs-border-color);
}
.woocommerce-table tfoot tr:last-child,
.shop_table tfoot tr:last-child {
  background-color: var(--bs-primary);
  color: var(--bs-white);
}
.woocommerce-table tfoot tr:last-child th, .woocommerce-table tfoot tr:last-child td,
.shop_table tfoot tr:last-child th,
.shop_table tfoot tr:last-child td {
  color: var(--bs-white);
  font-weight: 700;
  font-size: 1rem;
}
.woocommerce-table tfoot th,
.shop_table tfoot th {
  padding: 0.875rem 1.25rem;
  text-align: left;
  font-weight: 600;
  color: var(--bs-gray-700);
  font-size: 0.9375rem;
}
.woocommerce-table tfoot th:first-child,
.shop_table tfoot th:first-child {
  padding-left: 1.5rem;
}
.woocommerce-table tfoot td,
.shop_table tfoot td {
  padding: 0.875rem 1.25rem;
  text-align: right;
  font-weight: 600;
  color: var(--bs-gray-800);
  font-size: 0.9375rem;
}
.woocommerce-table tfoot td:last-child,
.shop_table tfoot td:last-child {
  padding-right: 1.5rem;
}
.woocommerce-table .woocommerce-Price-amount,
.shop_table .woocommerce-Price-amount {
  font-weight: 600;
  color: var(--bs-gray-800);
}
.woocommerce-table .woocommerce-Price-amount .woocommerce-Price-currencySymbol,
.shop_table .woocommerce-Price-amount .woocommerce-Price-currencySymbol {
  margin-right: 0.125rem;
}
@media (max-width: 992px) {
  .woocommerce-table,
  .shop_table {
    display: block;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .woocommerce-table thead th,
  .shop_table thead th {
    padding: 0.75rem 1rem;
    font-size: 0.8125rem;
  }
  .woocommerce-table thead th:first-child,
  .shop_table thead th:first-child {
    padding-left: 1rem;
  }
  .woocommerce-table thead th:last-child,
  .shop_table thead th:last-child {
    padding-right: 1rem;
  }
  .woocommerce-table tbody td,
  .shop_table tbody td {
    padding: 1rem;
    font-size: 0.875rem;
  }
  .woocommerce-table tbody td:first-child,
  .shop_table tbody td:first-child {
    padding-left: 1rem;
  }
  .woocommerce-table tbody td:last-child,
  .shop_table tbody td:last-child {
    padding-right: 1rem;
  }
  .woocommerce-table tfoot th, .woocommerce-table tfoot td,
  .shop_table tfoot th,
  .shop_table tfoot td {
    padding: 0.75rem 1rem;
    font-size: 0.875rem;
  }
  .woocommerce-table tfoot th:first-child, .woocommerce-table tfoot td:first-child,
  .shop_table tfoot th:first-child,
  .shop_table tfoot td:first-child {
    padding-left: 1rem;
  }
  .woocommerce-table tfoot th:last-child, .woocommerce-table tfoot td:last-child,
  .shop_table tfoot th:last-child,
  .shop_table tfoot td:last-child {
    padding-right: 1rem;
  }
}

/* 感谢页面订单详情 */
.woocommerce-thankyou-order-details {
  background-color: rgba(var(--bs-primary-rgb), 0.05) !important;
  border-color: var(--bs-primary) !important;
}
.woocommerce-thankyou-order-details .woocommerce-table {
  margin-bottom: 0;
}

/* 全局 - 通知样式 */
.woocommerce-notice {
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius-xl);
  padding: 1.5rem;
  -webkit-box-shadow: var(--bs-box-shadow-sm);
          box-shadow: var(--bs-box-shadow-sm);
  border: 1px solid var(--bs-border-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.woocommerce-notice:hover {
  -webkit-box-shadow: var(--bs-box-shadow);
          box-shadow: var(--bs-box-shadow);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}
.woocommerce-notice.woocommerce-notice--success {
  color: var(--bs-success-text-emphasis);
}

.woocommerce-thankyou-order-details.order_details:before {
  content: none !important;
}

/* WooCommerce 产品分类样式美化 - 兼容菜单样式 */
.widget .product-categories {
  list-style: none;
  padding: 0;
  margin: 0;
}
.widget .product-categories .cat-item {
  margin-bottom: 0.125rem;
  position: relative;
}
.widget .product-categories .cat-item > a {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  padding: 0.5rem 1rem;
  color: var(--bs-body-color);
  text-decoration: none;
  font-size: 0.9375rem;
  border-radius: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
.widget .product-categories .cat-item > a:hover {
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-primary);
  padding-left: 1.25rem;
}
.widget .product-categories .cat-item > a:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
          box-shadow: 0 0 0 0.2rem rgba(var(--bs-primary-rgb), 0.25);
}
.widget .product-categories .cat-item.current-cat > a {
  background-color: rgba(var(--bs-primary-rgb), 0.1);
  color: var(--bs-primary);
  font-weight: 600;
}
.widget .product-categories .cat-item.current-cat > a::before {
  content: "";
  position: absolute;
  left: 0;
  top: 50%;
  -webkit-transform: translateY(-50%);
      -ms-transform: translateY(-50%);
          transform: translateY(-50%);
  width: 3px;
  height: 60%;
  background-color: var(--bs-primary);
  border-radius: 0 2px 2px 0;
}
.widget .product-categories .cat-item.cat-parent > a::after {
  content: "▼";
  font-size: 0.75rem;
  margin-left: 0.5rem;
  opacity: 0.6;
}
.widget .product-categories .cat-item .children {
  list-style: none;
  padding: 0.25rem 0 0.25rem 1rem;
  margin: 0;
  display: block;
}
.widget .product-categories .cat-item .children .cat-item {
  margin-bottom: 0.0625rem;
}
.widget .product-categories .cat-item .children .cat-item > a {
  display: block;
  padding: 0.5rem 1rem 0.5rem 1.5rem;
  color: var(--bs-secondary);
  font-size: 0.875rem;
  font-weight: 400;
  border-radius: 0.375rem;
  position: relative;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
.widget .product-categories .cat-item .children .cat-item > a::before {
  content: "•";
  position: absolute;
  left: 0.5rem;
  color: var(--bs-primary);
  opacity: 0;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.widget .product-categories .cat-item .children .cat-item > a:hover {
  background-color: var(--bs-tertiary-bg);
  color: var(--bs-primary);
  padding-left: 2rem;
}
.widget .product-categories .cat-item .children .cat-item > a:hover::before {
  opacity: 1;
}
.widget .product-categories .cat-item .children .cat-item.current-cat > a {
  background-color: rgba(var(--bs-primary-rgb), 0.08);
  color: var(--bs-primary);
}
.widget .product-categories .cat-item .children .cat-item.current-cat > a::before {
  opacity: 1;
}
.widget .product-categories .cat-item .children .cat-item .children {
  padding: 0.25rem 0 0.25rem 1rem;
}
.widget .product-categories .cat-item .children .cat-item .children .cat-item > a {
  padding: 0.5rem 1rem 0.5rem 2rem;
  font-size: 0.8125rem;
}
.widget .product-categories .cat-item .children .cat-item .children .cat-item > a::before {
  left: 1rem;
}
.widget .product-categories .cat-item .children .cat-item .children .cat-item > a:hover {
  padding-left: 2.5rem;
}
@media (max-width: 768px) {
  .widget .product-categories .cat-item > a {
    padding: 0.5rem 0.875rem;
    font-size: 0.875rem;
  }
  .widget .product-categories .cat-item .children {
    padding-left: 0.75rem;
  }
  .widget .product-categories .cat-item .children .cat-item > a {
    padding: 0.375rem 0.875rem 0.375rem 1.25rem;
    font-size: 0.8125rem;
  }
}

.show-password-input {
  display: none !important;
}

/*
 * Component: Header Scroll Behavior
 * Context: lume theme
 */
.header-bar {
  background-color: var(--bs-dark);
  color: var(--bs-white);
}
.header-bar .widget p {
  margin-bottom: 0;
}

.header-menu-toggler {
  -webkit-box-ordinal-group: 2;
      -ms-flex-order: 1;
          order: 1;
  margin-right: 0.5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  position: relative;
  z-index: 1;
}

.navbar-brand {
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-right: 0.5rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.navbar-brand img {
  width: auto;
}

.header-inline-search {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  margin: 0 0.5rem;
  -webkit-box-ordinal-group: 5;
      -ms-flex-order: 4;
          order: 4;
}
@media (max-width: calc(1200px - 1px)) {
  .header-inline-search {
    -ms-flex-preferred-size: 100%;
        flex-basis: 100%;
    width: 100%;
    -webkit-box-ordinal-group: 11;
        -ms-flex-order: 10;
            order: 10;
    margin: 0.5rem 0 0 0;
  }
}

.header-actions {
  -webkit-box-ordinal-group: 4;
      -ms-flex-order: 3;
          order: 3;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 0.5rem;
}

#masthead {
  position: -webkit-sticky;
  position: sticky;
  top: 0;
  z-index: 1030;
  -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
          box-shadow: 0 0 0 rgba(0, 0, 0, 0);
}
#masthead.scrolled {
  -webkit-box-shadow: var(--bs-box-shadow-sm);
          box-shadow: var(--bs-box-shadow-sm);
}

@media (min-width: 1200px) {
  .header-menu-toggler {
    display: -webkit-inline-box !important;
    display: -ms-inline-flexbox !important;
    display: inline-flex !important;
    visibility: hidden;
    pointer-events: none;
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
  }
  #masthead.scrolled .header-menu-toggler {
    visibility: visible;
    pointer-events: auto;
    -webkit-box-ordinal-group: 0;
        -ms-flex-order: -1;
            order: -1;
  }
  #nav-main .navbar {
    padding-top: var(--bs-navbar-padding-y);
    padding-bottom: var(--bs-navbar-padding-y);
  }
  #masthead.scrolled #nav-main .navbar {
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
  }
}
@media (min-width: 1200px) {
  .navbar-brand {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    margin-right: auto;
  }
  .header-inline-search {
    width: 600px;
    -webkit-box-flex: 0;
        -ms-flex: 0 1 auto;
            flex: 0 1 auto;
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
  }
  .header-actions {
    -webkit-box-ordinal-group: 1;
        -ms-flex-order: 0;
            order: 0;
    margin-left: auto;
  }
}
.site-header .btn-link .icon {
  font-size: 1.25rem;
}

.dark-mode-toggle {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.dark-mode-toggle label {
  cursor: pointer;
  margin-bottom: 0;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.dark-mode-toggle label:hover .dark-mode-text {
  opacity: 0.8;
}
.dark-mode-toggle .form-check-input {
  cursor: pointer;
}
.dark-mode-toggle .dark-mode-text {
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}

#offcanvas-navbar .mobile-top-actions .mobile-account-link {
  padding: 1rem 0.5rem !important;
  margin-bottom: 0;
}
#offcanvas-navbar .mobile-top-actions .dark-mode-toggle {
  padding: 1rem 0.5rem !important;
  border-right: 1px solid var(--bs-border-color);
}
#offcanvas-navbar .offcanvas-body {
  padding: 0 !important;
}
#offcanvas-navbar .offcanvas-body .mobile-menu-wrapper {
  margin: 0 !important;
  height: calc(100vh - 60px) !important;
}
#offcanvas-navbar .offcanvas-body #mobile-nav-root {
  padding: 0 !important;
}

.top-button {
  width: 2.5rem;
  height: 2.5rem;
  font-size: 1.25rem;
  padding: 0;
  background-color: var(--bs-white);
}

/* 底部样式 */
.bootscore-footer-top .wc-subscribe-form-container .wc-subscribe-form-title {
  color: var(--bs-white);
}
.bootscore-footer-top.border-bottom {
  border-color: #272727 !important;
}

#footer {
  background-color: var(--bs-body-bg);
  color: var(--bs-body-color);
  position: relative;
  border-top: var(--bs-border-width) solid var(--bs-border-color);
}
#footer .bg-dark {
  color: var(--bs-light);
  background-color: #000 !important;
}
#footer .bg-dark a {
  color: var(--bs-light);
}
#footer .bg-dark .widget-title {
  color: var(--bs-light);
}
#footer .bg-dark .widget-content {
  color: var(--bs-light);
}
#footer .bg-dark .widget-title::after {
  background-color: var(--bs-light);
}
#footer a {
  color: var(--bs-body-color);
  text-decoration: none;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  position: relative;
}
#footer a:hover {
  color: var(--bs-primary);
  -webkit-transform: translateX(3px);
      -ms-transform: translateX(3px);
          transform: translateX(3px);
}
#footer a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1px;
  background-color: var(--bs-primary);
  -webkit-transition: width 0.3s ease;
  transition: width 0.3s ease;
}
#footer a:hover::after {
  width: 100%;
}
#footer .widget-title {
  color: var(--bs-body-color);
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  position: relative;
  padding-bottom: 0.75rem;
  border: none;
}
#footer .widget-title::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 0;
  width: 2rem;
  height: 2px;
  background-color: var(--bs-primary);
  border-radius: 1px;
}
#footer ul {
  list-style: none;
  padding: 0;
  margin: 0;
}
#footer ul li {
  line-height: 1.875rem;
  margin-bottom: 0.5rem;
  position: relative;
  padding-left: 1rem;
}
#footer ul li::before {
  content: "→";
  position: absolute;
  left: 0;
  color: var(--bs-primary);
  font-size: 0.75rem;
  opacity: 0;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#footer ul li:hover::before {
  opacity: 1;
  -webkit-transform: translateX(3px);
      -ms-transform: translateX(3px);
          transform: translateX(3px);
}
#footer .footer-bottom {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: var(--bs-border-width) solid var(--bs-border-color);
  text-align: center;
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}
#footer .social-links {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 1rem;
  margin-top: 1rem;
}
#footer .social-links a {
  display: -webkit-inline-box;
  display: -ms-inline-flexbox;
  display: inline-flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  width: 2.5rem;
  height: 2.5rem;
  background-color: var(--bs-secondary-bg);
  border: var(--bs-border-width) solid var(--bs-border-color);
  border-radius: 50%;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
#footer .social-links a:hover {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-white);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
  -webkit-box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
          box-shadow: 0 4px 12px rgba(var(--bs-primary-rgb), 0.3);
}
#footer .footer_widget .widget-title.collapsible {
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
#footer .footer_widget .widget-title.collapsible::before {
  content: "\e61b";
  font-family: "icon";
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
  -webkit-box-ordinal-group: 3;
      -ms-flex-order: 2;
          order: 2;
  margin-left: 0.5rem;
}
#footer .footer_widget .widget-title.collapsible.collapsed::before {
  -webkit-transform: rotate(-180deg);
      -ms-transform: rotate(-180deg);
          transform: rotate(-180deg);
}
#footer .footer_widget .widget-title.collapsible:hover {
  color: var(--bs-primary);
}
#footer .footer_widget .widget-title.collapsible:hover::before {
  color: var(--bs-primary);
}
#footer .footer_widget .widget-content {
  overflow: hidden;
  -webkit-transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  transition: max-height 0.3s ease-out, opacity 0.3s ease-out;
  max-height: 1000px;
  opacity: 1;
}
#footer .footer_widget .widget-content.collapsed {
  max-height: 0;
  opacity: 0;
  margin-top: 0 !important;
}
#footer .footer_widget .textwidget p {
  margin-bottom: 0;
  font-size: 0.8125rem;
  line-height: 1.625rem;
}
@media (max-width: 768px) {
  #footer .widget-title {
    font-size: 1.125rem;
    margin-bottom: 1rem;
  }
  #footer ul li {
    line-height: 1.625rem;
    margin-bottom: 0.375rem;
  }
  #footer .product_list_widget li {
    padding: 0.5rem 0;
  }
  #footer .product_list_widget li a img {
    width: 40px;
    height: 40px;
  }
}
@media (min-width: 769px) {
  #footer .footer_widget .widget-title.collapsible::before {
    display: none;
  }
}

.home-products-slider {
  -webkit-scroll-snap-type: x mandatory;
      -ms-scroll-snap-type: x mandatory;
          scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding-bottom: 0.5rem;
  scroll-behavior: smooth;
}
.home-products-slider .products {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  list-style: none;
  margin: 0;
  padding: 0;
}
.home-products-slider .products li {
  list-style: none;
  margin: 0;
  padding: 0;
}
@media (max-width: calc(768px - 0.02px)) {
  .home-products-slider .row-cols-2 .col {
    width: 65%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .home-products-slider {
    scroll-behavior: auto;
  }
}
.home-product-card {
  width: calc((100% - 1rem * 1.4) / 2.4);
  scroll-snap-align: start;
}

@media (min-width: 992px) {
  .home-product-card {
    width: calc((100% - 1rem * 2.4) / 3.4);
  }
}
@media (min-width: 1200px) {
  .home-product-card {
    width: calc((100% - 1rem * 3.4) / 4.4);
  }
}
@media (min-width: 1400px) {
  .home-product-card {
    width: calc((100% - 1rem * 4) / 5);
  }
}
/* Posts Grid Section */
.posts-grid-section {
  padding: 1rem 0;
  max-width: 75rem;
  margin: 0 auto;
}
.posts-grid-section .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-heading-color);
  margin-bottom: 2rem;
  position: relative;
}
.posts-grid-section .section-title::after {
  content: "";
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  -webkit-transform: translateX(-50%);
      -ms-transform: translateX(-50%);
          transform: translateX(-50%);
  width: 3rem;
  height: 0.25rem;
  background: var(--header-bar-bg);
  border-radius: 0.125rem;
}
.posts-grid-section .posts-grid-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-scroll-snap-type: x mandatory;
      -ms-scroll-snap-type: x mandatory;
          scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scroll-behavior: smooth;
  margin: 0 -0.5rem;
  padding: 0 0.5rem;
  scrollbar-width: none;
}
.posts-grid-section .posts-grid-wrapper::-webkit-scrollbar {
  display: none;
}
.posts-grid-section .posts-grid {
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
}
@media (min-width: 1200px) {
  .posts-grid-section .posts-grid {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
  }
}
.posts-grid-section .posts-grid-item {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 calc(66.666% - 0.5rem);
          flex: 0 0 calc(66.666% - 0.5rem);
  scroll-snap-align: center;
  min-width: 0;
}
.posts-grid-section .posts-grid-item:first-child {
  scroll-snap-align: start;
}
@media (min-width: 768px) {
  .posts-grid-section .posts-grid-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(40% - 0.5rem);
            flex: 0 0 calc(40% - 0.5rem);
  }
}
@media (min-width: 992px) {
  .posts-grid-section .posts-grid-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 calc(28.571% - 0.5rem);
            flex: 0 0 calc(28.571% - 0.5rem);
  }
}
@media (min-width: 1200px) {
  .posts-grid-section .posts-grid-item {
    -webkit-box-flex: 0;
        -ms-flex: none;
            flex: none;
    scroll-snap-align: none;
  }
}
.posts-grid-section .card {
  background: var(--bs-body-bg);
  border-radius: 0.5rem;
  overflow: hidden;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
          box-shadow: 0 0.125rem 0.5rem rgba(0, 0, 0, 0.1);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
.posts-grid-section .card:hover {
  -webkit-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
          box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.15);
}
.posts-grid-section .card:hover .card-title {
  color: var(--bs-primary);
}
.posts-grid-section .posts-grid-link {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  height: 100%;
  color: inherit;
  text-decoration: none;
}
.posts-grid-section .posts-grid-thumbnail {
  position: relative;
  width: 100%;
  padding-top: 66.666%;
  overflow: hidden;
  background: var(--bs-tertiary-bg);
}
.posts-grid-section .posts-grid-content {
  padding: 1rem;
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
}
@media (min-width: 1200px) {
  .posts-grid-section .posts-grid-content {
    padding: 1.25rem;
  }
}
.posts-grid-section .card-title {
  font-size: 0.8125rem;
  color: var(--bs-heading-color);
  margin-bottom: 0.5rem;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1200px) {
  .posts-grid-section .posts-grid-wrapper {
    overflow: visible;
    -webkit-scroll-snap-type: none;
        -ms-scroll-snap-type: none;
            scroll-snap-type: none;
    margin: 0;
    padding: 0;
  }
}
@media (min-width: 1200px) {
  .posts-grid-section {
    padding: 2rem 0;
  }
  .posts-grid-section .section-title {
    font-size: 2rem;
  }
}

.home-gallery {
  padding: 3rem 0;
}
.home-gallery .section-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-heading-color);
}
.home-gallery .section-subtitle {
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
  font-size: 0.9375rem;
}
.home-gallery .gallery-track {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 12px;
  overflow-x: auto;
  overflow-y: hidden;
  -webkit-scroll-snap-type: x mandatory;
      -ms-scroll-snap-type: x mandatory;
          scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: none;
}
.home-gallery .gallery-track::-webkit-scrollbar {
  display: none;
}
.home-gallery .gallery-item {
  scroll-snap-align: start;
  -webkit-box-flex: 0;
      -ms-flex: 0 0 41.6666666667%;
          flex: 0 0 41.6666666667%;
  border-radius: var(--bs-border-radius);
  overflow: hidden;
  background: var(--bs-tertiary-bg);
}
.home-gallery .gallery-item img {
  width: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .home-gallery .gallery-item {
    -ms-flex-preferred-size: 28.5714285714%;
        flex-basis: 28.5714285714%;
  }
}
@media (min-width: 992px) and (max-width: calc(1200px - 0.02px)) {
  .home-gallery .gallery-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
  }
  .home-gallery .gallery-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 22.2222222222%;
            flex: 0 0 22.2222222222%;
  }
}
@media (min-width: 1200px) {
  .home-gallery .gallery-track {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    overflow-x: auto;
  }
  .home-gallery .gallery-item {
    -webkit-box-flex: 0;
        -ms-flex: 0 0 16.66%;
            flex: 0 0 16.66%;
  }
}

.woocommerce-mini-cart .woocommerce-mini-cart-item {
  background-color: var(--header-bar-bg);
}
.woocommerce-mini-cart .woocommerce-mini-cart-item .bootscore-custom-render-total {
  font-weight: 700;
  color: var(--bs-primary);
}
.woocommerce-mini-cart .woocommerce-mini-cart-item .remove_from_cart_button .icon {
  font-size: 0.8125rem;
}

.cart-footer .woocommerce-mini-cart__total .woocommerce-Price-amount {
  font-weight: 700;
  color: var(--bs-primary);
}

.woocommerce-mini-cart__buttons .btn {
  border-radius: 50rem;
}

.wp-block-woocommerce-cart .wc-block-components-sidebar-layout {
  margin-top: 2rem;
}
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main {
  padding: 1rem;
  border-radius: var(--bs-border-radius-xxl);
  background-color: var(--bs-body-bg);
  margin-bottom: 1rem;
}
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main .wc-block-cart-items {
  margin-bottom: 0.625rem;
}
.wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main .wc-block-cart-items td, .wp-block-woocommerce-cart .wc-block-components-sidebar-layout .wc-block-components-main .wc-block-cart-items th {
  margin: 0;
}
.wp-block-woocommerce-cart .wc-block-components-sidebar .wp-block-woocommerce-cart-order-summary-block {
  padding: 1rem;
  border-radius: var(--bs-border-radius-xxl);
  background-color: var(--bs-body-bg);
}
.wp-block-woocommerce-cart .wc-block-components-sidebar .wc-block-components-button {
  background-color: var(--bs-primary);
  border: none;
  color: var(--bs-body-bg);
  border-radius: 50rem;
  font-weight: 700;
}
.wp-block-woocommerce-cart .wc-block-components-sidebar .wc-block-components-button:hover {
  background-color: var(--bs-black);
}

/* 修改billing fields的样式 */
.wc-block-components-sidebar-layout .wc-block-components-main {
  background-color: var(--bs-body-bg);
  padding: 1rem !important;
  border-radius: var(--bs-border-radius-xxl);
}

.wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
  background-color: var(--bs-body-bg);
  padding: 1rem;
  border-radius: var(--bs-border-radius-xxl);
  border: none;
}

@media (min-width: 992px) {
  .wc-block-components-sidebar-layout .wc-block-components-main {
    padding: 2rem !important;
  }
  .wc-block-components-sidebar .wp-block-woocommerce-checkout-order-summary-block {
    padding: 2rem !important;
  }
}
.wc-block-components-button:not(.is-link) {
  background-color: var(--bs-primary);
  border: none;
  color: var(--bs-body-bg);
  border-radius: 50rem;
  font-weight: 700;
}
.wc-block-components-button:not(.is-link):hover {
  background-color: var(--bs-black);
  color: var(--bs-body-bg);
}

.wc-block-components-order-summary-item .wc-block-components-product-metadata {
  display: none;
}

.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill {
  border: none !important;
}
.wp-block-woocommerce-checkout-order-summary-block .checkout-order-summary-block-fill .wc-block-components-order-summary {
  padding: 0 !important;
}

.woocommerce-order-received .entry-header .entry-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bs-gray-800);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  display: inline-block;
  width: 100%;
}
.woocommerce-order-received .woocommerce-order-details {
  margin-top: 1.875rem;
}
.woocommerce-order-received .woocommerce-order-details .woocommerce-order-details__title {
  font-size: 1.25rem;
  font-weight: 700;
  color: var(--bs-gray-800);
  margin: 0 0 1.25rem 0;
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  display: inline-block;
  width: 100%;
}

.woocommerce-thankyou-order-details.order_details:before {
  content: none !important;
}

.woocommerce-customer-details {
  margin-top: 1.875rem;
}
.woocommerce-customer-details .col2-set.addresses {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  gap: 1.5rem;
  margin: 0;
}
@media (min-width: 1200px) {
  .woocommerce-customer-details .col2-set.addresses {
    gap: 1.875rem;
  }
}
.woocommerce-customer-details .col-1,
.woocommerce-customer-details .col-2 {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 100%;
          flex: 1 1 100%;
  min-width: 0;
  background-color: var(--bs-body-bg);
  border-radius: var(--bs-border-radius-xl);
  padding: 1.5rem;
  -webkit-box-shadow: var(--bs-box-shadow-sm);
          box-shadow: var(--bs-box-shadow-sm);
  border: 1px solid var(--bs-border-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
}
@media (min-width: 1200px) {
  .woocommerce-customer-details .col-1,
  .woocommerce-customer-details .col-2 {
    -webkit-box-flex: 1;
        -ms-flex: 1 1 calc(50% - 0.9375rem);
            flex: 1 1 calc(50% - 0.9375rem);
  }
}
.woocommerce-customer-details .col-1:hover,
.woocommerce-customer-details .col-2:hover {
  -webkit-box-shadow: var(--bs-box-shadow);
          box-shadow: var(--bs-box-shadow);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}
.woocommerce-customer-details .woocommerce-column__title {
  font-size: 1.125rem;
  font-weight: 700;
  margin: 0 0 1.25rem 0;
  color: var(--bs-gray-800);
  padding-bottom: 0.75rem;
  border-bottom: 2px solid var(--bs-primary);
  display: inline-block;
  width: 100%;
}
.woocommerce-customer-details address {
  font-style: normal;
  line-height: 1.8;
  color: var(--bs-gray-700);
  margin: 0;
  padding: 0;
  border: none;
}
.woocommerce-customer-details address br {
  display: block;
  content: "";
  margin: 0.25rem 0;
}
.woocommerce-customer-details address .woocommerce-customer-details--phone {
  margin: 1rem 0 0 0;
  padding: 0.75rem 0 0 0;
  border-top: 1px solid var(--bs-border-color);
  color: var(--bs-gray-700);
  font-size: 0.9375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.woocommerce-customer-details address .woocommerce-customer-details--phone::before {
  content: "📞";
  font-size: 1rem;
}
.woocommerce-customer-details address .woocommerce-customer-details--email {
  margin: 0.75rem 0 0 0;
  padding: 0;
  color: var(--bs-gray-700);
  font-size: 0.9375rem;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
.woocommerce-customer-details address .woocommerce-customer-details--email::before {
  content: "✉️";
  font-size: 1rem;
}
.woocommerce-customer-details address .woocommerce-customer-details--email a {
  color: var(--bs-primary);
  text-decoration: none;
  -webkit-transition: color 0.3s ease;
  transition: color 0.3s ease;
}
.woocommerce-customer-details address .woocommerce-customer-details--email a:hover {
  color: var(--bs-primary);
  text-decoration: underline;
}

/**
 * 产品页面自定义布局样式
 * 支持动态布局比例设置
 */
/* 摘要区域样式 */
.product-left-wrapper,
.product-right-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

/* 移动端布局优化 */
@media (max-width: 767.98px) {
  .product-left-wrapper,
  .product-right-wrapper {
    position: static;
    top: auto;
  }
}
/* 不同布局比例的特殊样式 */
@media (min-width: 768px) {
  /* 70-30 布局：相册主导 */
  .layout-70-30 .product-left-wrapper {
    padding-right: 1rem;
  }
  /* 30-70 布局：摘要主导 */
  .layout-30-70 .product-right-wrapper {
    padding-left: 1rem;
  }
  /* 50-50 布局：平衡 */
  .layout-50-50 .product-left-wrapper,
  .layout-50-50 .product-right-wrapper {
    padding: 0 0.5rem;
  }
}
/* 确保图片在相册区域正确显示 */
.product-left-wrapper .woocommerce-product-gallery {
  width: 100%;
}

/* 摘要区域内容间距 */
.product-right-wrapper .summary {
  padding: 1rem 0;
}

/* 移动端摘要区域优化 */
@media (max-width: 767.98px) {
  .product-right-wrapper .summary {
    padding: 0.5rem 0;
  }
}
/* 确保布局在不同屏幕尺寸下的响应性 */
@media (min-width: 1200px) {
  .product-layout .container {
    max-width: 1200px;
  }
}
.category-tools-wrapper .sort-dropdown .dropdown-toggle {
  padding: 0.5rem 1.2rem;
}

@media (max-width: 768px) {
  .category-tools-wrapper .sort-dropdown {
    width: 100%;
  }
  .category-tools-wrapper .sort-dropdown .dropdown-toggle {
    width: 100%;
    text-transform: uppercase;
  }
  .category-tools-wrapper .sort-dropdown .dropdown-menu {
    width: 100%;
  }
}
.widget-title {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}

.woocommerce-widget-layered-nav-list {
  list-style: none;
  padding-left: 0;
  margin-left: 0;
}
.woocommerce-widget-layered-nav-list li {
  margin-bottom: 10px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
}
.woocommerce-widget-layered-nav-list li a {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}
.woocommerce-widget-layered-nav-list li a:before {
  font-family: "icon";
  content: "\e64e";
  margin-right: 10px;
  font-size: 1rem;
  vertical-align: middle;
  display: inline-block;
  width: 16px;
  height: 16px;
  text-align: center;
  line-height: 16px;
  border-radius: 50%;
}
.woocommerce-widget-layered-nav-list li .count {
  font-size: 0.75rem;
  color: var(--bs-primary);
  border-radius: 50%;
  padding: 2px 6px;
}
.woocommerce-widget-layered-nav-list li:hover a {
  color: var(--bs-primary);
}
.woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a {
  color: var(--bs-primary);
}
.woocommerce-widget-layered-nav-list li.woocommerce-widget-layered-nav-list__item--chosen a:before {
  color: var(--bs-primary);
  content: "\e682";
}

/*添加商品筛选的分类模块*/
/* 价格筛选器样式 */
.price_slider_wrapper {
  margin-bottom: 1.5rem;
}
.price_slider_wrapper .price_slider {
  margin: 1rem 0;
}
.price_slider_wrapper .price_slider_amount {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  margin-top: 1rem;
}
.price_slider_wrapper .price_slider_amount input {
  display: none !important;
}
.price_slider_wrapper .price_slider_amount .button {
  background-color: var(--bs-primary);
  border: none;
  color: white;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  -webkit-transition: background-color 0.15s ease-in-out;
  transition: background-color 0.15s ease-in-out;
}
.price_slider_wrapper .price_slider_amount .button:hover {
  background-color: var(--bs-primary-dark);
}
.price_slider_wrapper .price_slider_amount .price_label {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
}

/* jQuery UI Slider 样式 */
.ui-slider {
  position: relative;
  text-align: left;
  background: #e9ecef;
  border-radius: 0.375rem;
  height: 6px;
  margin: 1rem 0;
}
.ui-slider .ui-slider-handle {
  position: absolute;
  z-index: 2;
  width: 20px;
  height: 20px;
  cursor: pointer;
  border-radius: 50%;
  background: var(--bs-primary);
  border: 2px solid var(--bs-body-bg);
  -webkit-box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
          box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  top: -7px;
  margin-left: -10px;
  -webkit-transition: all 0.15s ease-in-out;
  transition: all 0.15s ease-in-out;
}
.ui-slider .ui-slider-handle:hover {
  background: var(--bs-primary-dark);
  -webkit-transform: scale(1.1);
      -ms-transform: scale(1.1);
          transform: scale(1.1);
}
.ui-slider .ui-slider-handle:focus {
  outline: none;
  -webkit-box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.25);
          box-shadow: 0 0 0 3px rgba(var(--bs-primary-rgb), 0.25);
}
.ui-slider .ui-slider-range {
  position: absolute;
  z-index: 1;
  display: block;
  border: 0;
  background: var(--bs-primary);
  border-radius: 0.375rem;
  height: 6px;
  top: 0;
}

/* 价格筛选器小工具标题 */
.widget_price_filter .widget-title {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--bs-dark);
}

/* 子分类导航样式 */
.sub-categories {
  margin: 1.5rem 0;
}
.sub-categories .sub-categories-nav {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  gap: 2rem;
  overflow-x: auto;
  overflow-y: hidden;
  padding: 0.5rem 0;
  white-space: nowrap;
  /* Shop 页面横向小 banner 样式 */
}
.sub-categories .sub-categories-nav.sub-categories-nav--shop-banner {
  gap: 1rem;
  padding: 0.75rem 0;
  white-space: normal; /* 允许子项内部换行 */
}
.sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; /* 大图在上，标题在下 */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  min-width: 260px; /* 控制横向滚动的卡片宽度 */
  background: transparent;
  border-radius: 10px;
  padding: 0;
}
.sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item .sub-category-icon {
  width: 260px; /* 大一些的横向比例 */
  height: 160px;
  border-radius: 10px;
  overflow: hidden;
  margin: 0 0 0.5rem 0; /* 图下留出空间给标题 */
  -webkit-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
          box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.06);
}
.sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item .sub-category-label {
  display: none;
}
.sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item a {
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column; /* 垂直排版：图在上，字在下 */
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  gap: 0.5rem;
}
@media (max-width: 768px) {
  .sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item {
    min-width: 180px;
  }
  .sub-categories .sub-categories-nav.sub-categories-nav--shop-banner .sub-category-item .sub-category-icon {
    width: 180px;
    height: 120px; /* 约 16:9 比例 */
    border-radius: 8px;
  }
}
.sub-categories .sub-categories-nav .sub-category-item {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  text-align: center;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  -ms-flex-negative: 0;
      flex-shrink: 0;
  min-width: 110px;
}
.sub-categories .sub-categories-nav .sub-category-item.active .sub-category-label {
  color: var(--bs-primary);
  font-weight: 700;
}
.sub-categories .sub-categories-nav .sub-category-item .sub-category-icon {
  width: 110px;
  height: 110px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 0.5rem;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  -webkit-box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
          box-shadow: 0 0.25rem 0.75rem rgba(0, 0, 0, 0.1);
  background-color: var(--bs-light);
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.sub-categories .sub-categories-nav .sub-category-item .sub-category-icon .sub-category-img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  -webkit-transition: -webkit-transform 0.3s ease;
  transition: -webkit-transform 0.3s ease;
  transition: transform 0.3s ease;
  transition: transform 0.3s ease, -webkit-transform 0.3s ease;
}
.sub-categories .sub-categories-nav .sub-category-item .sub-category-icon .sub-category-default-icon {
  color: var(--bs-secondary);
  font-size: 1.5rem;
}
.sub-categories .sub-categories-nav .sub-category-item .sub-category-icon .sub-category-default-icon i {
  font-size: inherit;
}
.sub-categories .sub-categories-nav .sub-category-item .sub-category-label {
  color: var(--bs-body-color);
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  text-decoration: none;
  line-height: 1.2;
  max-width: 110px;
  text-align: center;
  /* 默认两行截断，在 shop 横幅样式中会覆盖为可换行 */
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  height: 1.8rem;
}
.sub-categories .sub-categories-nav .sub-category-item a {
  text-decoration: none;
  color: inherit;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  width: 100%;
}
@media (max-width: 768px) {
  .sub-categories {
    margin: 1rem 0;
  }
  .sub-categories .sub-categories-nav {
    gap: 1rem;
  }
  .sub-categories .sub-categories-nav .sub-category-item {
    min-width: 80px;
  }
  .sub-categories .sub-categories-nav .sub-category-item .sub-category-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 0.375rem;
  }
  .sub-categories .sub-categories-nav .sub-category-item .sub-category-icon .sub-category-default-icon {
    font-size: 1.25rem;
  }
  .sub-categories .sub-categories-nav .sub-category-item .sub-category-label {
    max-width: 80px;
    height: 1.5rem;
  }
}

/* 暗色模式适配 */
[data-bs-theme=dark] .sub-categories .sub-categories-nav .sub-category-item .sub-category-icon {
  background-color: var(--bs-dark);
}
[data-bs-theme=dark] .sub-categories .sub-categories-nav .sub-category-item .sub-category-icon .sub-category-default-icon {
  color: var(--bs-secondary);
}

.woocommerce-widget-layered-nav-list,
.product-category-description {
  max-height: 22.5rem;
  overflow-y: auto;
  overflow-x: hidden;
}

.product-category-description {
  padding: 1.5rem;
  margin-top: 2rem;
  margin-bottom: 1.5rem;
  background-color: var(--bs-tertiary-bg);
  border-radius: 0.75rem;
  line-height: 1.8;
  color: var(--bs-body-color);
  font-size: 1rem;
}

.product-main-content {
  background-color: var(--bs-body-bg);
}
[data-bs-theme=dark] .product-main-content {
  background-color: var(--bs-dark);
}

.upsell-products .woocommerce-loop-product__title {
  font-size: 0.75rem !important;
  margin: 0 !important;
}

@media (min-width: 1200px) {
  .upsell-products {
    padding-top: 1rem;
  }
}
.product-description-wrapper, .product-reviews-wrapper {
  background-color: var(--bs-body-bg);
}

.product-description-left-wrapper, .product-description-right-wrapper {
  position: -webkit-sticky;
  position: sticky;
  top: 70px;
  height: -webkit-fit-content;
  height: -moz-fit-content;
  height: fit-content;
}

.entry-summary .product_title {
  font-size: 0.875rem;
}
.entry-summary .price {
  font-weight: bold;
  font-size: 1rem;
}
.entry-summary .price del {
  color: var(--bs-secondary);
  font-size: 1rem;
}
.entry-summary .woocommerce-product-details__short-description {
  line-height: 1.375rem;
  color: var(--bs-gray-600);
  display: none;
}
.entry-summary .single_add_to_cart_button {
  color: var(--bs-white) !important;
}
.entry-summary .cart .single_add_to_cart_button.loading,
.entry-summary .cart .btn-buy-now.loading {
  pointer-events: none;
}
.entry-summary .cart .single_add_to_cart_button.loading .btn-loader,
.entry-summary .cart .btn-buy-now.loading .btn-loader {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  border-radius: 50rem;
  background-color: var(--bs-primary);
}
.entry-summary .cart .single_add_to_cart_button:hover,
.entry-summary .cart .btn-buy-now:hover {
  background-color: var(--bs-black) !important;
  color: var(--bs-white) !important;
  border-color: var(--bs-black) !important;
}

@media (min-width: 992px) {
  .entry-summary .product_title, .entry-summary .price {
    font-size: 1.625rem;
    font-weight: bold;
  }
  .entry-summary .woocommerce-product-details__short-description {
    display: block;
  }
}
.product-description-wrapper h2 {
  font-size: 1rem;
  font-weight: bold;
  margin-bottom: 1rem;
}
@media (min-width: 992px) {
  .product-description-wrapper h2 {
    font-size: 1.375rem;
  }
}

/* 修正礼物包装和自定制选项的显示 */
.woocommerce-variation-add-to-cart.variations_button {
  -ms-flex-wrap: wrap;
      flex-wrap: wrap;
  -webkit-box-align: end;
      -ms-flex-align: end;
          align-items: end;
}

.product-sku-rating .sku_wrapper {
  font-weight: bold;
}
.product-sku-rating .sku_wrapper .sku {
  font-weight: normal;
}

.products.upsell-grid, .products.related-grid {
  overflow-x: auto;
  -ms-flex-wrap: nowrap;
      flex-wrap: nowrap;
  padding-bottom: 0.625rem;
}

.products.upsell-grid .col {
  -webkit-box-flex: 0;
      -ms-flex: 0 0 auto;
          flex: 0 0 auto;
}
.products.upsell-grid .col .card {
  -webkit-box-shadow: none;
          box-shadow: none;
  border-radius: 0;
}
.products.upsell-grid .col .card .card-img-top {
  border-radius: 0;
}
.products.upsell-grid .col .card .card-body .review-count {
  display: none;
}
.products.upsell-grid .col .card .card-body .price {
  margin-bottom: 0;
}
.products.upsell-grid .col .card .card-body .price .woocommerce-Price-amount {
  font-size: 0.875rem;
}

.mobile-sticky-add-to-cart {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background-color: var(--bs-white);
  border-top: 1px solid var(--bs-border-color);
  padding: 0.5rem 1rem;
  z-index: 1000;
  -webkit-box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
          box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
}
[data-bs-theme=dark] .mobile-sticky-add-to-cart {
  background-color: var(--bs-dark);
  border-top-color: var(--bs-gray-700);
}
.mobile-sticky-add-to-cart .sticky-product-image {
  width: 3.125rem;
  height: 3.125rem;
  margin-right: 0.75rem;
  -ms-flex-negative: 0;
      flex-shrink: 0;
}
.mobile-sticky-add-to-cart .sticky-product-image img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
  border-radius: 0.25rem;
}
.mobile-sticky-add-to-cart .sticky-product-info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  min-width: 0;
}
.mobile-sticky-add-to-cart .sticky-product-info .sticky-variation-attributes {
  font-weight: bold;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.mobile-sticky-add-to-cart .sticky-product-info .sticky-product-price {
  font-weight: bold;
  font-size: 1rem;
  color: var(--bs-danger);
}
.mobile-sticky-add-to-cart .sticky-product-info .sticky-product-price .price {
  margin-bottom: 0;
}
.mobile-sticky-add-to-cart .sticky-add-to-cart-btn {
  -ms-flex-negative: 0;
      flex-shrink: 0;
  margin-left: 0.75rem;
}
.mobile-sticky-add-to-cart .sticky-add-to-cart-btn .btn {
  white-space: nowrap;
  padding: 0.5rem 1rem;
  font-size: 0.875rem;
  min-width: 6.25rem;
}
.mobile-sticky-add-to-cart .sticky-add-to-cart-btn .btn.loading {
  pointer-events: none;
  opacity: 0.7;
}
.mobile-sticky-add-to-cart .sticky-add-to-cart-btn .btn .loading-spinner {
  display: inline-block;
}

body.has-sticky-add-to-cart {
  padding-bottom: 5rem;
}
@media (min-width: 1200px) {
  body.has-sticky-add-to-cart {
    padding-bottom: 0;
  }
}

.payment-trust-badges .trust-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  text-align: center;
}
.payment-trust-badges .trust-title::before, .payment-trust-badges .trust-title::after {
  content: "";
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1;
  height: 1px;
  background-color: var(--bs-border-color);
}
.payment-trust-badges .trust-title::before {
  margin-right: 0.75rem;
}
.payment-trust-badges .trust-title::after {
  margin-left: 0.75rem;
}
.payment-trust-badges .trust-badges {
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
}
.payment-trust-badges .trust-badges .trust-badge {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-transition: all 0.2s ease;
  transition: all 0.2s ease;
}
.payment-trust-badges .trust-badges .trust-badge .icon {
  font-size: 2rem;
  color: var(--bs-gray-600);
  -webkit-transition: color 0.2s ease;
  transition: color 0.2s ease;
}
.payment-trust-badges .trust-badges .trust-badge:hover .icon {
  color: var(--bs-primary);
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}
@media (max-width: 768px) {
  .payment-trust-badges .trust-badges {
    gap: 0.75rem !important;
  }
  .payment-trust-badges .trust-badges .trust-badge .icon {
    font-size: 1.75rem;
  }
}

#woo-comments .woocommerce-Reviews-title, #comments .woocommerce-Reviews-title {
  font-size: 1.5rem;
  font-weight: 600;
  margin: 1rem 0;
  text-align: center;
}
#woo-comments .woocommerce-Reviews-title span, #comments .woocommerce-Reviews-title span {
  font-size: 0.875rem;
  display: block;
  font-weight: 400;
  color: var(--bs-secondary-color);
}
#woo-comments .commentlist, #comments .commentlist {
  max-width: 50rem;
  margin: 0 auto;
}
#woo-comments .commentlist li .comment-body, #comments .commentlist li .comment-body {
  padding: 0.625rem;
  background-color: var(--bs-body-bg);
  border-radius: 0.75rem;
  -webkit-box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
          box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}

.woocommerce .star-rating {
  float: right;
  overflow: hidden;
  position: relative;
  height: 1em;
  line-height: 1;
  font-size: 1em;
  width: 5.4em;
  font-family: icon;
}
.woocommerce .star-rating::before {
  content: "\e61a\e61a\e61a\e61a\e61a";
  color: var(--bs-border-color);
  float: left;
  top: 0;
  left: 0;
  position: absolute;
}
.woocommerce .star-rating span {
  overflow: hidden;
  float: left;
  top: 0;
  left: 0;
  position: absolute;
  padding-top: 1.5em;
}
.woocommerce .star-rating span::before {
  content: "\e61a\e61a\e61a\e61a\e61a";
  top: 0;
  position: absolute;
  left: 0;
  color: var(--bs-warning);
}

.woocommerce .woocommerce-product-rating {
  line-height: 2;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.woocommerce .woocommerce-product-rating::after, .woocommerce .woocommerce-product-rating::before {
  content: " ";
  display: table;
}
.woocommerce .woocommerce-product-rating::after {
  clear: both;
}
.woocommerce .woocommerce-product-rating .star-rating {
  margin: 0.5em 4px 0 0;
  float: left;
}
.woocommerce .products .star-rating {
  display: block;
  margin: 0;
  float: none;
}
.woocommerce .hreview-aggregate .star-rating {
  margin: 10px 0 0;
}

.comment-form .stars {
  display: inline-block;
  margin: 0;
  padding: 0;
}
.comment-form .stars span {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-orient: horizontal;
  -webkit-box-direction: normal;
      -ms-flex-direction: row;
          flex-direction: row;
  -webkit-box-pack: start;
      -ms-flex-pack: start;
          justify-content: flex-start;
}
.comment-form .stars span a {
  position: relative;
  color: #e9e9e9;
  text-decoration: none;
  margin-right: 0.3125rem;
  font-size: 0;
  overflow: hidden;
}
.comment-form .stars span a::before {
  font-family: icon;
  content: "\e61a";
  display: block;
  font-size: 1rem;
}
.comment-form .stars span a:hover, .comment-form .stars span a.active {
  color: var(--bs-warning);
}
.comment-form .stars span:hover a:has(~ a:hover) {
  color: var(--bs-warning);
}
.comment-form p.stars.selected a {
  color: var(--bs-warning);
}
.comment-form p.stars.selected a.active {
  color: var(--bs-warning);
}
.comment-form p.stars.selected a.active ~ a {
  color: var(--bs-border-color);
}

#commentform.comment-form {
  max-width: 800px;
  margin: 0 auto;
  padding: 0.625rem 1.5625rem;
  background-color: var(--bs-body-bg);
  border-radius: 0.75rem;
  -webkit-box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
          box-shadow: 0 0.125rem 0.625rem rgba(0, 0, 0, 0.05);
}
#commentform.comment-form .comment-notes {
  font-size: 0.875rem;
  color: var(--bs-secondary-color);
  margin-bottom: 1.25rem;
}
#commentform.comment-form .comment-notes .required-field-message {
  font-style: italic;
}
#commentform.comment-form .comment-notes .required-field-message .required {
  color: var(--bs-danger);
}
#commentform.comment-form .comment-form-cookies-consent {
  margin-bottom: 1.25rem;
}

#reply-title {
  display: none;
  font-size: 0.75rem;
}

.search-title-wrapper .search-title {
  margin-bottom: 0;
}

.search-tools-wrapper .search-tools-left .filter-button {
  padding: 0.5rem;
}
.search-tools-wrapper .search-tools-right .grid-switcher .grid-switcher-text {
  font-size: 0.875rem;
  color: var(--bs-body-color);
  margin-right: 0.5rem;
}
.search-tools-wrapper .search-tools-right .grid-switcher .btn {
  min-width: 2rem;
  padding: 0.25rem 0.5rem;
}
.search-tools-wrapper .search-tools-right .grid-switcher .btn.active {
  background-color: var(--bs-primary);
  border-color: var(--bs-primary);
  color: var(--bs-white);
}
.search-tools-wrapper .search-tools-right .sort-dropdown .btn {
  min-width: 8rem;
  text-align: left;
}
.search-tools-wrapper .search-tools-right .sort-dropdown .btn::after {
  float: right;
  margin-top: 0.25rem;
}

.search-results-wrapper .section-title {
  font-size: 1.5rem;
  font-weight: 600;
  color: var(--bs-body-color);
  border-bottom: 2px solid var(--bs-primary);
  padding-bottom: 0.5rem;
  display: inline-block;
}
.search-results-wrapper .search-posts-section .posts-grid {
  display: grid;
  gap: 1.5rem;
}
@media (min-width: 768px) {
  .search-results-wrapper .search-posts-section .posts-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}
@media (min-width: 1200px) {
  .search-results-wrapper .search-posts-section .posts-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}
.search-results-wrapper .no-results-found h3 {
  color: var(--bs-body-color);
  margin-bottom: 1rem;
}
.search-results-wrapper .no-results-found p {
  font-size: 1rem;
}

@media (max-width: 991.98px) {
  .search-tools-wrapper .search-tools-right .grid-switcher {
    display: none !important;
  }
}
@media (max-width: 575.98px) {
  .search-tools-wrapper {
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
        -ms-flex-direction: column;
            flex-direction: column;
    -webkit-box-align: stretch !important;
        -ms-flex-align: stretch !important;
            align-items: stretch !important;
    gap: 1rem;
  }
  .search-tools-wrapper .search-tools-left,
  .search-tools-wrapper .search-tools-right {
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
  }
}
.xox-swiper-section {
  margin-bottom: clamp(2rem, 4vw, 4rem);
}

.xox-swiper-block {
  position: relative;
}
.xox-swiper-block.xox-swiper-block--banner {
  margin-bottom: 0 auto;
}
.xox-swiper-block .swiper {
  overflow: hidden;
}
.xox-swiper-block .swiper-wrapper {
  -webkit-box-align: stretch;
      -ms-flex-align: stretch;
          align-items: stretch;
}
.xox-swiper-block .swiper-slide {
  height: auto;
}
.xox-swiper-block .swiper-pagination {
  position: static;
  margin-top: 1rem;
}
.xox-swiper-block .swiper-pagination .swiper-pagination-bullet {
  width: 12px;
  height: 12px;
  background: var(--bs-primary);
  opacity: 0.4;
  -webkit-transition: opacity 0.3s ease;
  transition: opacity 0.3s ease;
}
.xox-swiper-block .swiper-pagination .swiper-pagination-bullet-active {
  opacity: 1;
}
.xox-swiper-block .swiper-button-prev,
.xox-swiper-block .swiper-button-next {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.85);
  color: var(--bs-dark);
  -webkit-box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
          box-shadow: 0 10px 30px rgba(15, 23, 42, 0.15);
  border: 1px solid rgba(0, 0, 0, 0.07);
  -webkit-transition: background 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, -webkit-transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease;
  transition: background 0.3s ease, color 0.3s ease, transform 0.3s ease, -webkit-transform 0.3s ease;
}
.xox-swiper-block .swiper-button-prev::after,
.xox-swiper-block .swiper-button-next::after {
  font-size: 1rem;
}
.xox-swiper-block .swiper-button-prev:hover,
.xox-swiper-block .swiper-button-next:hover {
  background: var(--bs-primary);
  color: #fff;
  -webkit-transform: translateY(-2px);
      -ms-transform: translateY(-2px);
          transform: translateY(-2px);
}
.xox-swiper-block .swiper-button-prev {
  left: 0.5rem;
}
.xox-swiper-block .swiper-button-next {
  right: 0.5rem;
}
@media (min-width: 992px) {
  .xox-swiper-block .swiper-button-prev {
    left: 1.5rem;
  }
  .xox-swiper-block .swiper-button-next {
    right: 1.5rem;
  }
}

.xox-swiper-block--banner .promo-banner-slide {
  position: relative;
  color: #fff;
}
.xox-swiper-block--banner .promo-banner-slide picture,
.xox-swiper-block--banner .promo-banner-slide img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
.xox-swiper-block--banner .promo-banner-slide .promo-banner-link {
  display: block;
  position: relative;
}
.xox-swiper-block--banner .promo-banner-slide .promo-banner-content {
  position: absolute;
  inset: auto 5% 10% 5%;
  max-width: 440px;
  padding: clamp(1.5rem, 3vw, 2.5rem);
  background: linear-gradient(120deg, rgba(0, 0, 0, 0.55), rgba(0, 0, 0, 0.1));
  -webkit-backdrop-filter: blur(4px);
          backdrop-filter: blur(4px);
}
.xox-swiper-block--banner .promo-banner-slide .promo-banner-content .promo-banner-eyebrow {
  font-size: 1.1rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 0.5rem;
}
.xox-swiper-block--banner .promo-banner-slide .promo-banner-content .promo-banner-heading {
  font-size: clamp(1.75rem, 3vw, 2.75rem);
  font-weight: 600;
  margin-bottom: 0;
}

.xox-swiper-section .product-slide {
  padding: 0.25rem;
}
.xox-swiper-section .product-slide .product {
  height: 100%;
}

.xox-swiper-section .blog-slide .card {
  border: none;
  -webkit-box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
          box-shadow: 0 12px 30px rgba(15, 23, 42, 0.08);
  -webkit-transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  transition: transform 0.3s ease, box-shadow 0.3s ease, -webkit-transform 0.3s ease, -webkit-box-shadow 0.3s ease;
}
.xox-swiper-section .blog-slide .card:hover {
  -webkit-transform: translateY(-6px);
      -ms-transform: translateY(-6px);
          transform: translateY(-6px);
  -webkit-box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
          box-shadow: 0 20px 40px rgba(15, 23, 42, 0.18);
}
.xox-swiper-section .blog-slide .card .card-title a {
  color: inherit;
  text-decoration: none;
}
.xox-swiper-section .blog-slide .card .card-title a:hover {
  color: var(--bs-primary);
}/*# sourceMappingURL=lume.css.map */