/* MissMica Shop - 站点补充样式（主题样式保持不变，这里只做必要补充） */

/* 404 */
.c-404 {
  padding: 80px 0;
  text-align: center;
}
.c-404__code {
  font-size: 96px;
  line-height: 1;
  font-weight: 200;
  margin-bottom: 12px;
}
.c-404__title {
  font-size: 28px;
  margin: 0 0 10px;
}
.c-404__text {
  color: #666;
  margin-bottom: 24px;
}

/* 商品详情：确保描述面板可见（主题 JS 未接管时） */
.c-product__tabs-panel {
  display: block;
}

/* 结算页补充 */
.woocommerce-shipping-methods {
  list-style: none;
  margin: 0 0 20px;
  padding: 0;
}
.woocommerce-shipping-methods li {
  padding: 10px 0;
  border-bottom: 1px solid #eee;
}
.woocommerce-shipping-methods label {
  font-weight: 600;
  margin-left: 6px;
}
.shipping-method-desc {
  color: #888;
  font-size: 13px;
  margin-left: 24px;
}
.woocommerce-checkout .col2-set {
  display: flex;
  flex-wrap: wrap;
  gap: 32px;
}
.woocommerce-checkout .col2-set > div {
  flex: 1 1 340px;
}
#payment .payment_box {
  padding: 12px 0;
}
#paypal-button-container {
  max-width: 320px;
  margin-top: 10px;
}

/* 订单成功页 */
.woocommerce-order-overview {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  padding: 20px;
  margin: 0 0 24px;
  background: #f7f5f2;
  border-radius: 4px;
}

/* 购物车表 */
.shop_table.cart th,
.shop_table.cart td {
  padding: 12px;
}
.actions {
  text-align: right;
}
.actions .button {
  margin-left: 8px;
}

/* 消息提示 */
.woocommerce-notices-wrapper .woocommerce-message {
  padding: 12px 16px;
  background: #f4f8f4;
  border-left: 3px solid #4a8f4a;
  margin-bottom: 16px;
}

@media (max-width: 767px) {
  .woocommerce-checkout .col2-set {
    flex-direction: column;
  }
}

/* 首页 hero 视频背景（后台「设置 → 首页横幅」上传后启用；无视频时保持图片轮播） */
.h-hero-video {
  position: relative;
  overflow: hidden;
}
.h-hero-video .h-hero-video__bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
  pointer-events: none;
}
/* 视频接管背景后隐藏 Elementor 的轮播层，避免盖住视频 */
.h-hero-video .elementor-background-slideshow,
.h-hero-video .elementor-background-video-container {
  display: none !important;
}
.h-hero-video .elementor-background-overlay {
  z-index: 1;
}
.h-hero-video .elementor-container {
  position: relative;
  z-index: 2;
}
