/* ===== ������ȫ����ʽ (���ֲ���) ===== */
:root { --gold: #b8860b; --dark: #1a1a1a; --gray: #e8e8e8; }
body.drawer-open { overflow: hidden; }

/* ===== 公告栏样式 ===== */
.hd-announce,
.footer-announce {
  background: #0b0b0b !important;
  color: #fff !important;
  overflow: hidden !important;
  height: 36px !important;
  line-height: 36px !important;
  font-size: 14px !important;
  font-weight: 600 !important;
  position: relative !important;
  width: 100% !important;
}

.hd-announce-track {
  display: flex !important;
  width: max-content !important;
  animation: hd-scroll 20s linear infinite !important;
  animation-duration: 20s !important;
  animation-timing-function: linear !important;
  animation-iteration-count: infinite !important;
  will-change: transform !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hd-group {
  display: flex !important;
  margin: 0 !important;
  padding: 0 !important;
}

.hd-announce-item {
  padding: 0 50px !important;
  flex-shrink: 0 !important;
  white-space: nowrap !important;
  display: inline-flex !important;
  align-items: center !important;
  height: 100% !important;
  margin: 0 !important;
}

.hd-announce-item a,
.footer-announce .hd-announce-item a {
  color: #e2c87f !important;
  text-decoration: none !important;
}

@keyframes hd-scroll {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.hd-announce:hover .hd-announce-track,
.footer-announce:hover .hd-announce-track {
  animation-play-state: paused !important;
}

/* 移动端样式 */
@media screen and (max-width: 768px) {
  .hd-announce,
  .footer-announce {
    height: 50px !important;
    line-height: 50px !important;
    font-size: 11px !important;
    font-weight: 400 !important;
  }
  
  .hd-announce-track {
    animation-duration: 20s !important;
    animation: hd-scroll 20s linear infinite !important;
  }
  
  .hd-announce-item {
    padding: 0 15px !important;
  }
}

/* ===== 2. 导航栏布局 ===== */
.hd-wrap { background: #fff; border-bottom: 1px solid var(--gray); position: sticky; top: 0; z-index: 1000; font-family: sans-serif; }
.hd-inner { max-width: 1400px; margin: 0 auto; display: flex; align-items: center; padding: 0 24px; height: 75px; position: relative; }

.hd-logo { display: block; flex-shrink: 0; }
.hd-logo img { height: 42px; display: block; cursor: pointer; }

.hd-nav { display: flex; gap: 28px; list-style: none; margin: 0 0 0 60px; padding: 0; flex: 1; }
.hd-nav li a { text-decoration: none; color: #333; font-size: 15px; font-weight: 700; transition: color 0.3s; white-space: nowrap; }
.hd-nav li a:hover { color: var(--gold); }

/* ===== 4. �����˵�֧�� ===== */
.hd-nav li.menu-item-has-children {
    position: relative;
    display: flex;
    align-items: center;
    height: 75px;
}

.hd-nav > li > a {
    display: inline-flex;
    align-items: center;
    height: 100%;
    position: relative;
}

.hd-nav > li > a:before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 22px;
    height: 2px;
    background: currentColor;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.hd-nav li.menu-item-has-children > a:after {
    content: "��";
    font-size: 8px;
    margin-left: 6px;
    opacity: 0.6;
    transition: transform 0.3s;
}

.hd-nav li.menu-item-has-children:hover > a:after {
    transform: rotate(180deg);
}

.hd-nav li.menu-item-has-children > a:after {
    content: "" !important;
    width: 0 !important;
    height: 0 !important;
    border-left: 5px solid transparent !important;
    border-right: 5px solid transparent !important;
    border-top: 7px solid #444 !important;
    opacity: 0.9 !important;
    display: inline-block !important;
    margin-left: 8px !important;
    transform-origin: center !important;
    transform: translateY(2px) !important;
    transition: opacity 0.25s ease !important;
}

.hd-nav > li:hover > a,
.hd-nav > li > a:hover {
    text-decoration: none !important;
}

.hd-nav > li:hover > a:before,
.hd-nav > li > a:hover:before {
    opacity: 1;
}

.hd-nav li.menu-item-has-children:hover > a:after {
    opacity: 1 !important;
}

.hd-nav .sub-menu {
    position: absolute;
    top: 100%;
    left: 0 !important;
    background: #fff;
    border: 1px solid var(--gray);
    box-shadow: none !important;
    min-width: max(180px, 100%) !important;
    padding: 8px 0;
    list-style: none;
    margin: 0;
    display: none;
    z-index: 1001;
    overflow: visible;
}

.hd-nav .sub-menu:before {
    content: "";
    position: absolute;
    top: -1px;
    left: -28px;
    bottom: -1px;
    width: 28px;
    background: #fff;
    border: 1px solid var(--gray);
    border-right: 0;
    box-sizing: border-box;
    pointer-events: none;
}

.hd-nav li.menu-item-has-children:hover .sub-menu {
    display: block;
}

.hd-nav .sub-menu li a {
    display: block;
    padding: 10px 20px;
    color: #333;
    font-size: 14px;
    white-space: nowrap;
}

.hd-nav .sub-menu li a:hover {
    color: var(--gold);
    text-decoration: underline;
    text-underline-offset: 4px;
}


.hd-actions { display: flex; align-items: center; gap: 18px; margin-left: auto; }
.hd-action-btn { background: none; border: none; cursor: pointer; color: #333; transition: color 0.3s; display: flex; padding: 5px; }
.hd-action-btn:hover { color: var(--gold); }
.hd-action-btn svg { width: 22px; height: 22px; stroke: currentColor; fill: none; stroke-width: 2; }

/* ===== 3. ��ߵ�����ʽ (�����޸�����) ===== */
.hd-overlay { position: fixed; top: 0; left: 0; width: 100%; height: 100%; background: rgba(0,0,0,0.5); visibility: hidden; opacity: 0; transition: 0.3s; z-index: 2000; }
.hd-drawer { position: fixed; top: 0; right: -100%; width: 33.333%; height: 100%; background: #fff; z-index: 2001; transition: 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94); padding: 50px 40px; box-sizing: border-box; overflow-y: auto; overflow-x: hidden; font-family: sans-serif; }

.hd-overlay.active { visibility: visible; opacity: 1; z-index: 200000 !important; }
.hd-drawer.active { right: 0; z-index: 200001 !important; }
.hd-drawer--menu.active { left: 0; z-index: 200001 !important; overflow-x: hidden !important; }
#menuDrawer.active { left: 0 !important; width: 60% !important; right: auto !important; }

/* �ر�ͼ����������ͣЧ�� */
.drawer-close { position: absolute; top: 22px; right: 22px; left: auto; border: none; background: none; font-size: 32px; cursor: pointer; line-height: 1; color: #333; padding: 0; transition: all 0.3s; z-index: 10; }
.drawer-close:hover { color: var(--gold); transform: rotate(90deg); }

/* ���������ͨ����ʽ */
.search-input-wrap { display: flex; border: 1px solid var(--gray); padding: 5px; margin: 25px 0; }
.search-input-wrap input { flex: 1; border: none; outline: none; padding: 10px; font-size: 16px; }

/* ��¼/ע�����������Ҫ�޸� */
.auth-form-wrap h3 { text-transform: uppercase; font-size: 24px; margin-bottom: 30px; margin-left: 5px; margin-top: 10px;}

.auth-form-wrap input {
  width: 100%;
  padding: 14px 12px; /* �����ڱ߾�ʹ���ֲ�ӵ�� */
  margin-bottom: 18px; /* �޸�Ϊ�����Ű棬�����ӿ��� */
  border: 1px solid #ccc;
  border-radius: 0; /* �Ƴ�Բ�� */
  box-sizing: border-box;
  font-size: 14px;
}

/* ��ť��ʽ����ͣ����Ч�� */
.auth-btn {
  width: 100%;
  padding: 16px;
  background: var(--dark);
  color: #fff;
  border: none;
  cursor: pointer;
  font-weight: bold;
  font-size: 14px;
  text-transform: uppercase;
  margin-top: 5px; /* ����һ�������ļ�� */
  transition: all 0.3s ease; /* ˿������ */
}
/* �����ͣ����¼/ע�ᰴťʱ�ı仯 */
.auth-btn:hover {
  background: #555; /* ������� */
  transform: scale(1.02); /* ��ť΢С������ӵ���� */
}

/* �·��л�������������ͣ����Ч�� */
.auth-switch-link {
  text-align: center;
  margin-top: 25px; /* �������Ϸ���ť�ļ�� */
  cursor: pointer;
  font-size: 14px;
  color: #333;
  transition: all 0.3s;
}
/* �����ͣ�� Create Account / Back to login ʱ�ı仯 */
.auth-switch-link:hover {
  color: var(--gold); /* ���ֱ�Ϊ��ɫ */
  text-decoration: underline; /* �����»��� */
}

@media (max-width: 1024px) {
  .hd-drawer { width: 60%; }
  #cartDrawer { width: 100vw; }
  .hd-nav { display: none; }
  .hd-mobile-menu-btn { display: flex; align-items: center; justify-content: center; }
  .hd-inner { padding: 0 16px; }
  .hd-actions { gap: 12px; }
  .hd-drawer--menu { padding: 20px 20px 24px; }
  .hd-drawer--menu h3 { margin-top: 6px; font-size: 20px; }
}

/* 移动端子菜单展开/收起图标 */
.hd-mobile-menu li { max-width: 100%; box-sizing: border-box; }
.hd-mobile-menu li a { word-break: break-word; }
/* 防止抽屉内任何子元素溢出产生滑块 */
#menuDrawer,
#menuDrawer .hd-mobile-menu,
#menuDrawer .hd-mobile-menu li,
#menuDrawer .hd-mobile-menu li a,
#menuDrawer .hd-mobile-menu .sub-menu,
#menuDrawer .hd-mobile-menu .sub-menu li,
#menuDrawer .hd-mobile-menu .sub-menu a {
  max-width: 100% !important;
  box-sizing: border-box !important;
}
.hd-mobile-menu .menu-item-has-children > a {
  position: relative;
  padding-right: 36px;
}
.hd-mobile-menu .menu-item-has-children > a::after {
  content: '+';
  position: absolute;
  right: 12px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 22px;
  font-weight: 400;
  color: #999;
  transition: transform 0.3s;
}
.hd-mobile-menu .menu-item-has-children.open > a::after {
  content: '−';
}

/* �������� */
  .banner-wrapper { --white: #fff; --dark: #111; position: relative; width: 100%; overflow: hidden; background: #000; font-family: sans-serif; }
  .bn-track { display: flex; transition: transform 0.6s cubic-bezier(0.25, 1, 0.5, 1); }
  .bn-slide { min-width: 100%; position: relative; }
  .bn-slide img { width: 100%; height: 600px; object-fit: cover; display: block; }
  
  /* �������ֲ� */
  .bn-overlay { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(0,0,0,0.3); color: var(--white); text-align: center; padding: 20px; z-index: 2; }
  .bn-overlay h2 { font-size: clamp(24px, 5vw, 48px); font-weight: 700; margin-bottom: 15px; text-transform: uppercase; line-height: 1.1; }
  .bn-overlay p { font-size: clamp(14px, 2vw, 18px); max-width: 650px; margin-bottom: 25px; opacity: 0.9; }
  .bn-btn { padding: 12px 35px; background: var(--white); color: var(--dark); text-decoration: none; font-weight: 600; border-radius: 4px; transition: 0.3s; }
  .bn-btn:hover { background: var(--dark); color: var(--white); }

  /* ��ͷ��ʽ & ��ͣ�߼� */
  .bn-arrow { 
    position: absolute; top: 50%; transform: translateY(-50%); 
    width: 50px; height: 50px; background: rgba(255,255,255,0.9); 
    border: none; border-radius: 50%; cursor: pointer; z-index: 10;
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    opacity: 0; visibility: hidden; transition: all 0.3s ease;
  }
  /* ���ŵ� banner ����ʾ��ͷ */
  .banner-wrapper:hover .bn-arrow { opacity: 1; visibility: visible; }
  .prev { left: 20px; }
  .next { right: 20px; }
  .bn-arrow:hover { background: var(--white); transform: translateY(-50%) scale(1.1); }

  /* ָʾ�� */
  .bn-dots { position: absolute; bottom: 20px; left: 50%; transform: translateX(-50%); display: flex; gap: 8px; z-index: 10; }
  .dot { width: 10px; height: 10px; border-radius: 50%; background: rgba(255,255,255,0.4); border: none; cursor: pointer; transition: 0.3s; }
  .dot.active { background: var(--white); transform: scale(1.2); }

  /* ��Ӧʽ���� */
  @media (max-width: 768px) {
    .bn-slide img { height: 400px; }
    .bn-arrow { opacity: 1; visibility: visible; width: 40px; height: 40px; } /* �ƶ��˱�����ʾ */
  }

.pc-section {
  max-width: 1300px;
  margin: 0 auto;
  padding: 50px 0;
  position: relative;
}
.pc-wrapper {
  overflow-x: auto;
  overflow-y: hidden;
  scrollbar-width: none;
  -ms-overflow-style: none;
  scroll-behavior: smooth;
  position: relative;
}
.pc-wrapper::-webkit-scrollbar {
  display: none;
}
.pc-track {
  display: flex;
  gap: 25px;
  touch-action: pan-y;
  padding: 0 10px;
}
.pc-item {
  flex: 0 0 calc((100% - 150px) / 7);
  text-align: center;
}
.pc-circle {
  width: 100%;
  aspect-ratio: 1/1;
  max-width: 180px;
  margin: 0 auto 15px;
  border-radius: 50%;
  background: #f5f5f5;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  transition: box-shadow 0.3s ease;
}
.pc-item:hover .pc-circle {
  box-shadow: 0 8px 24px rgba(0,0,0,0.1);
}
.pc-circle img {
  width: 85%;
  height: 85%;
  object-fit: contain;
}
.pc-name {
  font-size: 15px;
  color: #333;
  font-weight: 500;
  white-space: nowrap;
}

/* --- ��ͷ�Ż����Ĵ��룺���ɾ���λ�þ��� --- */

/* ����������ʹ�� flex �����ü�ͷ��ˮƽ�ʹ�ֱ���򶼾��� */
.pc-arrow-container {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 100px;
  display: flex;
  align-items: center; /* ��ֱ���� */
  justify-content: center; /* **�����޸ģ�ˮƽ����** */
  z-index: 20;
  pointer-events: none;
}

.pc-arrow-left-container {
  left: 0;
  background: linear-gradient(to right, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
}

.pc-arrow-right-container {
  right: 0;
  background: linear-gradient(to left, rgba(255, 255, 255, 1) 0%, rgba(255, 255, 255, 0.8) 40%, rgba(255, 255, 255, 0) 100%);
}

/* ��ͷ��ť�������ȥ������Ҫ�� margin */
.pc-arrow {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid #ddd;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  font-size: 32px;
  color: #111;
  box-shadow: 0 4px 12px rgba(0,0,0,0.15);
  transition: all 0.3s ease;
  outline: none;
  pointer-events: auto;
  margin: 0;
  position: relative;
  top: -20px;
  opacity: 0;
  visibility: hidden;
}

.pc-section:hover .pc-arrow {
  opacity: 1;
  visibility: visible;
}

/* .pc-arrow-left, .pc-arrow-right 由 .pc-section:hover 控制显隐 */

@media (min-width: 769px) {
  .pc-arrow:hover { background: #333; color: #fff; border-color: #333; }
}

/* ��Ӧʽ�ϵ� (���ֲ���) */
@media (max-width: 1024px) {
  .pc-item { flex: 0 0 calc((100% - 75px) / 4); }
}

@media (max-width: 768px) {
  .pc-item { flex: 0 0 calc((100% - 50px) / 3); }
  .pc-circle { max-width: 130px; }
  .pc-arrow-container { width: 70px; }
  .pc-arrow { width: 40px; height: 40px; font-size: 26px; top: -15px;}
}

@media (max-width: 480px) {
  .pc-item { flex: 0 0 calc((100% - 25px) / 2.3); }
  .pc-track { gap: 15px; }
  .pc-circle { max-width: 110px; }
}

.bs-wrap,
.bs-wrap *{box-sizing:border-box}
.bs-wrap{max-width:1400px;margin:0 auto;padding:40px 20px;font-family:Arial,Helvetica,sans-serif}
.bs-head{text-align:center;margin-bottom:30px}
.bs-head h2{font-size:28px;font-weight:700;color:#222;margin-bottom:16px}
.bs-tabs{display:flex;justify-content:center;gap:24px;flex-wrap:wrap}
.bs-tab{background:none;border:none;font-size:15px;color:#888;cursor:pointer;padding:6px 0;border-bottom:2px solid transparent;transition:.3s}
.bs-tab.active,.bs-tab:hover{color:#222;border-bottom-color:#222}

.bs-track-wrap{position:relative}
.bs-track-viewport{overflow:hidden}
.bs-track{display:flex;transition:transform .5s ease}
.bs-card{flex:0 0 calc((100% - 64px) / 5);}
.bs-card a{text-decoration:none;color:inherit;display:block}

/* 产品卡片 - 匹配产品页 Best Sellers */
.bs-card .p-card-image{position:relative;display:block;width:100%;aspect-ratio:1/1;background:#f5f5f5;border-radius:4px;overflow:hidden;margin-bottom:12px;cursor:pointer;text-decoration:none}
.bs-card .p-card-image img{position:absolute;inset:0;width:100%;height:100%;object-fit:cover;display:block;transition:transform .4s ease,opacity .3s ease}
.bs-card .p-card-image:hover img{transform:scale(1.08)}
.bs-card .p-card-image .p-img-secondary{opacity:0}
.bs-card .p-card-image:hover .p-img-primary{opacity:0}
.bs-card .p-card-image:hover .p-img-secondary{opacity:1}
.bs-card .p-card-title{display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden;min-height:40px;margin:0 0 8px;font-size:14px;line-height:1.4;color:#333;text-decoration:none}
.bs-card .p-card-title:hover{text-decoration:underline}
.bs-card .p-card-price{margin:0 0 12px;font-size:16px;font-weight:800;line-height:1.3;color:#000}
.bs-card .p-card-price del{color:#000;font-weight:700;font-size:18px;margin-right:6px}
.bs-card .p-card-price ins{background:transparent;color:#c00;font-weight:700;text-decoration:none}
.bs-card .p-card-footer{display:flex;justify-content:space-between;align-items:center;gap:12px;margin-top:auto}
.bs-card .p-swatches{display:flex;align-items:center;gap:4px;flex:1;min-width:0}
.bs-card .p-swatch{width:36px;height:36px;padding:0;border:1px solid #eee;border-radius:2px;background:#fff;overflow:hidden;cursor:pointer;flex:0 0 auto}
.bs-card .p-swatch.active,.bs-card .p-swatch:hover{border-color:#ff4d4f}
.bs-card .p-swatch img{width:100%;height:100%;object-fit:cover;display:block}
.bs-card .p-add-icon-btn{width:36px;height:36px;display:inline-flex;align-items:center;justify-content:center;border:1px solid #d9d9d9;border-radius:4px;background:#f5f5f5;color:#111;text-decoration:none;transition:background .2s,color .2s,border-color .2s;flex-shrink:0}
.bs-card .p-add-icon-btn svg{width:18px;height:18px;fill:none;stroke:currentColor;stroke-linecap:round;stroke-linejoin:round;stroke-width:2}
.bs-card .p-add-icon-btn:hover,.bs-card .p-add-icon-btn:focus-visible{background:#FF4D4F;border-color:#FF4D4F;color:#fff;outline:none}

@media(max-width:640px){
.bs-card .p-swatch{width:24px;height:24px}
.bs-card .p-swatches{gap:2px}
.bs-card .p-add-icon-btn{width:28px;height:28px}
.bs-card .p-card-footer{gap:4px}
}

/* ��ͷ */
.bs-arrow{position:absolute;top:50%;transform:translateY(-50%);width:40px;height:40px;background:rgba(255,255,255,.9);border:1px solid #ddd;border-radius:50%;cursor:pointer;display:flex;align-items:center;justify-content:center;z-index:5;opacity:0;transition:opacity .3s;font-size:18px;color:#333}
.bs-track-wrap:hover .bs-arrow{opacity:1}
.bs-arrow:hover{background:#222;color:#fff;border-color:#222}
.bs-arrow.left{left:6px}
.bs-arrow.right{right:6px}

@media(max-width:1024px){.bs-card{flex:0 0 calc((100% - 32px) / 3)}}
@media(max-width:640px){.bs-card{flex:0 0 calc((100% - 16px) / 2)}}

/* ����������Flex���� */
  .info-split-box {
    display: flex;
    align-items: center;
    max-width: 1100px;
    margin: 60px auto;
    padding: 20px;
    gap: 5%; /* ʹ�ðٷֱȼ����ߵ��� */
    background: #fff;
  }

  /* ͼƬ���֣�ǿ���������Ҵ�����Ч�� */
  .info-image-part {
    flex: 1;
    aspect-ratio: 1 / 1;
    overflow: hidden;
    border-radius: 4px; /* ��ѡ����΢Բ�� */
  }
  .info-image-part img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
  }
  .info-image-part:hover img {
    transform: scale(1.08); /* �����ͣʱͼƬ��΢�Ŵ� */
  }

  /* ���ֲ��� */
  .info-text-part {
    flex: 1.1; /* ���������Կ���ͼƬ */
    padding: 20px 0;
  }
  .info-tag {
    display: block;
    font-size: 13px;
    color: #888;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
    font-weight: 500;
  }
  .info-title {
    font-size: clamp(28px, 4vw, 42px); /* ��Ӧʽ�����С */
    font-family: "Playfair Display", serif; /* ��������վ����������� */
    color: #222;
    margin-bottom: 20px;
    line-height: 1.2;
  }
  .info-desc {
    font-size: 16px;
    line-height: 1.8;
    color: #555;
    margin-bottom: 35px;
    font-family: sans-serif;
  }
  
  /* ��ť������ڰ׷�� */
  .info-link {
    display: inline-block;
    padding: 14px 40px;
    background: #333;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s;
  }
  .info-link:hover {
    background: #000;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
  }

  /* �ƶ������� */
  @media (max-width: 768px) {
    .info-split-box {
      flex-direction: column;
      text-align: center;
      margin: 30px auto;
    }
    .info-text-part {
      padding: 30px 10px 0;
    }
    .info-link {
      align-self: center; /* �ֻ��˰�ť���� */
    }
  }
  .sub-banner {
    background: #f5f5f5;
    border-top: 2px solid #e0e0e0;
    border-bottom: 2px solid #e0e0e0;
    padding: 28px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
  }
  .sub-banner-text {
    font-size: 18px;
    font-weight: 700;
    color: #1a1a1a;
    margin: 0;
    text-align: center;
  }
  .sub-banner-form {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
  }
  .sub-banner-input-wrap {
    position: relative;
    display: inline-flex;
    align-items: center;
  }
  .sub-banner-input {
    width: 380px;
    height: 50px;
    padding: 0 130px 0 18px;
    border: 1px solid #ccc;
    border-radius: 6px;
    font-size: 15px;
    color: #333;
    background: #fff;
    outline: none;
    box-sizing: border-box;
  }
  .sub-banner-input::placeholder {
    color: #999;
  }
  .sub-banner-input:focus {
    border-color: #888;
  }
  .sub-banner-btn {
    position: absolute;
    right: 0;
    top: 0;
    height: 50px;
    padding: 0 22px;
    background: #f59e0b;
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    border: none;
    border-radius: 0 6px 6px 0;
    cursor: pointer;
    transition: background 0.3s;
    white-space: nowrap;
  }
  .sub-banner-btn:hover {
    background: #d97706;
  }
  @media (max-width: 768px) {
    .sub-banner {
      flex-direction: column;
      gap: 16px;
      padding: 24px 16px;
    }
    .sub-banner-text {
      font-size: 16px;
    }
    .sub-banner-input-wrap {
      width: 100%;
    }
    .sub-banner-input {
      width: 100%;
    }
  }
/* �������� */
.product-section { max-width: 1200px; margin: 40px auto; padding: 0 15px; font-family: sans-serif; }

/* ͷ����ʽ */
.section-header { text-align: center; margin-bottom: 35px; }
.section-header h2 { font-size: 22px; letter-spacing: 2px; color: #111; margin-bottom: 12px; }

.view-all-btn { 
  display: inline-block;
  font-size: 13px; 
  color: #888; 
  text-decoration: none; 
  border: 1px solid #ddd; 
  padding: 8px 25px; 
  border-radius: 4px; 
  transition: all 0.3s ease; 
}

.view-all-btn:hover { 
  color: #bfa36c; 
  border-color: #bfa36c; 
  background: rgba(191, 163, 108, 0.05); 
}

/* ���񲼾֣�����ÿ��4�У������м�� */
.product-grid { 
  display: grid; 
  grid-template-columns: repeat(4, 1fr); 
  gap: 40px 25px; /* ���������м��Ϊ40px�����Ҽ�ౣ��25px */
}

/* ��Ʒ��Ƭ��ʽ */
.product-item { background: #fff; }
.product-image { aspect-ratio: 1/1; overflow: hidden; margin-bottom: 15px; background: #f5f5f5; }
.product-image img { width: 100%; height: 100%; object-fit: cover; }

.product-info { padding: 0 4px; }
.product-title { font-size: 14px; color: #333; font-weight: 400; line-height: 1.5; height: 42px; overflow: hidden; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; margin-bottom: 12px; }

.product-bottom { display: flex; justify-content: space-between; align-items: center; }
.price-box { display: flex; flex-direction: column; line-height: 1.2; }
.current-price { font-size: 15px; font-weight: 700; color: #222; }
.old-price { font-size: 12px; color: #999; text-decoration: none; margin-top: 2px; }

.add-to-cart { background: none; border: 1px solid #ddd; padding: 8px; border-radius: 4px; cursor: pointer; transition: 0.3s; display: flex; align-items: center; justify-content: center; }
.add-to-cart:hover { background: #333; color: #fff; border-color: #333; }

/* �ƶ������� */
@media (max-width: 992px) { .product-grid { grid-template-columns: repeat(2, 1fr); gap: 20px 15px; } }

.trust-bar{background:#f5f0eb;padding:50px 20px}
.trust-row{display:flex;justify-content:center;align-items:flex-start;max-width:1200px;margin:0 auto;gap:30px;flex-wrap:wrap}
.trust-item{flex:1 1 220px;max-width:280px;text-align:center;padding:10px}
.trust-icon{font-size:28px;margin-bottom:14px;color:#333}
.trust-icon svg{width:36px;height:36px;stroke:#333;fill:none;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round}
.trust-title{font-size:16px;font-weight:700;color:#222;margin-bottom:8px}
.trust-desc{font-size:13px;color:#666;line-height:1.6}
@media(max-width:768px){.trust-row{flex-direction:column;align-items:center}.trust-item{max-width:90%}}

/* ���ֲ㱣�ֲ��� */
.popup-overlay {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: 999999;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.popup-overlay.active { display: flex; opacity: 1; }

/* �ص��޸ģ����ȴ� 600px ���ӵ� 850px */
.popup-content {
    background: #fff;
    width: 850px; 
    height: 550px; /* ���ȼӴ�󣬸߶���΢��Сһ�㣬�Ӿ�������Э�� */
    position: relative;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.4s ease;
    border-radius: 8px; /* ����һ��Բ�ǣ����Ծ��� */
}
.popup-overlay.active .popup-content { transform: scale(1); }

.popup-body { display: flex; height: 100%; }

/* ͼƬ����ռ�� 55% �Ŀ��� */
.popup-image { flex: 1.2; height: 100%; background: #f0f0f0; }
.popup-image img { width: 100%; height: 100%; object-fit: cover; display: block; }

/* ��������ռ�� 45% �Ŀ��� */
.popup-form-area { flex: 1; padding: 50px; display: flex; flex-direction: column; justify-content: center; text-align: center; }

.popup-title { font-size: 60px; font-weight: bold; color: #333; margin: 0 0 10px; line-height: 1.1; }
.popup-subtitle { font-size: 24px; color: #555; margin-bottom: 35px; }

.popup-input-group input { width: 100%; padding: 18px; border: 1px solid #ddd; border-radius: 4px; margin-bottom: 20px; font-size: 16px; box-sizing: border-box; }
.popup-submit-btn { width: 100%; padding: 18px; background: #c38b8b; color: white; border: none; border-radius: 4px; font-weight: bold; cursor: pointer; font-size: 18px; transition: background 0.3s; }
.popup-submit-btn:hover { background: #ad7474; }

.popup-close { position: absolute; top: 15px; right: 15px; background: rgba(255,255,255,0.8); border: none; font-size: 28px; width: 35px; height: 35px; border-radius: 50%; cursor: pointer; z-index: 10; display: flex; align-items: center; justify-content: center; }

/* �ƶ������䣺����С�� 900px ʱ�Զ����� */
@media (max-width: 900px) {
    .popup-content { width: 90%; height: auto; max-width: 500px; }
    .popup-image { display: none; } /* �ֻ�����������ͼ */
    .popup-form-area { padding: 40px 20px; }
    .popup-title { font-size: 45px; }
}

.footer {
  background:#0b0b0b;
  color:#fff;
  padding:60px 20px 20px;
  font-family:Arial, sans-serif;
}
.footer a {
  color:#fff;
  text-decoration:none;
  display:block;
  margin-bottom:10px;
  transition:0.3s;
}
.footer a:hover {
  color:#f5c15d;
  text-decoration:underline;
}
.footer-top {
  max-width:1200px;
  margin:auto;
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:40px;
}
.footer-logo img {
  max-width:140px;
  margin-bottom:15px;
}
.social-icons {
  display:flex;
  gap:10px;
  margin-top:15px;
}
.social-icons a {
  width:36px;
  height:36px;
  background:#222;
  display:flex;
  align-items:center;
  justify-content:center;
  border-radius:50%;
  font-size:14px;
}
.footer h4 {
  margin-bottom:15px;
}
.newsletter input {
  width:100%;
  padding:12px;
  border:none;
  margin-bottom:10px;
  background:#fff;
  color:#000;
  box-sizing:border-box;
}
.newsletter button:hover {
  opacity:0.85;
}

/* 右下角按钮 */
#hdBtnGroup{z-index:100000}
@media(max-width:768px){#hdBtnGroup{display:flex!important;visibility:visible!important;opacity:1!important;z-index:100001!important;pointer-events:none!important;}#hdBtnGroup>*{pointer-events:auto!important;}}
@media(max-width:767px){html body #hdBtnGroup{display:flex!important}}

/* Related mobile */
@media(max-width:768px){.p-related-wrap ul.products li.product{flex:0 0 45%!important}}
.footer-bottom {
  border-top:1px solid #222;
  margin-top:40px;
  padding-top:20px;
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  max-width:1200px;
  margin-left:auto;
  margin-right:auto;
}
.payments img {
  height:26px;
  margin-right:8px;
}
.footer-links {
  display:flex;
  gap:15px;
  flex-wrap:wrap;
  font-size:13px;
}
.footer-links a {
  display:inline;
}
@media(max-width:768px){
  .footer-top {
    grid-template-columns:1fr;
  }
  .footer-bottom {
    flex-direction:column;
    gap:15px;
    text-align:center;
  }
}


/* ǿ���� Hello Elementor �����µ�ҳ������ռ��ȫ�� */
body.page .site-main,
body.page .entry-content {
    max-width: 100% !important;
    width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
}

/* 底部悬浮条 */
#zrfStickyBar { padding:8px 16px 12px; }
@media(max-width:480px){
    #zrfStickyBar { padding:8px 10px 10px; }
    #zrfStickyAtc { height:44px; font-size:14px; }
}
#zrfStickyAtc { 
/* ===== Cart Page ===== */
/* Core layout kept here; most cart styles moved to footer.php <style> */
.zc-page-wrap { max-width: 1200px; margin: 0 auto; font-family: sans-serif; }

/* ===== Checkout Page ===== */
.zc-checkout-page { max-width: 1100px; }
.zc-checkout-layout { display: grid; grid-template-columns: 1fr 420px; gap: 40px; align-items: start; }
@media(max-width:900px){ .zc-checkout-layout { grid-template-columns: 1fr; } }
.zc-checkout-fields h3 { font-size: 18px; font-weight: 700; margin: 0 0 16px; color: #1a1a1a; }
.zc-checkout-fields .form-row { margin-bottom: 14px; }
.zc-checkout-fields label { display: block; font-size: 13px; font-weight: 600; color: #555; margin-bottom: 4px; }
.zc-checkout-fields input, .zc-checkout-fields select, .zc-checkout-fields textarea { width: 100%; padding: 10px 14px; border: 1px solid #ddd; border-radius: 4px; font-size: 14px; outline: none; box-sizing: border-box; font-family: sans-serif; }
.zc-checkout-fields input:focus, .zc-checkout-fields select:focus, .zc-checkout-fields textarea:focus { border-color: var(--gold); }
.zc-checkout-fields .form-row-first, .zc-checkout-fields .form-row-last { float: left; width: 48%; }
.zc-checkout-fields .form-row-first { margin-right: 4%; }
.zc-checkout-fields .form-row-last { float: right; }
.zc-checkout-fields::after { content: ""; display: table; clear: both; }
@media(max-width:600px){ .zc-checkout-fields .form-row-first, .zc-checkout-fields .form-row-last { float: none; width: 100%; margin-right: 0; } }
.zc-checkout-summary-inner { background: #f8f8f8; border-radius: 8px; padding: 28px; position: sticky; top: 100px; }
.zc-summary-title { font-size: 18px; font-weight: 700; margin: 0 0 20px; color: #1a1a1a; }
.zc-summary-item { display: flex; gap: 12px; align-items: center; padding: 12px 0; border-bottom: 1px solid #e8e8e8; }
.zc-summary-item:last-child { border-bottom: none; }
.zc-summary-item-img { width: 56px; height: 56px; flex-shrink: 0; background: #eee; border-radius: 4px; overflow: hidden; }
.zc-summary-item-img img { width: 100%; height: 100%; object-fit: cover; display: block; }
.zc-summary-item-info { flex: 1; min-width: 0; }
.zc-summary-item-name { display: block; font-size: 13px; font-weight: 600; color: #1a1a1a; line-height: 1.3; }
.zc-summary-item-attr { font-size: 11px; color: #888; margin-top: 2px; }
.zc-summary-item-qty { font-size: 12px; color: #888; margin-top: 2px; display: block; }
.zc-summary-item-price { font-size: 14px; font-weight: 600; color: #1a1a1a; white-space: nowrap; }
.zc-summary-totals { margin-top: 16px; padding-top: 16px; border-top: 2px solid #ddd; width: 100%; border-collapse: collapse; }
.zc-summary-totals th, .zc-summary-totals td { padding: 8px 0; font-size: 14px; color: #555; text-align: left; }
.zc-summary-totals td { text-align: right; }
.zc-summary-totals tr { border-bottom: 1px solid #e8e8e8; }
.zc-summary-totals tr:last-child { border-bottom: none; }
.zc-summary-total th, .zc-summary-total td { font-size: 18px; font-weight: 700; color: #1a1a1a; padding-top: 12px; }

/* Shipping in checkout summary */
.zc-summary-totals .shipping th, .zc-summary-totals .shipping td { vertical-align: top; }
.zc-summary-totals .shipping td ul { list-style: none; padding: 0; margin: 0; }
.zc-summary-totals .shipping td li { margin-bottom: 4px; font-size: 13px; }
.zc-summary-totals .shipping td input[type="radio"] { margin-right: 4px; }
.zc-summary-totals .shipping .shipping-calculator-button { font-size: 12px; }
.zc-summary-totals .shipping .shipping-calculator-form { margin-top: 8px; }
.zc-summary-totals .shipping .shipping-calculator-form select,
.zc-summary-totals .shipping .shipping-calculator-form input { width: 100%; padding: 6px 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 12px; margin-bottom: 6px; box-sizing: border-box; }
.zc-summary-totals .shipping .woocommerce-shipping-destination { font-size: 12px; color: #888; margin-bottom: 4px; }

/* Checkout payment */
.woocommerce-checkout-review-order { margin-top: 20px; padding-top: 20px; border-top: 2px solid #ddd; }
.woocommerce-checkout-review-order h3 { font-size: 16px; font-weight: 700; margin: 0 0 12px; color: #1a1a1a; }
.wc_payment_methods { list-style: none; padding: 0; margin: 0; }
.wc_payment_methods li { padding: 10px 0; border-bottom: 1px solid #e8e8e8; }
.wc_payment_methods li:last-child { border-bottom: none; }
.wc_payment_methods input[type="radio"] { margin-right: 8px; }
.wc_payment_methods label { font-size: 14px; font-weight: 600; cursor: pointer; }
.payment_box { font-size: 13px; color: #666; padding: 10px 0 0 24px; }
.place-order { margin-top: 16px; }
#place_order { width: 100%; padding: 16px; font-size: 16px; font-weight: 700; background: var(--gold); color: #fff; border: none; border-radius: 4px; cursor: pointer; transition: background 0.2s; }
#place_order:hover { background: #a07508; }
.woocommerce-terms-and-conditions-wrapper { font-size: 13px; color: #666; margin-bottom: 16px; }
.woocommerce-terms-and-conditions-wrapper input { margin-right: 4px; }
.woocommerce-privacy-policy-text p { font-size: 13px; color: #666; margin-bottom: 16px; line-height: 1.5; }
.woocommerce-invalid input, .woocommerce-invalid select { border-color: #e00 !important; }
.woocommerce-validated input, .woocommerce-validated select { border-color: #0a0 !important; }
.woocommerce-checkout-review-order .woocommerce-terms-and-conditions { border: 1px solid #ddd; padding: 16px; margin-bottom: 12px; max-height: 200px; overflow-y: auto; font-size: 13px; background: #fff; }

/* Cart notices (used in both cart & checkout) */
.woocommerce-message, .woocommerce-info, .woocommerce-error { padding: 12px 16px; margin-bottom: 20px; border-radius: 4px; font-size: 14px; list-style: none; }
.woocommerce-message { background: #f0f8f0; border: 1px solid #c8e6c8; color: #2e7d32; }
.woocommerce-info { background: #f0f4f8; border: 1px solid #c8d6e6; color: #1565c0; }
.woocommerce-error { background: #fef0f0; border: 1px solid #f5c6c6; color: #c62828; }
.woocommerce-error li { margin: 0; }
.wc-proceed-to-checkout { display: none; }

/* Shipping calculator (used in both cart & checkout) */
.shipping-calculator-button { font-size: 13px; color: var(--gold); cursor: pointer; text-decoration: underline; }
.shipping-calculator-form { margin-top: 10px; }
.shipping-calculator-form select, .shipping-calculator-form input { width: 100%; padding: 8px; border: 1px solid #ddd; border-radius: 4px; font-size: 13px; margin-bottom: 8px; box-sizing: border-box; }

/* ===== Thank You / Order Received Page ===== */
.zc-thankyou { text-align: center; max-width: 600px; margin: 0 auto; padding: 40px 0; }
.zc-thankyou-icon { width: 72px; height: 72px; border-radius: 50%; background: #4caf50; color: #fff; font-size: 32px; display: flex; align-items: center; justify-content: center; margin: 0 auto 24px; }
.zc-thankyou h2 { font-size: 22px; font-weight: 700; color: #1a1a1a; margin: 0 0 32px; line-height: 1.4; }
.zc-thankyou-details { list-style: none; padding: 0; margin: 0 0 32px; display: inline-block; text-align: left; }
.zc-thankyou-details li { padding: 10px 0; border-bottom: 1px solid #eee; display: flex; gap: 16px; font-size: 14px; }
.zc-thankyou-details li:last-child { border-bottom: none; }
.zc-thankyou-label { color: #888; min-width: 130px; }
.zc-thankyou-actions { margin-top: 16px; }
.zc-thankyou-actions .zc-btn { margin: 0 8px 8px; }
.zc-thankyou-failed h2 { color: #c62828; }
.zc-thankyou-failed .zc-btn { margin: 0 8px 8px; }

/* Extra checkout fields */
.zc-checkout-fields .create-account { margin-bottom: 16px; }
.zc-checkout-fields .create-account input { width: auto; margin-right: 6px; }
.zc-checkout-fields .create-account label { display: inline; font-size: 14px; }
.zc-checkout-fields .woocommerce-account-fields { margin-bottom: 16px; }
.zc-checkout-fields .woocommerce-account-fields p { margin: 6px 0; }
.zc-checkout-fields #ship-to-different-address { margin-bottom: 16px; }
.zc-checkout-fields #ship-to-different-address input { width: auto; margin-right: 6px; }
.zc-checkout-fields #ship-to-different-address label { display: inline; font-size: 14px; font-weight: 600; cursor: pointer; }
.zc-checkout-fields #order_comments { min-height: 80px; resize: vertical; }
.zc-checkout-fields .woocommerce-additional-fields h3 { margin-top: 24px; }
.zc-checkout-fields .woocommerce-additional-fields { margin-top: 8px; }

/* Checkout error display */
.zc-checkout-fields .woocommerce-error { margin-top: 16px; }
.zc-checkout-fields .woocommerce-invalid label { color: #c62828; }
.zc-checkout-fields .woocommerce-validated label { color: #2e7d32; }

/* Checkout select2 if used */
.zc-checkout-fields .select2-container .select2-selection--single { height: 42px; border: 1px solid #ddd; border-radius: 4px; }
.zc-checkout-fields .select2-container--default .select2-selection--single .select2-selection__rendered { line-height: 42px; padding-left: 14px; }
.zc-checkout-fields .select2-container--default .select2-selection--single .select2-selection__arrow { height: 40px; }
