/* Cart Classic 手机端购物车商品信息美化 */
@media (max-width: 768px) {
  body .woocommerce-cart-form {
    width: 100% !important;
    padding: 0 16px !important;
    box-sizing: border-box !important;
  }

  body .woocommerce-cart-form table.shop_table {
    border: none !important;
    width: 100% !important;
  }

  body .woocommerce-cart-form table.shop_table thead {
    display: none !important;
  }

  body .woocommerce-cart-form table.shop_table tbody,
  body .woocommerce-cart-form table.shop_table tr,
  body .woocommerce-cart-form table.shop_table td {
    display: block !important;
    width: 100% !important;
    box-sizing: border-box !important;
  }

  body .woocommerce-cart-form table.shop_table tr.woocommerce-cart-form__cart-item {
    background: #fff !important;
    border: 1px solid #eee !important;
    border-radius: 18px !important;
    padding: 16px !important;
    margin-bottom: 18px !important;
    box-shadow: 0 8px 24px rgba(0,0,0,.05) !important;
  }

  body .woocommerce-cart-form .product-remove {
    text-align: right !important;
    margin-bottom: 6px !important;
  }

  body .woocommerce-cart-form .product-remove a {
    font-size: 28px !important;
    color: #111 !important;
    text-decoration: none !important;
  }

  body .woocommerce-cart-form .product-thumbnail {
    text-align: center !important;
    margin-bottom: 14px !important;
  }

  body .woocommerce-cart-form .product-thumbnail img {
    width: 160px !important;
    height: 160px !important;
    object-fit: contain !important;
    border-radius: 14px !important;
    background: #f6f6f6 !important;
    padding: 8px !important;
  }

  body .woocommerce-cart-form .product-name {
    font-size: 22px !important;
    font-weight: 900 !important;
    color: #111 !important;
    margin-bottom: 12px !important;
    text-align: center !important;
  }

  body .woocommerce-cart-form .product-name a {
    color: #111 !important;
    text-decoration: none !important;
  }

  body .woocommerce-cart-form .product-price,
  body .woocommerce-cart-form .product-quantity,
  body .woocommerce-cart-form .product-subtotal {
    font-size: 17px !important;
    color: #111 !important;
    padding: 8px 0 !important;
    border-top: 1px solid #f0f0f0 !important;
  }

  body .woocommerce-cart-form .product-price::before {
    content: "Price: " !important;
    font-weight: 900 !important;
  }

  body .woocommerce-cart-form .product-quantity::before {
    content: "Quantity: " !important;
    font-weight: 900 !important;
    display: block !important;
    margin-bottom: 8px !important;
  }

  body .woocommerce-cart-form .product-subtotal::before {
    content: "Subtotal: " !important;
    font-weight: 900 !important;
  }

  body .woocommerce-cart-form .quantity {
    display: flex !important;
    justify-content: center !important;
    margin-top: 8px !important;
  }

  body .woocommerce-cart-form .quantity input {
    width: 80px !important;
    height: 48px !important;
    text-align: center !important;
    border-radius: 10px !important;
    border: 1px solid #ddd !important;
  }

  body .woocommerce-cart-form .coupon {
    margin-top: 22px !important;
  }

  body .woocommerce-cart-form .coupon input {
    width: 100% !important;
    height: 52px !important;
    margin-bottom: 10px !important;
    box-sizing: border-box !important;
  }

  body .woocommerce-cart-form .coupon button,
  body .woocommerce-cart-form button[name="update_cart"] {
    width: 100% !important;
    min-height: 54px !important;
    border-radius: 10px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 16px !important;
    font-weight: 900 !important;
  }

  body .cart_totals {
    width: calc(100% - 32px) !important;
    margin: 28px auto 70px !important;
    padding: 20px !important;
    background: #f8f8f8 !important;
    border-radius: 18px !important;
    box-sizing: border-box !important;
  }

  body .cart_totals h2 {
    font-size: 26px !important;
    font-weight: 900 !important;
  }

  body .cart_totals .checkout-button {
    width: 100% !important;
    min-height: 58px !important;
    border-radius: 12px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 18px !important;
    font-weight: 900 !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
  }
}
/* 修复手机端购物车结账按钮跑偏 */
@media (max-width: 768px) {
  body.woocommerce-cart .wc-proceed-to-checkout {
    width: 100% !important;
    max-width: 100% !important;
    padding: 0 !important;
    margin: 22px 0 0 0 !important;
    box-sizing: border-box !important;
  }

  body.woocommerce-cart .wc-proceed-to-checkout a.checkout-button,
  body.woocommerce-cart .cart_totals .checkout-button,
  body.woocommerce-cart a.checkout-button {
    width: 100% !important;
    max-width: 100% !important;
    min-height: 62px !important;
    margin: 0 !important;
    padding: 18px 16px !important;
    box-sizing: border-box !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    text-align: center !important;
    border-radius: 14px !important;
    background: #111 !important;
    color: #fff !important;
    font-size: 20px !important;
    font-weight: 900 !important;
    line-height: 1.2 !important;
    text-decoration: none !important;
  }

  body.woocommerce-cart .cart_totals {
    overflow: hidden !important;
  }
}
/* 隐藏首页默认标题 Home */
body.home h1.entry-title,
body.home .wp-block-post-title,
body.home .page-title {
  display: none !important;
}
/* 首页基础高级版 */
.pm-home-wrap {
  max-width: 1180px;
  margin: 0 auto;
  padding: 30px 18px 0;
  box-sizing: border-box;
}

.pm-hero-clean {
  min-height: 430px;
  border-radius: 28px;
  background: linear-gradient(135deg, #111 0%, #333 45%, #ededed 100%);
  display: flex;
  align-items: center;
  padding: 54px;
  box-sizing: border-box;
  overflow: hidden;
}

.pm-hero-content {
  max-width: 580px;
}

.pm-sale-label {
  display: inline-block;
  background: #fff;
  color: #111;
  padding: 10px 20px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 900;
  letter-spacing: .8px;
  margin-bottom: 22px;
}

.pm-hero-clean h1 {
  color: #fff;
  font-size: 56px;
  line-height: 1.08;
  font-weight: 900;
  margin: 0 0 18px;
}

.pm-hero-clean p {
  color: rgba(255,255,255,.82);
  font-size: 18px;
  line-height: 1.6;
  margin: 0 0 30px;
}

.pm-main-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  color: #111;
  min-width: 150px;
  height: 54px;
  border-radius: 10px;
  font-size: 16px;
  font-weight: 900;
  text-decoration: none;
}

.pm-category-section,
.pm-best-title {
  margin-top: 70px;
}

.pm-category-section h2,
.pm-best-title h2 {
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 28px;
}

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

.pm-category-card {
  height: 130px;
  border-radius: 20px;
  background: #f3f3f3;
  color: #111;
  display: flex;
  align-items: flex-end;
  padding: 22px;
  box-sizing: border-box;
  font-size: 18px;
  font-weight: 900;
  text-decoration: none;
  box-shadow: 0 12px 28px rgba(0,0,0,.06);
}

.pm-category-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 38px rgba(0,0,0,.1);
}

/* 手机端首页 */
@media (max-width: 768px) {
  .pm-home-wrap {
    padding: 20px 14px 0;
  }

  .pm-hero-clean {
    min-height: 390px;
    padding: 34px 24px;
    border-radius: 24px;
  }

  .pm-hero-clean h1 {
    font-size: 38px;
  }

  .pm-hero-clean p {
    font-size: 15px;
  }

  .pm-category-section,
  .pm-best-title {
    margin-top: 46px;
  }

  .pm-category-section h2,
  .pm-best-title h2 {
    font-size: 34px;
  }

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

  .pm-category-card {
    height: 105px;
    padding: 16px;
    font-size: 15px;
    border-radius: 16px;
  }
}
/* 隐藏首页默认标题 Home */
body.home h1.entry-title,
body.home .wp-block-post-title,
body.home .page-title {
  display: none !important;
}
/* 首页 Collection 图片分类卡片 */
.pm-category-card.pm-cat-image {
  position: relative;
  height: 190px;
  padding: 0;
  overflow: hidden;
  background: #eee;
}

.pm-category-card.pm-cat-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform .35s ease;
}

.pm-category-card.pm-cat-image::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0,0,0,0) 35%, rgba(0,0,0,.62) 100%);
  z-index: 1;
}

.pm-category-card.pm-cat-image span {
  position: absolute;
  left: 18px;
  bottom: 16px;
  z-index: 2;
  color: #fff;
  font-size: 18px;
  font-weight: 900;
}

.pm-category-card.pm-cat-image:hover img {
  transform: scale(1.06);
}

@media (max-width: 768px) {
  .pm-category-card.pm-cat-image {
    height: 135px;
  }

  .pm-category-card.pm-cat-image span {
    font-size: 14px;
    left: 12px;
    bottom: 12px;
  }
}
/* 首页信任保障模块 */
.pm-trust-section {
  max-width: 1180px;
  margin: 70px auto 80px;
  padding: 0 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
  box-sizing: border-box;
}

.pm-trust-card {
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 30px 22px;
  text-align: center;
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  box-sizing: border-box;
  transition: all .25s ease;
}

.pm-trust-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 18px 40px rgba(0,0,0,.1);
}

.pm-trust-icon {
  width: 54px;
  height: 54px;
  margin: 0 auto 16px;
  border-radius: 999px;
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.pm-trust-card h3 {
  font-size: 19px;
  font-weight: 900;
  color: #111;
  margin: 0 0 10px;
}

.pm-trust-card p {
  font-size: 14px;
  line-height: 1.6;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .pm-trust-section {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin: 50px auto 60px;
    padding: 0 14px;
  }

  .pm-trust-card {
    padding: 22px 14px;
    border-radius: 16px;
  }

  .pm-trust-icon {
    width: 46px;
    height: 46px;
    font-size: 20px;
  }

  .pm-trust-card h3 {
    font-size: 16px;
  }

  .pm-trust-card p {
    font-size: 13px;
  }
}
/* 首页黑色 Footer */
.pm-footer {
  max-width: 1180px;
  margin: 70px auto 0;
  padding: 55px 40px;
  background: #111;
  color: #fff;
  border-radius: 28px 28px 0 0;
  display: grid;
  grid-template-columns: 1.5fr 1fr 1fr 1fr;
  gap: 36px;
  box-sizing: border-box;
}

.pm-footer-brand h2 {
  color: #fff;
  font-size: 28px;
  font-weight: 900;
  margin: 0 0 16px;
  letter-spacing: .4px;
}

.pm-footer-brand p {
  color: rgba(255,255,255,.72);
  font-size: 15px;
  line-height: 1.7;
  margin: 0;
  max-width: 360px;
}

.pm-footer-col h3 {
  color: #fff;
  font-size: 16px;
  font-weight: 900;
  margin: 0 0 18px;
}

.pm-footer-col a {
  display: block;
  color: rgba(255,255,255,.72);
  text-decoration: none;
  font-size: 14px;
  margin-bottom: 12px;
  transition: all .2s ease;
}

.pm-footer-col a:hover {
  color: #ff7a00;
  transform: translateX(3px);
}

.pm-copyright {
  max-width: 1180px;
  margin: 0 auto 70px;
  padding: 18px 20px;
  background: #0a0a0a;
  color: rgba(255,255,255,.55);
  text-align: center;
  font-size: 13px;
  border-radius: 0 0 28px 28px;
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .pm-footer {
    grid-template-columns: 1fr;
    gap: 26px;
    padding: 36px 24px;
    margin-top: 50px;
    border-radius: 24px 24px 0 0;
  }

  .pm-footer-brand h2 {
    font-size: 24px;
  }

  .pm-footer-brand p {
    font-size: 14px;
  }

  .pm-copyright {
    margin-bottom: 40px;
    border-radius: 0 0 24px 24px;
  }
}
/* 右下角商品促销小弹窗 */
.pm-product-toast {
  position: fixed;
  right: 24px;
  bottom: 26px;
  width: 330px;
  z-index: 9999;
  font-family: Arial, sans-serif;
  animation: pmToastIn .45s ease 2s both;
}

.pm-product-toast-card {
  position: relative;
  display: flex;
  align-items: center;
  gap: 14px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 14px;
  box-shadow: 0 18px 45px rgba(0,0,0,.18);
  text-decoration: none;
  color: #111;
  box-sizing: border-box;
  overflow: hidden;
}

.pm-product-toast-card img {
  width: 88px;
  height: 88px;
  object-fit: cover;
  border-radius: 14px;
  background: #f6f6f6;
  flex-shrink: 0;
}

.pm-toast-badge {
  position: absolute;
  top: 10px;
  right: 10px;
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  color: #fff;
  border-radius: 999px;
  padding: 6px 11px;
  font-size: 11px;
  font-weight: 900;
  box-shadow: 0 6px 16px rgba(255,80,0,.35);
}

.pm-toast-info {
  padding-right: 62px;
}

.pm-toast-info h3 {
  font-size: 15px;
  line-height: 1.3;
  font-weight: 900;
  color: #111;
  margin: 0 0 8px;
}

.pm-toast-info p {
  margin: 0 0 8px;
  font-size: 14px;
}

.pm-toast-info del {
  color: #999;
  margin-right: 6px;
}

.pm-toast-info strong {
  color: #111;
  font-weight: 900;
}

.pm-toast-info span {
  display: inline-block;
  background: #111;
  color: #fff;
  border-radius: 8px;
  padding: 7px 13px;
  font-size: 12px;
  font-weight: 900;
}

@keyframes pmToastIn {
  from {
    transform: translateX(120%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

@media (max-width: 768px) {
  .pm-product-toast {
    right: 12px;
    bottom: 16px;
    width: calc(100% - 24px);
  }

  .pm-product-toast-card img {
    width: 78px;
    height: 78px;
  }

  .pm-toast-info h3 {
    font-size: 14px;
  }
}
/* 首页 Hero 使用图片背景，不影响文字按钮 */
.pm-hero-clean {
  position: relative !important;
  background-image: url("https://yingtenite.shop/wp-content/uploads/2026/05/ChatGPT-Image-2026年5月27日-11_25_31.png") !important;
  background-size: cover !important;
  background-position: center right !important;
  background-repeat: no-repeat !important;
  overflow: hidden !important;
}

/* 黑色遮罩：保证文字清晰 */
.pm-hero-clean::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    rgba(0,0,0,0.82) 0%,
    rgba(0,0,0,0.62) 38%,
    rgba(0,0,0,0.25) 72%,
    rgba(0,0,0,0.12) 100%
  );
  z-index: 1;
}

/* 让文字和按钮显示在图片遮罩上方 */
.pm-hero-content {
  position: relative !important;
  z-index: 2 !important;
}

/* 手机端背景位置 */
@media (max-width: 768px) {
  .pm-hero-clean {
    background-position: center right !important;
  }

  .pm-hero-clean::before {
    background: linear-gradient(
      90deg,
      rgba(0,0,0,0.88) 0%,
      rgba(0,0,0,0.68) 55%,
      rgba(0,0,0,0.32) 100%
    );
  }
}
/* 顶部导航高级按钮样式 */
header .wp-block-navigation,
header .wp-block-navigation__container {
  gap: 10px !important;
  align-items: center !important;
}

header .wp-block-navigation .wp-block-navigation-item__content,
header nav a {
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  min-height: 38px !important;
  padding: 8px 16px !important;
  border: 1px solid rgba(0,0,0,.12) !important;
  border-radius: 999px !important;
  background: rgba(255,255,255,.82) !important;
  color: #111 !important;
  font-size: 14px !important;
  font-weight: 800 !important;
  line-height: 1 !important;
  text-decoration: none !important;
  box-shadow: 0 8px 24px rgba(0,0,0,.06) !important;
  transition: all .22s ease !important;
  backdrop-filter: blur(10px) !important;
}

header .wp-block-navigation .wp-block-navigation-item__content:hover,
header nav a:hover {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
  transform: translateY(-2px) !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.16) !important;
}

/* 当前页面按钮高亮 */
header .wp-block-navigation .current-menu-item > a,
header .wp-block-navigation .current-menu-item .wp-block-navigation-item__content {
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

/* 不要影响网站标题 My WordPress Site */
header .wp-block-site-title a,
header .wp-block-site-title {
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
  padding: 0 !important;
  border-radius: 0 !important;
  transform: none !important;
}

/* 手机端导航按钮 */
@media (max-width: 768px) {
  header .wp-block-navigation .wp-block-navigation-item__content,
  header nav a {
    min-height: 34px !important;
    padding: 7px 12px !important;
    font-size: 13px !important;
  }
}
/* 顶部促销公告条 */
.pm-top-sale-bar {
  width: 100%;
  max-width: 1180px;
  margin: 12px auto 18px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.pm-top-sale-bar span {
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pm-top-sale-bar p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.86);
}

.pm-top-sale-bar a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

@media (max-width: 768px) {
  .pm-top-sale-bar {
    width: calc(100% - 24px);
    margin: 10px auto 14px;
    border-radius: 18px;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    text-align: center;
  }

  .pm-top-sale-bar p {
    font-size: 12px;
    line-height: 1.5;
  }
}
/* 顶部促销公告条 */
.pm-top-sale-bar {
  width: 100%;
  max-width: 1180px;
  margin: 12px auto 18px;
  padding: 10px 18px;
  background: #111;
  color: #fff;
  border-radius: 999px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  box-sizing: border-box;
  box-shadow: 0 10px 28px rgba(0,0,0,.12);
}

.pm-top-sale-bar span {
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  color: #fff;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  white-space: nowrap;
}

.pm-top-sale-bar p {
  margin: 0;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255,255,255,.86);
}

.pm-top-sale-bar a {
  color: #fff;
  font-size: 13px;
  font-weight: 900;
  text-decoration: underline;
  text-underline-offset: 4px;
  white-space: nowrap;
}

/* 首页倒计时促销模块 */
.pm-countdown-section {
  max-width: 1180px;
  margin: 34px auto 70px;
  padding: 36px;
  border-radius: 26px;
  background: linear-gradient(135deg, #111 0%, #242424 50%, #f2f2f2 100%);
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 28px;
  align-items: center;
  box-sizing: border-box;
  overflow: hidden;
}

.pm-countdown-label {
  display: inline-block;
  background: #fff;
  color: #111;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  margin: 0 0 18px;
}

.pm-countdown-left h2 {
  color: #fff;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0 0 14px;
}

.pm-countdown-left p {
  color: rgba(255,255,255,.78);
  font-size: 16px;
  line-height: 1.7;
  margin: 0 0 24px;
}

.pm-countdown-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  height: 50px;
  min-width: 140px;
  background: #fff;
  color: #111 !important;
  border-radius: 12px;
  font-weight: 900;
  text-decoration: none !important;
}

.pm-countdown-box {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
}

.pm-time-item {
  background: rgba(255,255,255,.92);
  border: 1px solid rgba(255,255,255,.65);
  border-radius: 18px;
  padding: 24px 10px;
  text-align: center;
  box-shadow: 0 12px 28px rgba(0,0,0,.08);
}

.pm-time-item strong {
  display: block;
  color: #111;
  font-size: 34px;
  line-height: 1;
  font-weight: 900;
  margin-bottom: 8px;
}

.pm-time-item span {
  color: #666;
  font-size: 13px;
  font-weight: 800;
}

@media (max-width: 768px) {
  .pm-top-sale-bar {
    width: calc(100% - 24px);
    margin: 10px auto 14px;
    border-radius: 18px;
    flex-direction: column;
    gap: 6px;
    padding: 12px 14px;
    text-align: center;
  }

  .pm-top-sale-bar p {
    font-size: 12px;
    line-height: 1.5;
  }

  .pm-countdown-section {
    grid-template-columns: 1fr;
    margin: 26px 14px 50px;
    padding: 26px 18px;
    border-radius: 22px;
  }

  .pm-countdown-left h2 {
    font-size: 32px;
  }

  .pm-countdown-left p {
    font-size: 14px;
  }

  .pm-countdown-box {
    grid-template-columns: repeat(2, 1fr);
  }

  .pm-time-item {
    padding: 20px 8px;
    border-radius: 16px;
  }

  .pm-time-item strong {
    font-size: 30px;
  }
}
/* Featured Brands 品牌展示区 */
.pm-brands-section {
  max-width: 1180px;
  margin: 70px auto 0;
  padding: 0 18px;
  box-sizing: border-box;
}

.pm-brands-title {
  text-align: center;
  margin-bottom: 30px;
}

.pm-brands-title p {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  margin: 0 0 14px;
}

.pm-brands-title h2 {
  color: #111;
  font-size: 38px;
  line-height: 1.12;
  font-weight: 900;
  margin: 0;
}

.pm-brands-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 22px;
}

.pm-brand-card {
  position: relative;
  min-height: 170px;
  background: linear-gradient(135deg, #fff 0%, #f5f5f5 100%);
  border: 1px solid #eee;
  border-radius: 22px;
  padding: 26px 22px;
  box-sizing: border-box;
  box-shadow: 0 12px 30px rgba(0,0,0,.05);
  overflow: hidden;
  transition: all .25s ease;
}

.pm-brand-card::after {
  content: "";
  position: absolute;
  right: -35px;
  bottom: -35px;
  width: 110px;
  height: 110px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,45,45,.16), rgba(255,122,0,.16));
}

.pm-brand-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 18px 40px rgba(0,0,0,.1);
}

.pm-brand-card span {
  display: inline-flex;
  width: 38px;
  height: 38px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 900;
  margin-bottom: 18px;
}

.pm-brand-card h3 {
  color: #111;
  font-size: 22px;
  line-height: 1.2;
  font-weight: 900;
  margin: 0 0 10px;
}

.pm-brand-card p {
  color: #666;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

@media (max-width: 768px) {
  .pm-brands-section {
    margin-top: 50px;
    padding: 0 14px;
  }

  .pm-brands-title h2 {
    font-size: 30px;
  }

  .pm-brands-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
  }

  .pm-brand-card {
    min-height: 150px;
    padding: 22px 16px;
    border-radius: 18px;
  }

  .pm-brand-card h3 {
    font-size: 18px;
  }

  .pm-brand-card p {
    font-size: 13px;
  }
}
/* 首页商品横向滚动栏 */
.pm-scroll-products {
  max-width: 1180px;
  margin: 34px auto 60px;
  overflow: hidden;
  padding: 0 18px;
  box-sizing: border-box;
}

.pm-scroll-title {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 18px;
}

.pm-scroll-title span {
  background: linear-gradient(135deg, #ff2d2d, #ff7a00);
  color: #fff;
  padding: 8px 15px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .6px;
  white-space: nowrap;
}

.pm-scroll-title p {
  margin: 0;
  color: #555;
  font-size: 15px;
  font-weight: 700;
}

.pm-scroll-track {
  display: flex;
  gap: 18px;
  width: max-content;
  animation: pmProductScroll 28s linear infinite;
}

.pm-scroll-products:hover .pm-scroll-track {
  animation-play-state: paused;
}

.pm-scroll-card {
  width: 260px;
  min-width: 260px;
  background: #fff;
  border: 1px solid #eee;
  border-radius: 20px;
  padding: 12px;
  display: flex;
  gap: 12px;
  align-items: center;
  text-decoration: none !important;
  color: #111;
  box-shadow: 0 12px 30px rgba(0,0,0,.06);
  box-sizing: border-box;
}

.pm-scroll-card img {
  width: 82px;
  height: 82px;
  border-radius: 14px;
  object-fit: cover;
  background: #f6f6f6;
  flex-shrink: 0;
}

.pm-scroll-card h3 {
  font-size: 15px;
  line-height: 1.25;
  font-weight: 900;
  color: #111;
  margin: 0 0 8px;
}

.pm-scroll-card p {
  margin: 0;
  font-size: 14px;
}

.pm-scroll-card del {
  color: #999;
  margin-right: 6px;
}

.pm-scroll-card strong {
  color: #111;
  font-weight: 900;
}

@keyframes pmProductScroll {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-50%);
  }
}

@media (max-width: 768px) {
  .pm-scroll-products {
    margin: 26px auto 46px;
    padding: 0 14px;
  }

  .pm-scroll-title {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .pm-scroll-title p {
    font-size: 13px;
  }

  .pm-scroll-track {
    gap: 14px;
    animation-duration: 24s;
  }

  .pm-scroll-card {
    width: 230px;
    min-width: 230px;
    border-radius: 18px;
  }

  .pm-scroll-card img {
    width: 72px;
    height: 72px;
  }

  .pm-scroll-card h3 {
    font-size: 14px;
  }

  .pm-scroll-card p {
    font-size: 13px;
  }
}
/* 首页 FAQ 问答模块 */
.pm-faq-section {
  max-width: 1180px;
  margin: 70px auto 70px;
  padding: 0 18px;
  box-sizing: border-box;
}

.pm-faq-title {
  margin-bottom: 24px;
}

.pm-faq-title p {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  margin: 0 0 14px;
}

.pm-faq-title h2 {
  color: #111;
  font-size: 40px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0;
}

.pm-faq-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pm-faq-item {
  background: #fff;
  border: 1px solid #e9e9e9;
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(0,0,0,.05);
  overflow: hidden;
}

.pm-faq-item summary {
  cursor: pointer;
  list-style: none;
  padding: 20px 22px;
  color: #00a67d;
  font-size: 20px;
  line-height: 1.35;
  font-weight: 900;
  position: relative;
  padding-right: 56px;
}

.pm-faq-item summary::-webkit-details-marker {
  display: none;
}

.pm-faq-item summary::after {
  content: "+";
  position: absolute;
  right: 22px;
  top: 50%;
  transform: translateY(-50%);
  color: #111;
  font-size: 28px;
  font-weight: 400;
}

.pm-faq-item[open] summary::after {
  content: "−";
  color: #00a67d;
}

.pm-faq-item div {
  padding: 0 22px 22px;
  color: #333;
  font-size: 15px;
  line-height: 1.65;
}

@media (max-width: 768px) {
  .pm-faq-section {
    margin: 50px auto 50px;
    padding: 0 14px;
  }

  .pm-faq-title h2 {
    font-size: 32px;
  }

  .pm-faq-item summary {
    font-size: 16px;
    padding: 17px 18px;
    padding-right: 48px;
  }

  .pm-faq-item summary::after {
    right: 18px;
    font-size: 24px;
  }

  .pm-faq-item div {
    padding: 0 18px 18px;
    font-size: 14px;
  }
}/* 首页分类商品模块标题 */
.pm-category-product-title {
  max-width: 1180px;
  margin: 70px auto 28px;
  padding: 0 18px;
  box-sizing: border-box;
}

.pm-category-product-title p {
  display: inline-block;
  background: #111;
  color: #fff;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 900;
  letter-spacing: .8px;
  margin: 0 0 14px;
}

.pm-category-product-title h2 {
  color: #111;
  font-size: 42px;
  line-height: 1.1;
  font-weight: 900;
  margin: 0;
}

@media (max-width: 768px) {
  .pm-category-product-title {
    margin: 50px auto 22px;
    padding: 0 14px;
  }

  .pm-category-product-title h2 {
    font-size: 32px;
  }
}
/* 首页商品模块最终修复：Best Sellers + 分类商品 */
body.home .woocommerce,
body.home .wp-block-shortcode {
  overflow: visible !important;
}

body.home .woocommerce ul.products {
  position: relative !important;
  left: 50% !important;
  transform: translateX(-50%) !important;

  width: min(1180px, calc(100vw - 64px)) !important;
  max-width: min(1180px, calc(100vw - 64px)) !important;

  display: grid !important;
  grid-template-columns: repeat(4, minmax(0, 1fr)) !important;
  gap: 28px !important;

  margin: 30px 0 70px !important;
  padding: 0 !important;
  list-style: none !important;
  box-sizing: border-box !important;
}

body.home .woocommerce ul.products::before,
body.home .woocommerce ul.products::after {
  display: none !important;
  content: none !important;
}

body.home .woocommerce ul.products li.product {
  width: 100% !important;
  max-width: 100% !important;
  float: none !important;
  clear: none !important;
  margin: 0 !important;
  padding: 16px !important;
  box-sizing: border-box !important;

  background: #fff !important;
  border: 1px solid #eee !important;
  border-radius: 22px !important;
  box-shadow: 0 12px 30px rgba(0,0,0,.06) !important;
  overflow: hidden !important;
  position: relative !important;
  text-align: left !important;
}

body.home .woocommerce ul.products li.product img {
  width: 100% !important;
  height: 220px !important;
  object-fit: cover !important;
  border-radius: 16px !important;
  margin: 0 0 16px !important;
  display: block !important;
  background: #f6f6f6 !important;
}

body.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  font-size: 18px !important;
  line-height: 1.35 !important;
  font-weight: 900 !important;
  color: #111 !important;
  margin: 0 0 12px !important;
  padding: 0 !important;
  min-height: 48px !important;

  display: -webkit-box !important;
  -webkit-line-clamp: 2 !important;
  -webkit-box-orient: vertical !important;
  overflow: hidden !important;
}

body.home .woocommerce ul.products li.product .price {
  font-size: 17px !important;
  font-weight: 900 !important;
  color: #111 !important;
  margin: 0 0 16px !important;
  display: block !important;
}

body.home .woocommerce ul.products li.product .price del {
  color: #999 !important;
  margin-right: 8px !important;
}

body.home .woocommerce ul.products li.product .button,
body.home .woocommerce ul.products li.product a.add_to_cart_button {
  width: 100% !important;
  height: 54px !important;
  margin: 0 !important;
  padding: 0 12px !important;

  background: #111 !important;
  color: #fff !important;
  border-radius: 12px !important;

  font-size: 16px !important;
  font-weight: 900 !important;
  text-decoration: none !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  box-sizing: border-box !important;
  white-space: nowrap !important;
}

body.home .woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 12px !important;
  right: 12px !important;
  left: auto !important;

  background: linear-gradient(135deg, #ff2d2d, #ff7a00) !important;
  color: #fff !important;
  border-radius: 999px !important;
  padding: 7px 12px !important;

  font-size: 11px !important;
  font-weight: 900 !important;
  line-height: 1 !important;

  border: 2px solid #fff !important;
}

/* 手机端 */
@media (max-width: 768px) {
  body.home .woocommerce ul.products {
    width: calc(100vw - 28px) !important;
    max-width: calc(100vw - 28px) !important;

    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 14px !important;
    margin: 24px 0 55px !important;
  }

  body.home .woocommerce ul.products li.product {
    padding: 12px !important;
    border-radius: 18px !important;
  }

  body.home .woocommerce ul.products li.product img {
    height: 145px !important;
    border-radius: 14px !important;
  }

  body.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
    font-size: 14px !important;
    min-height: 40px !important;
  }

  body.home .woocommerce ul.products li.product .price {
    font-size: 14px !important;
  }

  body.home .woocommerce ul.products li.product .button,
  body.home .woocommerce ul.products li.product a.add_to_cart_button {
    height: 48px !important;
    font-size: 14px !important;
  }
}
/* 首页商品卡片绿色高级风格 */
body.home .woocommerce ul.products li.product {
  border: 1px solid rgba(0, 120, 85, 0.22) !important;
  background: linear-gradient(180deg, #ffffff 0%, #f8fffb 100%) !important;
  box-shadow: 0 14px 36px rgba(0, 90, 60, 0.10) !important;
  transition: all .28s ease !important;
}

body.home .woocommerce ul.products li.product:hover {
  transform: translateY(-6px) !important;
  border-color: rgba(0, 150, 105, 0.45) !important;
  box-shadow: 0 20px 46px rgba(0, 120, 85, 0.18) !important;
}

/* 商品图片更精致 */
body.home .woocommerce ul.products li.product img {
  border: 1px solid rgba(0, 120, 85, 0.10) !important;
  background: #f3fbf7 !important;
}

/* 商品标题颜色 */
body.home .woocommerce ul.products li.product .woocommerce-loop-product__title {
  color: #12382d !important;
}

/* 现价绿色高级感 */
body.home .woocommerce ul.products li.product .price {
  color: #0b6b4b !important;
}

body.home .woocommerce ul.products li.product .price del {
  color: #9aa7a1 !important;
}

/* Add to cart 按钮绿色高级版 */
body.home .woocommerce ul.products li.product .button,
body.home .woocommerce ul.products li.product a.add_to_cart_button {
  background: linear-gradient(135deg, #0b5f43 0%, #0f8a63 100%) !important;
  color: #fff !important;
  box-shadow: 0 10px 24px rgba(0, 120, 85, 0.22) !important;
}

body.home .woocommerce ul.products li.product .button:hover,
body.home .woocommerce ul.products li.product a.add_to_cart_button:hover {
  background: linear-gradient(135deg, #084632 0%, #087852 100%) !important;
  box-shadow: 0 14px 30px rgba(0, 120, 85, 0.32) !important;
}

/* Sale 标签改成绿色渐变 */
body.home .woocommerce ul.products li.product .onsale {
  background: linear-gradient(135deg, #00a86b 0%, #7bd88f 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 20px rgba(0, 150, 105, 0.32) !important;
  border: 2px solid #fff !important;
}
/* 商品右上角 Sale 标签：红橙高级醒目版 */
body .woocommerce ul.products li.product {
  position: relative !important;
}

body .woocommerce ul.products li.product .onsale {
  position: absolute !important;
  top: 14px !important;
  right: 14px !important;
  left: auto !important;

  min-width: 88px !important;
  height: 40px !important;
  line-height: 40px !important;
  padding: 0 18px !important;
  margin: 0 !important;

  background: linear-gradient(135deg, #ff3b30 0%, #ff6a00 100%) !important;
  color: #fff !important;
  border: 2px solid #fff !important;
  border-radius: 999px !important;

  font-size: 15px !important;
  font-weight: 900 !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
  text-align: center !important;

  box-shadow:
    0 10px 24px rgba(255, 98, 0, 0.35),
    0 4px 10px rgba(255, 59, 48, 0.22) !important;

  z-index: 10 !important;
  overflow: visible !important;
  transform: none !important;
}

/* 鼠标移上去更亮一点 */
body .woocommerce ul.products li.product:hover .onsale {
  background: linear-gradient(135deg, #ff2d20 0%, #ff7a00 100%) !important;
  box-shadow:
    0 14px 30px rgba(255, 90, 0, 0.45),
    0 6px 14px rgba(255, 59, 48, 0.28) !important;
  transform: scale(1.04) !important;
}

/* 手机端也放大一点，但别太夸张 */
@media (max-width: 768px) {
  body .woocommerce ul.products li.product .onsale {
    top: 10px !important;
    right: 10px !important;
    min-width: 78px !important;
    height: 34px !important;
    line-height: 34px !important;
    padding: 0 14px !important;
    font-size: 13px !important;
  }
}
/* 修正 Sale 标签文字：更大并且完全居中 */
body .woocommerce ul.products li.product .onsale {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  min-width: 92px !important;
  height: 42px !important;
  line-height: normal !important;
  padding: 0 18px !important;

  font-size: 17px !important;
  font-weight: 900 !important;
  letter-spacing: .5px !important;
  text-align: center !important;
}

/* 清掉之前可能残留的伪元素，防止影响居中 */
body .woocommerce ul.products li.product .onsale::before,
body .woocommerce ul.products li.product .onsale::after {
  content: none !important;
  display: none !important;
}

/* 手机端也居中，但稍微小一点 */
@media (max-width: 768px) {
  body .woocommerce ul.products li.product .onsale {
    min-width: 80px !important;
    height: 36px !important;
    font-size: 14px !important;
    padding: 0 14px !important;
  }
}
/* Sale 标签缩小版：不遮挡商品 */
body .woocommerce ul.products li.product .onsale {
  top: 10px !important;
  right: 10px !important;

  min-width: 58px !important;
  height: 28px !important;
  line-height: 28px !important;
  padding: 0 10px !important;

  font-size: 12px !important;
  font-weight: 900 !important;
  letter-spacing: .4px !important;

  display: flex !important;
  align-items: center !important;
  justify-content: center !important;

  border-radius: 999px !important;
  border: 2px solid #fff !important;
  background: linear-gradient(135deg, #ff3b30 0%, #ff6a00 100%) !important;
  color: #fff !important;
  box-shadow: 0 8px 18px rgba(255, 98, 0, 0.30) !important;

  transform: none !important;
}

/* 清掉之前可能残留的伪元素 */
body .woocommerce ul.products li.product .onsale::before,
body .woocommerce ul.products li.product .onsale::after {
  content: none !important;
  display: none !important;
}

/* 手机端更小一点 */
@media (max-width: 768px) {
  body .woocommerce ul.products li.product .onsale {
    top: 8px !important;
    right: 8px !important;

    min-width: 50px !important;
    height: 24px !important;
    line-height: 24px !important;
    padding: 0 8px !important;

    font-size: 10px !important;
    border-width: 1.5px !important;
  }
}

/* ===== 左上角品牌标题高级化 ===== */
header .wp-block-site-title {
  position: relative !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: flex-start !important;
  justify-content: center !important;
  margin: 0 !important;
  padding: 10px 16px 10px 14px !important;
  background: rgba(255,255,255,0.78) !important;
  border: 1px solid rgba(0,0,0,0.06) !important;
  border-radius: 18px !important;
  box-shadow: 0 10px 28px rgba(0,0,0,0.06) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
}

/* 主标题 */
header .wp-block-site-title a {
  position: relative !important;
  display: block !important;
  padding-left: 14px !important;
  margin: 0 !important;
  color: #111 !important;
  font-size: 30px !important;
  line-height: 1.05 !important;
  font-weight: 800 !important;
  font-style: normal !important;
  letter-spacing: -0.6px !important;
  text-decoration: none !important;
  background: transparent !important;
  border: none !important;
  box-shadow: none !important;
}

/* 左侧橙色品牌竖条 */
header .wp-block-site-title a::before {
  content: "" !important;
  position: absolute !important;
  left: 0 !important;
  top: 4px !important;
  width: 6px !important;
  height: 28px !important;
  border-radius: 999px !important;
  background: linear-gradient(180deg, #ff4d2d 0%, #ff8a00 100%) !important;
  box-shadow: 0 4px 12px rgba(255,120,0,.28) !important;
}

/* 副标题 */
header .wp-block-site-title::after {
  content: "Curated Pre-Loved Finds" !important;
  display: block !important;
  padding-left: 14px !important;
  margin-top: 5px !important;
  color: #777 !important;
  font-size: 11px !important;
  line-height: 1.2 !important;
  font-weight: 700 !important;
  letter-spacing: 1.4px !important;
  text-transform: uppercase !important;
}

/* 手机端优化 */
@media (max-width: 768px) {
  header .wp-block-site-title {
    padding: 8px 12px 8px 10px !important;
    border-radius: 14px !important;
  }

  header .wp-block-site-title a {
    font-size: 24px !important;
    padding-left: 12px !important;
    letter-spacing: -0.4px !important;
  }

  header .wp-block-site-title a::before {
    width: 5px !important;
    height: 22px !important;
    top: 3px !important;
  }

  header .wp-block-site-title::after {
    font-size: 9px !important;
    letter-spacing: 1.1px !important;
    padding-left: 12px !important;
    margin-top: 4px !important;
  }
}