/*
Theme Name: Astor
Theme URI: https://example.com
Author: Your Name
Author URI: https://example.com
Description: My first custom WordPress theme.
Version: 1.0
License: GNU General Public License v2 or later
Text Domain: mytheme
*/


:root{
  --green:#0f6b58;
  --green2:#0b4e40;
  --text:#0f172a;
  --muted:#6b7280;
  --line:rgba(15,23,42,.10);
  --container:1320px;
}

*{box-sizing:border-box}
body{margin:0;color:var(--text);font-family:system-ui,-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#fff;    overflow: hidden;}
a{text-decoration:none;color:inherit}
img{max-width:100%;display:block}
html{
    overflow-x: hidden !important;
}
.azhp-container{width:min(var(--container),calc(100% - 48px));margin:0 auto}

.azhp-topbar{
  background:var(--green2);
  color:#fff;
  font-size:14px;
}
.azhp-topbar__left{padding:10px 0}

.azhp-header{
  background:#fff;
  border-bottom:1px solid var(--line);
}
.azhp-header__row{
  display:grid;
  grid-template-columns:240px 1fr 120px;
  gap:18px;
  align-items:center;
  padding:14px 0 10px;
}

.azhp-logo__link{display:flex;align-items:center;gap:10px}
.azhp-logo__mark{display:grid;place-items:center}
.azhp-logo__text b{font-size:18px;color:var(--green2);letter-spacing:.2px}

.azhp-search__form{
  display:flex;
  align-items:center;
  gap:0;
  background:#e5e7eb;
  border-radius:999px;
  overflow:hidden;
  height:44px;
}
.azhp-search__select{
  background:#e5e7eb;
  border-right:1px solid rgba(0,0,0,.06);
}
.azhp-search__select select{
  height:44px;
  border:0;
  outline:none;
  background:transparent;
  padding:0 16px;
  font-size:14px;
  color:#111827;
  appearance:none;
  cursor:pointer;
  min-width:110px;
}
.azhp-search__input{
  flex:1;
  border:0;
  outline:none;
  background:transparent;
  padding:0 14px;
  font-size:14px;
  color:#111827;
}
.azhp-search__btn{
  width:48px;height:44px;
  border:0;
  background:transparent;
  cursor:pointer;
  font-size:18px;
  color:#111827;
}
.azhp-search__btn:hover{background:rgba(0,0,0,.04)}

.azhp-actions{display:flex;justify-content:flex-end;gap:12px}
.azhp-iconbtn{
  width:35px;height:35px;
  display:grid;place-items:center;
  /*border:1px solid var(--line);*/
  border-radius:999px;
  background:#fff;
  font-size:18px;
}
.azhp-iconbtn:hover{border-color:rgba(15,107,88,.35)}
.azhp-search__select select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;

  background-image: url("/wp-content/themes/astor/assets/images/down-arrow.png");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 19px 11px;

  padding-right: 36px; /* 给箭头留空间 */
}

.azhp-nav__row{padding:8px 0 12px}
.azhp-nav{
  display:flex;
  gap:34px;
  align-items:center;
  padding-left:240px; /* 让导航视觉上在 logo 右侧对齐（接近截图） */
}
.azhp-nav__link{
  color:#6b7280;
  font-weight:600;
  padding:8px 2px;
  position:relative;
}
.azhp-nav__link.is-active{
  color:var(--green2);
}
.azhp-nav__link.is-active::after{
  content:"";
  position:absolute;
  left:0;right:0;bottom:2px;
  height:2px;background:var(--green);
  border-radius:2px;
}

.azhp-nav__dd{position:relative}
.azhp-nav__caret{font-size:12px;opacity:.8;margin-left:6px}
.azhp-nav__menu{
  position:absolute;
  top:calc(100% + 10px);
  left:0;
  width:190px;
  background:#fff;
  border:1px solid var(--line);
  border-radius:12px;
  padding:10px;
  box-shadow:0 18px 40px rgba(15,23,42,.10);
  display:none;
  z-index:20;
}
.azhp-nav__menu a{
  display:block;
  padding:10px 10px;
  border-radius:10px;
  color:#111827;
  font-weight:600;
}
.azhp-nav__menu a:hover{background:rgba(15,107,88,.08)}
.azhp-nav__dd:hover .azhp-nav__menu{display:block}

/* Hero */
.azhp-hero{padding:12px 0 30px}
.azhp-hero__card{
  position:relative;
  border-radius:0; /* 截图里像是直角更强一点 */
  overflow:hidden;
  border:1px solid var(--line);
}
.azhp-hero__img{
  width:100%;
  /*height:520px;*/
  object-fit:cover;
}
.azhp-hero__overlay{
  position:absolute;
  top: 0;
  bottom: 0;
  left: 7%;
  padding:54px 54px;
  display:flex;
  flex-direction:column;
  justify-content:center;
  color:#fff;
  /*background:linear-gradient(90deg, rgba(0,0,0,.55), rgba(0,0,0,.10));*/
  max-width:72%;
}
.azhp-hero__kicker{
  font-weight:700;
  letter-spacing:.2px;
  opacity:.95;
  margin-bottom:10px;
}
.azhp-hero__title{
  margin:0;
  font-size:56px;
  line-height:1.05;
  letter-spacing:.3px;
}
.azhp-hero__desc{
  margin:14px 0 18px;
  color:rgba(255,255,255,.90);
  font-size:14px;
  max-width:520px;
}
.azhp-hero__btns{display:flex;gap:14px;flex-wrap:wrap}
.azhp-btn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  padding:10px 16px;
  border-radius:999px;
  font-weight:700;
  font-size:14px;
  border:1px solid rgba(255,255,255,.45);
}
.azhp-btn--white{
  background:#fff;
  color:#111827;
  border-color:rgba(0,0,0,.08);
}
.azhp-btn--white:hover{background:#f3f4f6}

.azhp-spacer{height:28px}

/* Responsive（小屏时取消 nav 左 padding） */
@media (max-width: 980px){
  .azhp-header__row{grid-template-columns:1fr;gap:10px}
  .azhp-nav{padding-left:0;flex-wrap:wrap;gap:16px}
  .azhp-actions{justify-content:flex-start}
  .azhp-hero__overlay{max-width:100%;padding:22px}
  .azhp-hero__title{font-size:36px}
  .azhp-hero__img{height:360px}
}
/* ===== Fix WP custom logo ratio ===== */
.azhp-logo .custom-logo-link,
.azhp-logo .custom-logo-link img,
.azhp-logo img.custom-logo,
.custom-logo-link img.custom-logo,
img.custom-logo {
  height: 80px;     /* 你 header 里图标高度，按你想要的改，比如 40/46/52 */
  width: auto !important;
  max-width: none !important;
  display: block;
}

/* 防止主题给 custom-logo-link 写死宽高 */
.custom-logo-link {
  width: auto !important;
  height: auto !important;
  display: inline-flex;
  align-items: center;
}
/* =========================
   Promo 3 Cards
========================= */
.azhp-promo3 {
  padding: 22px 0 10px;
}

.azhp-promo3__title {
  font-size: 22px;
  font-weight: 800;
  color: #111827;
  margin: 0 0 14px;
}

.azhp-promo3__grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.azhp-promo3__card {
  display: block;
  color: inherit;
}

.azhp-promo3__img {
  border: 1px solid var(--line);
  background: #f3f4f6;
  overflow: hidden;
  /* 截图里卡片是直角、边框清晰 */
  border-radius: 0;
}

.azhp-promo3__img img {
  width: 100%;
  height: 360px;
  object-fit: cover;
  display: block;
}

.azhp-promo3__body {
  padding: 10px 0 0;
}

.azhp-promo3__headline {
  font-size: 15px;
  font-weight: 800;
  color: #111827;
  line-height: 1.25;
}

.azhp-promo3__sub {
  margin-top: 4px;
  font-size: 12px;
  color: #9ca3af; /* 类似截图的浅灰链接 */
  font-style: italic;
}

.azhp-promo3__card:hover .azhp-promo3__img {
  border-color: rgba(15, 107, 88, 0.35);
}

/* =========================
   Big Banner
========================= */
.azhp-bannerBig {
  padding: 16px 0 30px;
}

.azhp-bannerBig__card {
  display: block;
  border: 1px solid var(--line);
  border-radius: 0;
  overflow: hidden;
  background: #f3f4f6;
}

.azhp-bannerBig__img {
  width: 100%;
  /*height: 380px;*/
  object-fit: cover;
  display: block;
}

/* =========================
   Responsive
========================= */
@media (max-width: 980px) {
  .azhp-promo3__grid {
    grid-template-columns: 1fr;
  }
  .azhp-promo3__img img {
    /*height: 200px;*/
  }
  .azhp-bannerBig__img {
    /*height: 240px;*/
  }
}
/* =========================
   Countdown + Trending Block
========================= */
.azhp-promoBlock{
  padding: 18px 0 28px;
}

/* ===== Countdown Card ===== */
.azhp-countdownCard{
  background: var(--green2);
  border: 1px solid var(--line);
  padding: 26px 18px 22px;
  text-align: center;
  margin-bottom: 22px;
}

.azhp-countdownTitle__main{
  color:#fff;
  font-size: 28px;
  font-weight: 900;
  line-height: 1.1;
}
.azhp-countdownTitle__sub{
  color:#fff;
  font-size: 20px;
  margin-top: 8px;
  opacity: .95;
}

/* countdown row */
.azhp-countdown{
  margin-top: 18px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 12px;
  flex-wrap: wrap;
}

.azhp-timeBox{
  display:flex;
  flex-direction:column;
  align-items:center;
  gap: 10px;
  min-width: 120px;
}

.azhp-timeNum{
  background:#fff;
  color: var(--green2);
  font-weight: 900;
  font-size: 52px;
  line-height: 1;
  padding: 12px 22px;
  border-radius: 16px;
  min-width: 110px;
  text-align:center;
}

.azhp-timeLabel{
  color:#fff;
  font-size: 18px;
  letter-spacing: .2px;
}

.azhp-timeSep{
  color:#fff;
  font-size: 44px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-8px);
}

/* ===== Trending Head ===== */
.azhp-trendingHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  margin: 6px 0 10px;
}
.azhp-trendingHead__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#111827;
}
.azhp-trendingHead__more{
  font-size: 13px;
  color:#111827;
  text-decoration: underline;
  opacity:.9;
}

/* ===== Trending Wrap ===== */
.azhp-trendingWrap{
  position: relative;
  padding-bottom: 18px; /* 给底部进度条留空间 */
}

/* list */
.azhp-trendingList{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 190px; /* 每个卡片宽度 */
  gap: 22px;
  overflow-x: auto;
  padding: 6px 38px 6px; /* 两侧留空，避免被按钮遮住 */
  scroll-behavior: smooth;
}

/* scrollbar hide (保留底部自定义 bar) */
.azhp-trendingList::-webkit-scrollbar{ height: 0; }
.azhp-trendingList{ scrollbar-width: none; }

/* item */
.azhp-catItem{
  display:block;
  color:inherit;
}
.azhp-catThumb{
  border: 1px solid var(--line);
  background:#f3f4f6;
  overflow:hidden;
}
.azhp-catThumb img{
  width:100%;
  height:120px;
  object-fit:cover;
  display:block;
}
.azhp-catName{
  margin-top: 10px;
  font-size: 16px;
  font-weight: 900;
  line-height: 1.15;
  color:#111827;
  min-height: 46px;
}
.azhp-catLink{
  margin-top: 8px;
  font-size: 12px;
  color:#6b7280;
}
.azhp-dot{ margin-left: 8px; opacity:.7; }

.azhp-catItem:hover .azhp-catThumb{
  border-color: rgba(15, 107, 88, 0.35);
}

/* ===== Nav Buttons ===== */
.azhp-trendingNav{
  position:absolute;
  top: 52px; /* 大概在图片高度中间 */
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size: 18px;
  font-weight: 900;
  z-index: 5;
}
.azhp-trendingNav--left{ left: 6px; }
.azhp-trendingNav--right{ right: 6px; }
.azhp-trendingNav:hover{
  border-color: rgba(15, 107, 88, 0.35);
}

/* ===== Bottom Progress Bar ===== */
.azhp-trendingBar{
  margin-top: 12px;
  padding: 0 38px; /* 与 list 内边距对齐 */
}
.azhp-trendingBar__track{
  height: 3px;
  background: rgba(15, 107, 88, 0.30);
  border-radius: 999px;
  position: relative;
}
.azhp-trendingBar__thumb{
  position:absolute;
  left: 0;
  top: 0;
  height: 3px;
  width: 120px; /* JS 会动态改 */
  background: var(--green2);
  border-radius: 999px;
  transform: translateX(0);
}

/* Responsive */
@media (max-width: 980px){
  .azhp-timeNum{ font-size: 40px; padding: 10px 16px; min-width: 96px; }
  .azhp-timeBox{ min-width: 104px; }
  .azhp-timeLabel{ font-size: 14px; }
  .azhp-timeSep{ font-size: 34px; transform: translateY(-6px); }
  .azhp-trendingList{ grid-auto-columns: 160px; }
}

/* =========================
   Product Overview Hero (BG + Text)
========================= */
.azhp-overviewHero{
  padding: 10px 0 26px;
}

.azhp-overviewHero__card{
  position: relative;
  border: 1px solid var(--line);
  background: #f3f4f6;
  overflow: hidden;
  border-radius: 0; /* 截图偏直角 */
}

/* 背景图 */
.azhp-overviewHero__bg{
  width: 100%;
  /*height: 360px;*/
  object-fit: cover;
  display: block;
  filter: saturate(0.95);
}

/* 叠层：做成“灰到绿”的淡渐变 */
.azhp-overviewHero__overlay{
  position: absolute;
  inset: 0;
  padding: 44px 46px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  color: #fff;
  /*background: linear-gradient(*/
  /*  180deg,*/
  /*  rgba(0,0,0,.26) 0%,*/
  /*  rgba(0,0,0,.12) 45%,*/
  /*  rgba(15,107,88,.25) 100%*/
  /*);*/
}

.azhp-overviewHero__title{
  margin: 0;
  font-size: 56px;
  font-weight: 900;
  letter-spacing: .2px;
}

.azhp-overviewHero__desc{
  margin: 10px 0 16px;
  font-size: 18px;
  color: rgba(255,255,255,.92);
}

.azhp-overviewHero__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: fit-content;
  padding: 10px 18px;
  border-radius: 999px;
  background: #fff;
  color: #111827;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.08);
}
.azhp-overviewHero__btn:hover{
  background: #f3f4f6;
}

/* 右侧品牌区（位置靠右） */
.azhp-overviewHero__brand{
  position: absolute;
  right: 48px;
  top: 50%;
  transform: translateY(-50%);
  text-align: right;
  color: rgba(0,0,0,.65);
  /* 让右侧看起来像截图的“印刷 logo” */
  mix-blend-mode: screen;
}
.azhp-overviewHero__brandTop{
  font-size: 14px;
  margin-bottom: 8px;
  color: rgba(255,255,255,.75);
}
.azhp-overviewHero__brandMain{
  font-size: 52px;
  font-weight: 900;
  letter-spacing: .2px;
  color: rgba(255,255,255,.72);
}

/* =========================
   Key Features Text Block
========================= */
.azhp-keyFeatures{
  padding: 18px 0 34px;
  text-align: center;
}

.azhp-keyFeatures__title{
  margin: 0;
  font-size: 24px;
  font-weight: 900;
  color: #111827;
}

.azhp-keyFeatures__p{
  margin: 10px 0 10px;
  font-size: 14px;
  color: #111827;
  line-height: 1.6;
}

.azhp-keyFeatures__quote{
  margin: 0 0 18px;
  font-size: 14px;
  color: #111827;
  line-height: 1.6;
}

.azhp-keyFeatures__btn{
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green2);
  color: #fff;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.08);
}
.azhp-keyFeatures__btn:hover{
  background: var(--green);
}

/* Responsive */
@media (max-width: 980px){
  /*.azhp-overviewHero__bg{ height: 260px; }*/
  .azhp-overviewHero__overlay{ padding: 22px; }
  .azhp-overviewHero__title{ font-size: 36px; }
  .azhp-overviewHero__desc{ font-size: 14px; }
  .azhp-overviewHero__brand{
    right: 18px;
    opacity: .85;
  }
  .azhp-overviewHero__brandMain{ font-size: 30px; }
}
/* =========================
   Product Detail BG + Hotspots
========================= */
.azhp-prodDetail{
  padding: 10px 0 28px;
}

.azhp-prodDetail__bgCard{
  position: relative;
  border: 0;
  background: #fff;
  overflow: hidden;
}

.azhp-prodDetail__bg{
  width: 100%;
  height: auto;
  display: block;
}

/* Hotspot button */
.azhp-hotspot{
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 999px;
  border: 0;
  background: #0b0b0b;
  cursor: pointer;
  display: grid;
  place-items: center;
  box-shadow: 0 10px 26px rgba(0,0,0,.18);
  transform: translate(-50%, -50%);
}

.azhp-hotspot__plus{
  color: #fff;
  font-size: 22px;
  font-weight: 900;
  line-height: 1;
  transform: translateY(-1px);
}

/* Tooltip (pure CSS) */
.azhp-hotspot--tip::after{
  content: attr(data-tip);
  position: absolute;
  left: 50%;
  top: calc(100% + 10px);
  transform: translateX(-50%);
  background: rgba(17, 24, 39, 0.94);
  color: #fff;
  font-size: 12px;
  line-height: 1.4;
  padding: 10px 12px;
  border-radius: 10px;
  min-width: 220px;
  max-width: 280px;
  white-space: normal;
  opacity: 0;
  pointer-events: none;
  transition: opacity .18s ease, transform .18s ease;
}

.azhp-hotspot--tip::before{
  content:"";
  position:absolute;
  left: 50%;
  top: calc(100% + 4px);
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 7px solid transparent;
  border-right: 7px solid transparent;
  border-bottom: 7px solid rgba(17, 24, 39, 0.94);
  opacity: 0;
  transition: opacity .18s ease;
}

.azhp-hotspot--tip:hover::after,
.azhp-hotspot--tip:focus::after{
  opacity: 1;
  transform: translateX(-50%) translateY(2px);
}
.azhp-hotspot--tip:hover::before,
.azhp-hotspot--tip:focus::before{
  opacity: 1;
}

.azhp-hotspot:focus{
  outline: 3px solid rgba(15,107,88,.35);
  outline-offset: 2px;
}

/* =========================
   Comparison Chart
========================= */
.azhp-compare{
  padding: 10px 0 34px;
}

.azhp-compare__head{
  text-align: center;
  margin: 8px 0 18px;
}

.azhp-compare__title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
}

.azhp-compare__sub{
  margin-top: 6px;
  font-size: 14px;
  color: #111827;
  opacity: .9;
}

/* 3 cols */
.azhp-compare__grid{
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
  align-items: start;
}

.azhp-compareCard{
  text-align: center;
}

.azhp-compareCard__img{
  height: 260px;
  display: grid;
  place-items: center;
}

.azhp-compareCard__img img{
  max-width: 220px;
  max-height: 260px;
  width: auto;
  height: auto;
  display: block;
}

.azhp-compareCard__name{
  font-size: 18px;
  font-weight: 900;
  line-height: 1.2;
  color: #111827;
  margin: 14px auto 18px;
  max-width: 320px;
}

.azhp-compareCard__btn{
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  background: var(--green2);
  color: #fff;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.08);
}
.azhp-compareCard__btn:hover{
  background: var(--green);
}

/* Responsive */
@media (max-width: 980px){
  .azhp-compare__grid{
    grid-template-columns: 1fr;
    gap: 26px;
  }
  .azhp-compareCard__img{
    height: 220px;
  }
  .azhp-compareCard__name{
    font-size: 16px;
  }
  .azhp-hotspot--tip::after{
    min-width: 200px;
    max-width: 240px;
  }
}
/* =========================
   By / Price mini table
========================= */
.azhp-miniTable{
  padding: 8px 0 10px;
}
.azhp-miniTable__wrap{
  border-top: 1px solid rgba(0,0,0,.15);
  border-bottom: 1px solid rgba(0,0,0,.15);
}
.azhp-miniTable__row{
  display:grid;
  grid-template-columns: 90px repeat(3, 1fr);
  gap: 10px;
  padding: 12px 0;
  align-items:center;
}
.azhp-miniTable__row + .azhp-miniTable__row{
  border-top: 1px solid rgba(0,0,0,.15);
}
.azhp-miniTable__label{
  font-weight: 800;
  color:#111827;
}
.azhp-miniTable__cell{
  text-align:left;
  font-weight: 700;
  color:#111827;
}
.azhp-priceNow{ font-weight: 900; }
.azhp-priceOld{
  margin-left: 8px;
  font-size: 12px;
  color:#6b7280;
  text-decoration: line-through;
}

/* =========================
   Green gift bar
========================= */
.azhp-giftBar{
  padding: 10px 0 18px;
}
.azhp-giftBar__inner{
  background: var(--green2);
  color:#fff;
  font-weight: 900;
  font-size: 20px;
  padding: 12px 16px;
  border-radius: 0;
  text-align: center;
}

/* =========================
   Unbeatable products slider
========================= */
.azhp-unbeatable{
  padding: 10px 0 30px;
}

.azhp-unbeatableHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  margin: 8px 0 10px;
}
.azhp-unbeatableHead__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#111827;
}
.azhp-unbeatableHead__more{
  font-size: 13px;
  color:#111827;
  text-decoration: underline;
}

.azhp-unbeatableWrap{
  display:grid;
  grid-template-columns: 240px 1fr;
  gap: 16px;
  align-items: stretch;
}

/* left promo */
.azhp-unbeatablePromo{
  background: var(--green2);
  color:#fff;
  padding: 16px 14px;
  border-radius: 0;
  display:flex;
  flex-direction:column;
  justify-content:space-between;
  min-height: 300px;
}
.azhp-unbeatablePromo__text{
  font-weight: 900;
  font-size: 18px;
  line-height: 1.2;
}
.azhp-unbeatablePromo__btn{
  margin-top: 14px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  background:#fff;
  color:#111827;
  font-weight: 900;
  border-radius: 999px;
  padding: 10px 14px;
  width: fit-content;
  border: 1px solid rgba(0,0,0,.10);
}
.azhp-unbeatablePromo__btn:hover{ background:#f3f4f6; }

/* right slider */
.azhp-unbeatableSlider{
  position: relative;
  overflow: hidden;
}

.azhp-sList{
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: 230px;
  gap: 14px;
  overflow-x: auto;              /* ✅ 滚动条 */
  padding: 0 5px 10px;          /* 给左右按钮留空间 */
  scroll-behavior: smooth;
}

/* 保留滚动条（截图里能看到底部条） */
.azhp-sList::-webkit-scrollbar{
  height: 10px;
}
.azhp-sList::-webkit-scrollbar-track{
  background: rgba(15,107,88,.18);
  border-radius: 999px;
}
.azhp-sList::-webkit-scrollbar-thumb{
  background: var(--green2);
  border-radius: 999px;
}

.azhp-sItem{
  display:block;
  color:inherit;
  border-left: 1px solid rgba(0,0,0,.10);
  padding-left: 12px;
}

.azhp-sThumb{
  border: 1px solid var(--line);
  background:#f3f4f6;
  overflow:hidden;
}
.azhp-sThumb img{
  width:100%;
  height:120px;
  object-fit: cover;
  display:block;
}

.azhp-sBrand{
  margin-top: 10px;
  font-size: 12px;
  color:#6b7280;
}
.azhp-sName{
  margin-top: 6px;
  font-size: 12px;
  color:#111827;
  line-height: 1.35;
  min-height: 54px;
}
.azhp-sPrice{
  margin-top: 10px;
  font-size: 14px;
  font-weight: 900;
  color:#111827;
}
.azhp-sOld{
  margin-left: 8px;
  font-size: 12px;
  color:#6b7280;
  text-decoration: line-through;
}
.azhp-sLine{
  margin: 10px 0 10px;
  height: 2px;
  background: rgba(0,0,0,.12);
}
.azhp-sBtn{
  display:inline-flex;
  align-items:center;
  justify-content:center;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 999px;
  background: var(--green2);
  color:#fff;
  font-weight: 900;
  font-size: 12px;
  border: 1px solid rgba(0,0,0,.08);
}
.azhp-sItem:hover .azhp-sBtn{ background: var(--green); }

/* nav buttons */
.azhp-sNav{
  position:absolute;
  top: 54px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background:#fff;
  cursor:pointer;
  display:grid;
  place-items:center;
  font-size: 18px;
  font-weight: 900;
  z-index: 5;
}
.azhp-sNav--left{ left: 6px; }
.azhp-sNav--right{ right: 6px; }

/* bottom bar (visual only) */
.azhp-sBar{
  padding: 0 34px;
  margin-top: 10px;
}
.azhp-sBar__track{
  height: 3px;
  background: rgba(15,107,88,.25);
  border-radius: 999px;
}
.azhp-sBar__thumb{
  width: 160px;
  height: 3px;
  background: var(--green2);
  border-radius: 999px;
}

/* Responsive */
@media (max-width: 980px){
  .azhp-miniTable__row{ grid-template-columns: 70px 1fr; }
  .azhp-miniTable__cell{ grid-column: 2; }
  .azhp-unbeatableWrap{ grid-template-columns: 1fr; }
  .azhp-unbeatablePromo{ min-height: auto; }
  .azhp-sList{ grid-auto-columns: 200px; }
}
/* =========================
   VIP Procurement block
========================= */
.azhp-vip{
  padding: 10px 0 26px;
}

.azhp-vip__grid{
  display:grid;
  grid-template-columns: 1.1fr .9fr;
  gap: 0;
  border: 1px solid var(--line);
  background:#fff;
}

.azhp-vip__img{
  background:#f3f4f6;
  overflow:hidden;
}
.azhp-vip__img img{
  width:100%;
  height:100%;
  min-height: 320px;
  object-fit: cover;
  display:block;
}

.azhp-vip__text{
  background: var(--green2);
  color:#fff;
  padding: 30px 28px;
  display:flex;
  flex-direction:column;
  justify-content:center;
}

.azhp-vip__title{
  margin:0;
  font-size: 26px;
  line-height: 1.15;
  font-weight: 900;
}

.azhp-vip__p{
  margin: 14px 0 0;
  font-size: 13px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  max-width: 360px;
}

.azhp-vip__btn{
  margin-top: 18px;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background:#fff;
  color:#111827;
  font-weight: 900;
  border: 1px solid rgba(0,0,0,.10);
}
.azhp-vip__btn:hover{ background:#f3f4f6; }

/* =========================
   Services section
========================= */
.azhp-services{
  padding: 8px 0 34px;
}

.azhp-servicesHead{
  display:flex;
  align-items:flex-end;
  justify-content:space-between;
  gap: 10px;
  margin: 10px 0 12px;
}

.azhp-servicesHead__title{
  margin:0;
  font-size: 20px;
  font-weight: 900;
  color:#111827;
}

.azhp-servicesHead__more{
  font-size: 13px;
  color:#111827;
  text-decoration: underline;
}

.azhp-servicesGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.azhp-serviceCard{
  border: 1px solid var(--line);
  background:#fff;
  overflow:hidden;
  border-radius: 0;
  display:flex;
  flex-direction:column;
  min-height: 430px;
}

.azhp-serviceCard__img{
  background:#f3f4f6;
  border-bottom: 1px solid var(--line);
}
.azhp-serviceCard__img img{
  width:100%;
  height: 370px;
  object-fit: cover;
  display:block;
}

/* 绿色底部文字区 */
.azhp-serviceCard__body{
  background: var(--green2);
  color:#fff;
  padding: 16px 16px 18px;
  display:flex;
  flex-direction:column;
  gap: 10px;
  flex:1;
}

.azhp-serviceCard__title{
  font-size: 18px;
  font-weight: 900;
  margin-top: 2px;
}

.azhp-serviceCard__desc{
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
}

.azhp-serviceCard__contact{
  font-size: 12px;
  color: rgba(255,255,255,.90);
}

.azhp-serviceCard__btn{
  margin-top: auto;
  display:inline-flex;
  align-items:center;
  gap: 8px;
  width: fit-content;
  padding: 10px 16px;
  border-radius: 999px;
  background:#fff;
  color:#111827;
  font-weight: 900;
  font-size: 13px;
  border: 1px solid rgba(0,0,0,.10);
}
.azhp-serviceCard__btn:hover{ background:#f3f4f6; }

/* Responsive */
@media (max-width: 980px){
  .azhp-vip__grid{
    grid-template-columns: 1fr;
  }
  .azhp-vip__img img{
    min-height: 220px;
  }
  .azhp-servicesGrid{
    grid-template-columns: 1fr;
  }
}
/* =========================
   Showcase of Researcher Photos
========================= */
.azhp-showcase{
  padding: 12px 0 44px;
  text-align: center;
}

.azhp-showcase__title{
  margin: 0;
  font-size: 22px;
  font-weight: 900;
  color: #111827;
}

.azhp-showcase__sub{
  margin: 10px auto 16px;
  max-width: 720px;
  font-size: 13px;
  line-height: 1.6;
  color: #111827;
  opacity: .9;
}

/* big gray placeholder */
.azhp-showcase__media{
  height: 360px;
  background: #bfbfbf;
  display: grid;
  place-items: center;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.10);
}

.azhp-showcase__plus{
  width: 180px;
  height: 180px;
  background: rgba(0,0,0,.10);
  display: grid;
  place-items: center;
  font-size: 110px;
  font-weight: 900;
  color: rgba(0,0,0,.18);
}

/* =========================
   Blog Posts
========================= */
.azhp-blog{
  padding: 0px 0 50px;
}

.azhp-blogHead{
  display:block;
    text-align: center;
  margin-bottom: 14px;
}

.azhp-blogHead__title{
  margin:0;
  font-size: 22px;
  font-weight: 900;
  color:#111827;
}

.azhp-blogHead__more{
  font-size: 13px;
  color:#111827;
  text-decoration: underline;
}

.azhp-blogGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
}

/* post card (no border in screenshot, clean) */
.azhp-postCard{
  position: relative;
  padding-bottom: 56px; /* leave space for arrow */
}

.azhp-postCard__title{
  margin: 0 0 12px;
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  color:#111827;
}
.azhp-postCard__title a{ color: inherit; }
.azhp-postCard__title a:hover{ text-decoration: underline; }

.azhp-postCard__excerpt{
  margin: 0;
  font-size: 12px;
  line-height: 1.7;
  color:#111827;
  opacity: .85;
}

/* circular arrow button */
.azhp-postCard__go{
  position:absolute;
  left: 0;
  bottom: 0;
  width: 44px;
  height: 44px;
  border-radius: 999px;
  background: #0b0b0b;
  display:grid;
  place-items:center;
  border: 0;
}

.azhp-postCard__arrow{
  color:#fff;
  font-size: 22px;
  font-weight: 900;
  transform: translateX(1px);
}

.azhp-postCard__go:hover{
  background: var(--green2);
}

/* Responsive */
@media (max-width: 980px){
  .azhp-showcase__media{ height: 240px; }
  .azhp-showcase__plus{
    width: 120px;
    height: 120px;
    font-size: 72px;
  }
  .azhp-blogGrid{
    grid-template-columns: 1fr;
    gap: 22px;
  }
}
/* =========================
   Featured Stories
========================= */
.azhp-stories{
  padding: 12px 0 30px;
}
.azhp-stories__title{
  margin: 0 0 12px;
  font-size: 18px;
  font-weight: 900;
  color:#111827;
}
.azhp-storiesGrid{
  display:grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
}

.azhp-storyCard{
  position: relative;
  display:block;
  overflow:hidden;
  border-radius: 0;
  border: 1px solid rgba(0,0,0,.10);
  background:#000;
}
.azhp-storyCard__img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
  opacity: .92;
}
.azhp-storyCard__overlay{
  position:absolute;
  left: 0;
  right: 0;
  bottom: 0;
  padding: 10px 12px;
  background: linear-gradient(180deg, rgba(0,0,0,0) 0%, rgba(0,0,0,.55) 60%, rgba(0,0,0,.78) 100%);
  color:#fff;
}
.azhp-storyCard__headline{
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
}
.azhp-storyCard__btn{
  display:inline-block;
  margin-top: 8px;
  padding: 12px;
  border-radius: 999px;
  background:#fff;
  color:#111827;
  font-weight: 900;
  font-size: 11px;
}
.azhp-storyCard:hover .azhp-storyCard__img{ opacity: 1; }

/* =========================
   Reviews
========================= */
.azhp-reviews{
  padding: 14px 0 26px;
  text-align: center;
}
.azhp-reviews__title{
  margin: 0 0 10px;
  font-size: 18px;
  font-weight: 900;
  color:#111827;
}
.azhp-reviews__quoteMark{
  font-size: 52px;
  line-height: 1;
  color: rgba(0,0,0,.18);
  font-weight: 900;
  margin-top: 6px;
}
.azhp-reviews__text{
  margin: 10px auto 14px !important;
  font-size: 13px;
  line-height: 1.6;
  color:#111827;
  max-width: 520px;
}
.azhp-reviews__stars{
  display:flex;
  justify-content:center;
  gap: 6px;
  font-size: 16px;
  color:#111827;
}
.azhp-reviews__name{
  margin-top: 16px;
  font-size: 14px;
  font-weight: 800;
  color:#111827;
}
.azhp-reviews__pager{
  margin-top: 10px;
  display:flex;
  align-items:center;
  justify-content:center;
  gap: 10px;
  color:#111827;
}
.azhp-reviews__nav{
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.18);
  background:#fff;
  cursor:pointer;
  font-weight: 900;
}
.azhp-reviews__count{
  font-size: 12px;
  opacity: .9;
}

/* =========================
   Green Service Bar
========================= */
.azhp-serviceBar{
  padding: 10px 0 0;
}
.azhp-serviceBar__row{
  background: var(--green2);
  color:#fff;
  display:grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0;
  border-radius: 0;
  padding: 12px 10px;
}

.azhp-serviceBar__item{
  display:flex;
  gap: 10px;
  align-items:flex-start;
  padding: 6px 10px;
  border-right: 1px solid rgba(255,255,255,.25);
}
.azhp-serviceBar__item:last-child{ border-right: 0; }

.azhp-serviceBar__icon{
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: rgba(255,255,255,.12);
  display:grid;
  place-items:center;
  font-size: 18px;
}

.azhp-serviceBar__h{
  font-size: 12px;
  font-weight: 900;
  line-height: 1.2;
}
.azhp-serviceBar__d{
  margin-top: 4px;
  font-size: 11px;
  color: rgba(255,255,255,.85);
  line-height: 1.35;
}

/* =========================
   Back to top
========================= */
.azhp-backTop{
  padding: 18px 0 6px;
  text-align:center;
}
.azhp-backTop__link{
  font-size: 16px;
  font-weight: 900;
  color:#111827;
  text-decoration: none;
}
.azhp-backTop__link:hover{
  text-decoration: underline;
}

/* Responsive */
@media (max-width: 980px){
  .azhp-storiesGrid{ grid-template-columns: 1fr; }
  .azhp-storyCard{ height: 190px; }
  .azhp-serviceBar__row{ grid-template-columns: 1fr; }
  .azhp-serviceBar__item{ border-right: 0;  }
  .azhp-serviceBar__item:first-child{ border-top: 0; }
}
/* =========================
   Footer
========================= */
.azhp-footer{
  background: var(--green2);
  color: #fff;
  padding: 26px 0 30px;
}

.azhp-footer__grid{
  display: grid;
  grid-template-columns: 1.4fr .9fr .9fr;
  gap: 40px;
  align-items: start;
}

/* brand */
.azhp-footer__logo{
  display: inline-flex;
  align-items: center;
  gap: 12px;
  color: #fff;
}
.azhp-footer__logoText b{
  font-size: 18px;
  letter-spacing: .2px;
}
.azhp-footer__logoMark{
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.azhp-footer__headline{
  margin-top: 14px;
  font-size: 18px;
  font-weight: 900;
}

.azhp-footer__desc{
  margin-top: 10px;
  font-size: 14px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  max-width: 420px;
}

.azhp-footer__about{
  display: inline-block;
  margin-top: 10px;
  font-size: 15px;
  font-weight: 800;
  color: rgba(255,255,255,.92);
  text-decoration: underline;
}

/* links/news title */
.azhp-footer__title{
  font-size: 18px;
  font-weight: 900;
  margin-bottom: 12px;
}

/* links list */
.azhp-footer__link{
  display: block;
  font-size: 15px;
  color: rgba(255,255,255,.88);
  margin: 9px 0;
}
.azhp-footer__link:hover{
  color: #fff;
  text-decoration: underline;
}

/* newsletter */
.azhp-footer__desc2{
  font-size: 12px;
  line-height: 1.6;
  color: rgba(255,255,255,.88);
  margin-bottom: 12px;
}

.azhp-footer__form{
  display: flex;
  align-items: center;
  gap: 10px;
}

.azhp-footer__input{
  flex: 1;
  height: 36px;
  border-radius: 999px;
  border: 0;
  outline: none;
  padding: 0 14px;
  background: #fff;
  color: #111827;
  font-size: 12px;
}

.azhp-footer__btn{
  width: 38px;
  height: 36px;
  border-radius: 999px;
  border: 0;
  cursor: pointer;
  background: #fff;
  color: #111827;
  font-weight: 900;
  display: grid;
  place-items: center;
}
.azhp-footer__btn:hover{
  background: #f3f4f6;
}

/* Responsive */
@media (max-width: 980px){
  .azhp-footer__grid{
    grid-template-columns: 1fr;
    gap: 18px;
  }
  .azhp-footer__desc{
    max-width: none;
  }
}
/* =========================
   Responsive: Mobile
   PC 不变，<= 768 启用
========================= */
.azhp-mHeader,
.azhp-mDrawer,
.azhp-mOverlay { display:none; }

@media (max-width: 768px){
    
    .azhp-mLogo img.custom-logo{
        height: 48px;
    }

  .azhp-container{width:min(var(--container),calc(100% - 20px));margin:0 auto;}


  /* 顶部 topbar 简化 */
  .azhp-topbar{ font-size: 12px; }
  .azhp-topbar__left{ text-align:center; width:100%; }

  /* 隐藏 PC Header 结构（不改 PC 代码，只在手机隐藏） */
  .azhp-header .azhp-header__row{ display:none !important; }
  .azhp-header .azhp-nav__row{ display:none !important; }

  /* 显示移动 Header */
  .azhp-mHeader{ display:block; }
  .azhp-mHeader__row{
    display:flex;
    align-items:center;
    justify-content:space-between;
    gap: 12px;
    padding: 10px 0;
  }
  .azhp-mHeader__row2{ padding: 0 0 10px; }

  /* 汉堡按钮 */
  .azhp-mBtn{
    width: 42px; height: 42px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background: #fff;
    display:flex; flex-direction:column;
    align-items:center; justify-content:center;
    gap: 5px;
  }
  .azhp-mBtn span{
    display:block;
    width: 18px; height: 2px;
    background: #0f6b58;
    border-radius: 2px;
  }

  /* Logo 居中视觉 */
  .azhp-mLogo{ flex: 1; display:flex; justify-content:center; }
  .azhp-mLogo__link{ display:flex; align-items:center; justify-content:center; }
  .azhp-mLogo__text{ font-weight: 700; color:#0f6b58; }

  /* 右侧 icon */
  .azhp-mActions{ display:flex; gap:10px; }
  .azhp-iconimg{ width: 33px; height: 33px; display:block; }

  /* 搜索在手机缩紧 */
  .azhp-search__form--mobile{
    display:flex;
    align-items:center;
    gap: 8px;
    width: 100%;
  }
  .azhp-search__select--mobile{
    flex: 0 0 110px;
  }
  .azhp-search__input{
    flex: 1;
    min-width: 0;
  }
  .azhp-search__btn{
    flex: 0 0 auto;
  }

  /* 抽屉 + 遮罩 */
  .azhp-mOverlay{
    display:block;
    position:fixed;
    inset:0;
    /*background: rgba(0,0,0,.35);*/
    z-index: 9998;
  }
  .azhp-mDrawer{
    display:block;
    position:fixed;
    top:0; left:0;
    width: 82vw;
    max-width: 320px;
    height: 100vh;
    background:#fff;
    z-index: 9999;
    transform: translateX(-105%);
    transition: transform .22s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,.18);
  }
  body.azhp-mOpen .azhp-mDrawer{ transform: translateX(0); }

  .azhp-mDrawer__head{
    display:flex;
    align-items:center;
    justify-content:space-between;
    padding: 14px 14px;
    border-bottom: 1px solid rgba(0,0,0,.08);
  }
  .azhp-mDrawer__title{ font-weight: 700; }
  .azhp-mDrawer__close{
    width: 40px; height: 40px;
    border: 1px solid rgba(0,0,0,.12);
    border-radius: 10px;
    background:#fff;
    font-size: 22px;
    line-height: 1;
  }
  .azhp-mDrawer__nav{ padding: 10px 14px 20px; }

  /* wp_nav_menu 输出的 ul/li 基础样式 */
  .azhp-mMenu{ list-style:none; padding:0; margin:0; }
  .azhp-mMenu li{ margin:0; padding:0; }
  .azhp-mMenu a{
    display:block;
    padding: 10px 0;
    border-bottom: 1px solid rgba(0,0,0,.06);
    color:#0b4e40;
    text-decoration:none;
  }
  .azhp-mMenu .sub-menu{
    list-style:none;
    padding-left: 14px;
    margin: 0;
  }
  
  .azhp-prodDetail__bgCard{
    overflow: visible; /* 🔥 关键 */
  }
  /* ===== Hotspot tooltip base ===== */
    .azhp-hotspot{
      position: absolute;
    }
    
    /* tooltip 本体 */
    .azhp-hotspot--tip::after{
      content: attr(data-tip);
      position: absolute;
      left: 50%;
      top: calc(100% + 10px);      /* 在按钮下方 */
      transform: translateX(-50%);
      
      max-width: 240px;            /* ✅ 防止过宽 */
      width: max-content;
      padding: 10px 12px;
    
      background: rgba(0,0,0,0.85);
      color: #fff;
      font-size: 13px;
      line-height: 1.45;
      border-radius: 8px;
      white-space: normal;
      text-align: left;
    
      opacity: 0;
      pointer-events: none;
      z-index: 10000;
    
      transition: opacity .2s ease, transform .2s ease;
    }
    
    /* 小箭头（可选） */
    .azhp-hotspot--tip::before{
      content: "";
      position: absolute;
      left: 50%;
      top: 100%;
      transform: translateX(-50%);
      border: 6px solid transparent;
      border-bottom-color: rgba(0,0,0,0.85);
      opacity: 0;
      z-index: 10001;
    }
    
    /* hover / focus / active */
    .azhp-hotspot--tip:hover::after,
    .azhp-hotspot--tip:focus::after,
    .azhp-hotspot--tip:active::after{
      opacity: 1;
    }
    
    .azhp-hotspot--tip:hover::before,
    .azhp-hotspot--tip:focus::before,
    .azhp-hotspot--tip:active::before{
      opacity: 1;
    }


  /* ===== 页面模块：移动端单列化（不破坏 PC） ===== */
  .azhp-hero__overlay{
    max-width: 100% !important;
    padding: 18px 18px !important;
  }
  .azhp-hero__title{ font-size: 30px; }
  .azhp-hero__desc{ font-size: 14px; }
  .azhp-hero__btns{ flex-wrap: wrap; gap:10px; }

  /* promo3 三卡：手机一列 */
  .azhp-promo3__grid{ grid-template-columns: 1fr !important; }

  /* trending / slider: 按你现有横滑保持，但卡片缩小更舒服 */
  .azhp-catItem{ min-width: 220px; }

  /* overview hero / keyFeatures 等：居中并压缩间距 */
  .azhp-overviewHero__overlay{ padding: 16px !important; }
  .azhp-keyFeatures{ text-align:center; }
  .azhp-keyFeatures__btn{ margin-left:auto; margin-right:auto; display:inline-flex; }

  /* compare 三卡：手机一列；价格表也堆叠 */
  .azhp-compare__grid{ grid-template-columns: 1fr !important; }
  .azhp-miniTable__row{ grid-template-columns: 1fr !important; }

  /* 右侧多列区域：统一变单列 */
  .azhp-unbeatableWrap,
  .azhp-vip__grid,
  .azhp-servicesGrid,
  .azhp-storiesGrid,
  .azhp-serviceBar__row{
    grid-template-columns: 1fr !important;
  }

  /* 让 section 之间更紧凑（可按你设计图微调） */
  .azhp section{ padding-top: 22px; padding-bottom: 22px; }
  
  
}
/* 手机端：Promo3 只显示前2个 */
/* 手机端：Promo3 一行 2 个，只显示前 2 个 */
@media (max-width: 768px){
  .azhp-promo3__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
  }

  /* 隐藏第 3 个及以后 */
  .azhp-promo3__grid .azhp-promo3__card:nth-child(n+3){
    display: none !important;
  }

  /* 防止图片/内容撑破 */
  .azhp-promo3__card{
    min-width: 0;
  }

  .azhp-promo3__img img{
    width: 100%;
    height: auto;
    display: block;
  }

  /* 文案在手机端稍微紧凑一点（可选） */
  .azhp-promo3__headline{
    font-size: 14px;
    line-height: 1.3;
  }
  .azhp-promo3__sub{
    font-size: 12px;
  }
}
/* 手机端：倒计时强制一行显示 */
@media (max-width: 768px){
  .azhp-countdown{
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;       /* 关键：禁止换行 */
    gap: 6px;                /* 缩小间距 */
  }

  .azhp-timeBox{
    min-width: 0;
    padding: 6px 6px;        /* 压缩盒子 */
  }

  .azhp-timeNum{
    font-size: 18px;         /* 原来一般 24~28，手机端必须降 */
    line-height: 1.1;
    font-weight: 700;
    min-width: 80px;
  }

  .azhp-timeLabel{
    font-size: 10px;
    line-height: 1;
    margin-top: 2px;
    white-space: nowrap;
  }

  .azhp-timeSep{
    font-size: 16px;
    margin: 0 2px;
    line-height: 1;
  }

  /* 标题也稍微压一压，避免把空间挤没 */
  .azhp-countdownTitle__main{
    font-size: 14px;
  }
  .azhp-countdownTitle__sub{
    font-size: 12px;
  }
  .azhp-unbeatableHead__title{
      font-size:20px;
  }
}

/* ===============================
   Mobile: Compare Section
   2 cards in one row + table aligned
================================ */
@media (max-width: 768px){

  /* ===== 上面产品卡片 ===== */
  .azhp-compare__grid{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important; /* 一行2个 */
    gap: 12px;
  }

  /* 只显示前2个产品 */
  .azhp-compare__grid .azhp-compareCard:nth-child(n+3){
    display: none !important;
  }

  .azhp-compareCard{
    min-width: 0;
  }

  .azhp-compareCard__name{
    font-size: 13px;
    line-height: 1.3;
  }

  /* ===== 下面价格 / 分类表格 ===== */
  .azhp-miniTable__wrap{
    margin-top: 12px;
  }

  /* 核心：和上面 grid 一样的列结构 */
  .azhp-miniTable__row{
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
    gap: 12px;
    align-items: center;
  }

  /* 隐藏第3列及以后（和上面对齐） */
  .azhp-miniTable__row .azhp-miniTable__cell:nth-child(n+3){
    display: none !important;
  }

  /* label 单独占一行 */
  .azhp-miniTable__label{
    grid-column: 1 / -1;
    font-size: 12px;
    margin-bottom: 4px;
    text-align: left;
  }

  .azhp-miniTable__cell{
    text-align: center;
    min-width: 0;
  }

  .azhp-priceNow{
    font-size: 14px;
    font-weight: 700;
  }

  .azhp-priceOld{
    font-size: 12px;
    margin-left: 4px;
  }
  .azhp-unbeatablePromo__text{
      text-align: center;
  }
  .azhp-unbeatablePromo__btn{
      margin: 0 auto;
    margin-top: 10px;
  }
}
/* ===============================
   Mobile: Services 横向滚动
================================ */
@media (max-width: 768px){

  .azhp-servicesGrid{
    display: flex;                 /* 改为横向排列 */
    gap: 14px;
    overflow-x: auto;              /* 横向滚动 */
    overflow-y: hidden;
    scroll-snap-type: x mandatory; /* 滑动吸附 */
    -webkit-overflow-scrolling: touch;
    padding-bottom: 8px;
  }

  /* 每个卡片固定宽度，一行显示 */
  .azhp-serviceCard{
    flex: 0 0 78%;                  /* 每张卡片占屏幕约 78% */
    max-width: 78%;
    scroll-snap-align: start;
  }

  /* 可选：隐藏滚动条（不影响滚动） */
  .azhp-servicesGrid::-webkit-scrollbar{
    display: none;
  }
  .azhp-servicesGrid{
    scrollbar-width: none; /* Firefox */
  }

}
/* serviceBar wrap 默认不影响PC */
.azhp-serviceBar__wrap{
  position: relative;
}

.azhp-sbNav{
  display: none; /* PC隐藏，手机显示 */
}

/* 手机端：一行横滑 + 左右箭头 */
@media (max-width: 768px){

  .azhp-serviceBar__wrap{
    padding: 0 38px; /* 给左右箭头留空间 */
  }

  .azhp-serviceBar__row{
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overflow-y: hidden;
    scroll-snap-type: x mandatory; /* 一条一条吸附 */
    -webkit-overflow-scrolling: touch;
    scroll-behavior: smooth;
    scrollbar-width: none;
  }
  .azhp-serviceBar__row::-webkit-scrollbar{ display:none; }

  /* 每条占满一屏（你要“下一条”效果就用100%） */
  .azhp-serviceBar__item{
    flex: 0 0 100%;
    scroll-snap-align: start;
  }

  /* 箭头按钮 */
  .azhp-sbNav{
    display: flex;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 32px;
    height: 32px;
    border-radius: 999px;
    border: 1px solid rgba(0,0,0,.12);
    background: #fff;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    line-height: 1;
    z-index: 5;
    box-shadow: 0 6px 16px rgba(0,0,0,.12);
    cursor: pointer;
  }
  .azhp-sbNav--left{ left: 6px; }
  .azhp-sbNav--right{ right: 6px; }

  /* 可选：按下反馈 */
  .azhp-sbNav:active{
    transform: translateY(-50%) scale(.98);
  }
}

.wp-block-woocommerce-cart{
    max-width: 1200px;
    margin: 0 auto;
}
.wc-block-components-button{
    background: #0b4e40;
    color: #FFF;
    border-radius: 10px;
    width: 90%;
    margin: 0 auto;
}
.wc-block-cart__submit-container{
    text-align: center;
}
.site-main{
    max-width: 1318px;
    margin: 0 auto;
}

/*删除shop页面无用东西*/
.page-id-864 #sidebar{
    display: none !important;
}

/*设置single 底部间距*/
.single-post{
    margin-bottom: 20px;
    min-height: 600px;
}
.single-post .entry-header h1{
    text-align: center;
    padding:30px 0;
}

/* ===== Service Cards: Mobile Fix ===== */
@media (max-width: 768px){

  .azhp-servicesGrid{
    gap: 12px; /* 卡片间距小点 */
  }

  .azhp-serviceCard{
    border-radius: 14px;
    overflow: hidden;
  }

  /* 图片区域：降低高度 */
  .azhp-serviceCard__img{
    height: 160px;           /* ✅ 你可以改 140~200 */
    background: #f6f6f6;
    display:flex;
    align-items:center;
    justify-content:center;
  }

  /* 图片：完整显示，不裁切 */
  .azhp-serviceCard__img img{
    width: 100%;
    height: 100%;
    object-fit: contain;     /* ✅ 显示全图 */
    object-position: center;
    display:block;
  }

  /* 内容区：缩小内边距 */
  .azhp-serviceCard__body{
    padding: 12px 12px 14px;
  }

  .azhp-serviceCard__title{
    font-size: 16px;
    line-height: 1.25;
    margin-bottom: 8px;
  }

  /* 描述：限制行数，防止卡片过高 */
  .azhp-serviceCard__desc{
    font-size: 13px;
    line-height: 1.45;
    margin-bottom: 10px;

    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;  /* ✅ 最多3行 */
    overflow: hidden;
  }

  .azhp-serviceCard__contact{
    font-size: 12px;
    line-height: 1.3;
    margin-bottom: 10px;
  }

  .azhp-serviceCard__btn{
    padding: 10px 12px;
    font-size: 13px;
    border-radius: 999px;
  }
  .pdc-relatedTrack{
      display: block !important;
  }
  .pdc-relatedTrack .pdc-card{
      max-width: none !important;
      margin-bottom: 10px;
  }
  .page-id-7 .entry-content{
      padding: 0 15px;
  }
  .page-id-8 .entry-content{
      padding: 0 15px;
  }
}
.archive #sidebar{
    display: none;
}
.archive .site-main{
    padding: 20px;
}
.azhp-iconbtn{
  position: relative;
}

.azhp-cartCount{
  position: absolute;
  top: -4px;
  right: -6px;

  min-width: 18px;
  height: 18px;
  padding: 0 5px;

  background: #d6001c;
  color: #fff;

  font-size: 12px;
  font-weight: 800;
  line-height: 18px;
  text-align: center;

  border-radius: 999px;
  box-shadow: 0 2px 6px rgba(0,0,0,.25);

  pointer-events: none;
}

/* 数量为 0 时隐藏 */
.azhp-cartCount:empty,
.azhp-cartCount[data-count="0"]{
  display: none;
}

/* overlay */
.azhp-miniCartOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

/* drawer */
.azhp-miniCart{
  position: fixed;
  top: 0;
  right: 0;
  height: 100%;
  width: min(92vw, 380px);
  background: #fff;
  z-index: 9999;
  transform: translateX(105%);
  transition: transform .28s ease;
  display: flex;
  flex-direction: column;
  box-shadow: -12px 0 30px rgba(0,0,0,.18);
}

.azhp-miniCart.is-open{
  transform: translateX(0);
}

.azhp-miniCart__head{
  height: 56px;
  padding: 0 14px;
  border-bottom: 1px solid #eee;
  display:flex;
  align-items:center;
  justify-content:space-between;
}
.azhp-miniCart__title{font-weight:900;font-size:16px;color:#111;}
.azhp-miniCart__close{
  border:0;background:transparent;cursor:pointer;
  width:40px;height:40px;font-size:18px;
}

.azhp-miniCart__body{
  padding: 14px;
  overflow: auto;
  flex: 1 1 auto;
}

.azhp-miniCart__foot{
  padding: 12px 14px 16px;
  border-top: 1px solid #eee;
  display:flex;
  gap: 10px;
}
.azhp-miniCart__btn{
  flex: 1 1 50%;
  height: 44px;
  border-radius: 999px;
  background: #111;
  color: #fff;
  font-weight: 800;
  display:flex;
  align-items:center;
  justify-content:center;
  text-decoration:none;
}
.azhp-miniCart__btn.ghost{
  background:#fff;
  color:#111;
  border:1px solid #ddd;
}

/* 防止内容过宽撑开页面（你之前有横向滚动条，这个也能兜底） */
.azhp-miniCart, .azhp-miniCart *{
  max-width: 100%;
  box-sizing: border-box;
}
/* =========================
   Mini Cart Drawer (Astor)
   ids: #azhpMiniCart, #azhpMiniCartOverlay
========================= */

/* 遮罩 */
#azhpMiniCartOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 9998;
}

/* 抽屉主体 */
#azhpMiniCart{
  position: fixed;
  top: 0;
  right: 0;
  height: 100vh;
  width: min(420px, 92vw);
  background: #fff;
  z-index: 9999;
  transform: translateX(100%);
  transition: transform .25s ease;
  box-shadow: -12px 0 30px rgba(0,0,0,.18);
  display: flex;
  flex-direction: column;
  border-radius: 18px 0 0 18px;
  overflow: hidden;
}

/* 打开状态 */
#azhpMiniCart.is-open{
  transform: translateX(0);
}

/* 头部 */
#azhpMiniCart .azhp-miniCart__header{
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  border-bottom: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

#azhpMiniCart .azhp-miniCart__title{
  font-size: 18px;
  font-weight: 900;
  color: #111;
  letter-spacing: .01em;
}

#azhpMiniCartClose{
  width: 40px;
  height: 40px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  line-height: 1;
}
#azhpMiniCartClose:hover{
  background: rgba(0,0,0,.05);
}

/* 内容滚动区 */
#azhpMiniCart .azhp-miniCart__body{
  padding: 14px 14px 0;
  overflow: auto;
  flex: 1 1 auto;
}

/* 底部（总计 + 按钮） */
#azhpMiniCart .azhp-miniCart__footer{
  padding: 12px 14px 14px;
  border-top: 1px solid rgba(0,0,0,.08);
  background: #fff;
}

/* Woo mini cart list */
#azhpMiniCart ul.woocommerce-mini-cart{
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

/* 单个 item */
#azhpMiniCart li.woocommerce-mini-cart-item{
  /*display: grid;*/
  grid-template-columns: 72px 1fr;
  gap: 12px;
  padding: 30px;
  /*border: 1px solid rgba(0,0,0,.08);*/
  border-radius: 14px;
  background: #fff;
}

/* 图片 */
#azhpMiniCart li.woocommerce-mini-cart-item a{
  color: inherit;
  text-decoration: none;
}
#azhpMiniCart li.woocommerce-mini-cart-item img{
  width: 72px !important;
  height: 72px !important;
  object-fit: cover;
  border-radius: 12px;
  background: #f4f4f4;
}

/* 右侧信息区（Woo 默认没有包裹，我们用选择器处理） */
#azhpMiniCart li.woocommerce-mini-cart-item .quantity{
  display: block;
  margin-top: 6px;
  color: #444;
  font-size: 13px;
  font-weight: 700;
}

/* 商品名（Woo 会把名字做成链接） */
#azhpMiniCart li.woocommerce-mini-cart-item a:not(.remove){
  font-weight: 900;
  color: #111;
  font-size: 14px;
  line-height: 1.35;
  display: inline-block;
}

/* 价格样式 */
#azhpMiniCart .woocommerce-Price-amount{
  font-weight: 900;
  color: #111;
}
#azhpMiniCart del{
  opacity: .55;
  font-weight: 700;
}
#azhpMiniCart ins{
  text-decoration: none;
}

/* remove 按钮（Woo 生成的是 a.remove） */
#azhpMiniCart a.remove{
  position: absolute;
  right: 12px;
  top: 10px;
  width: 28px;
  height: 28px;
  border-radius: 999px;
  border: 1px solid rgba(0,0,0,.10);
  background: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
  line-height: 1;
  color: #111 !important;
  text-decoration: none;
}
#azhpMiniCart li.woocommerce-mini-cart-item{
  position: relative;
}
#azhpMiniCart a.remove:hover{
  background: rgba(0,0,0,.06);
}

/* empty cart */
#azhpMiniCart .woocommerce-mini-cart__empty-message{
  padding: 18px 12px;
  border: 1px dashed rgba(0,0,0,.18);
  border-radius: 14px;
  color: #555;
  text-align: center;
  font-weight: 700;
}

/* 总计 */
#azhpMiniCart .woocommerce-mini-cart__total{
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin: 0 0 12px;
  padding: 12px 12px;
  border-radius: 14px;
  background: #f6f6f6;
  font-weight: 900;
  color: #111;
}
#azhpMiniCart .woocommerce-mini-cart__total strong{
  font-weight: 900;
}
#azhpMiniCart .woocommerce-mini-cart__total .woocommerce-Price-amount{
  font-size: 16px;
}

/* 按钮区 */
#azhpMiniCart .woocommerce-mini-cart__buttons{
  display: grid;
  gap: 10px;
  margin: 0;
}

/* Woo 按钮统一变成大圆角 */
#azhpMiniCart .woocommerce-mini-cart__buttons a.button{
  height: 46px;
  border-radius: 999px !important;
  display: inline-flex !important;
  align-items: center;
  justify-content: center;
  font-weight: 900 !important;
  text-decoration: none !important;
  border: 1px solid rgba(0,0,0,.12) !important;
}

/* view cart */
#azhpMiniCart .woocommerce-mini-cart__buttons a.button.wc-forward{
  background: #0b4e40 !important;
    color: #FFF !important;
    width: 80%;
    margin: 0 auto;
}
}

/* checkout */
#azhpMiniCart .woocommerce-mini-cart__buttons a.checkout{
  background: #111 !important;
  color: #fff !important;
  border-color: #111 !important;
}

/* 手机上更舒服 */
@media (max-width: 520px){
  #azhpMiniCart{
    width: 94vw;
    border-radius: 18px 0 0 18px;
  }
  #azhpMiniCart li.woocommerce-mini-cart-item{
    grid-template-columns: 64px 1fr;
  }
  #azhpMiniCart li.woocommerce-mini-cart-item img{
    width: 64px !important;
    height: 64px !important;
  }
  
}
/* overlay */
.azhp-mOverlay{
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,.45);
  z-index: 99998;
}

/* drawer */
.azhp-mDrawer{
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: min(86vw, 360px);
  background: #fff;
  z-index: 99999;
  transform: translateX(-105%);
  transition: transform .25s ease;
  box-shadow: 10px 0 30px rgba(0,0,0,.15);
}

.azhp-mDrawer.is-open{
  transform: translateX(0);
}
/* 强制所有 hidden 都隐藏（防止主题把 hidden 覆盖） */
[hidden] { display: none !important; }

/* 或者只针对你的 overlay */
#azhpMobileOverlay[hidden] { display: none !important; }

/* =========================
   Footer Mobile Layout
========================= */
@media (max-width: 768px){

  /* 1️⃣ 整体 grid 改为两行结构 */
  .azhp-footer__grid{
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-areas:
      "brand brand"
      "links news";
    gap: 24px 16px;
  }

  /* 2️⃣ 指定区域 */
  .azhp-footer__brand{
    grid-area: brand;
  }
  .azhp-footer__links{
    grid-area: links;
  }
  .azhp-footer__news{
    grid-area: news;
  }

  /* 3️⃣ Links / Newsletter 字体稍微紧凑一点 */
  .azhp-footer__title{
    font-size: 15px;
  }
  .azhp-footer__link,
  .azhp-footer__desc2{
    font-size: 13px;
  }

  /* 4️⃣ Newsletter 输入框更适合手机 */
  .azhp-footer__form{
    display: flex;
  }
  .azhp-footer__input{
    flex: 1;
    min-width: 0;
  }

  /* 5️⃣ 版权单独一行，居中 */
  .azhp-footer__copyright{
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    font-size: 12px;
    color: #aaa;
  }
}
/* 5️⃣ 版权单独一行，居中 */
  .azhp-footer__copyright{
    margin-top: 28px;
    padding-top: 14px;
    border-top: 1px solid rgba(255,255,255,.15);
    text-align: center;
    font-size: 12px;
    color: #aaa;
  }
@media (max-width: 768px){

  /* Newsletter 容器稍微靠右 */
  .azhp-footer__news{
    padding-left: 6px;
  }

  /* 输入框不要撑满 */
  .azhp-footer__form{
    display: flex;
    max-width: 140px;   /* ✅ 控制最大宽度 */
  }

  .azhp-footer__input{
    flex: 1;
    min-width: 0;
    padding: 8px 10px;
    font-size: 13px;
  }

  .azhp-footer__btn{
    width: 36px;
    padding: 0;
    font-size: 16px;
  }
}
