/* 把手分类页（2026-11-18，按 Alex 批准的设计稿 20261118-把手分类页设计稿.html）。
 * 只用品牌色：#333 / #777 / #FAF8F5 / 白 / 浅线；#980003 只留给促销价。金属色小圆点只表示产品本身的颜色。
 * 字体沿用网站：标题 Sofia Pro，正文 Open Sans（k4u-design.css 的 --s-*）。 */
.hd-page{--ink:#333333;--muted:#777777;--soft:#FAF8F5;--line:rgba(51,51,51,.14);color:var(--ink);background:#fff}
.hd-page a{color:inherit}
/* 间距和 Worktops 打开筛选时一致（Alex 11/18）：筛选栏 270 + 间距 40，每行 3 个，列距 20 行距 35，≤1300 每行 2 个，手机 2 个（列距 10 行距 20）；卡片图框 1:0.74、白底细灰边、文字区内边距 10、标题 18px */
/* 容器用网站通用的 .container（和页头、Worktops 等列表页同宽：最宽 1700px，左右 50px，Alex 11/18） */
/* k4u-design.css 把页头收窄到 1440（款式页 / 列表页用）；这一页内容跟 Worktops 一样宽，所以页头恢复网站默认 1700，左边才对齐 */
.k4u-topbar__inner,.k4u-main__inner,.k4u-nav__inner,.k4u-wrap.container,.k4u-cartbar__in{max-width:1700px !important}
@media (min-width:769px){.k4u-topbar__inner,.k4u-main__inner,.k4u-nav__inner{padding-left:50px !important;padding-right:50px !important}}
.hd-page{font-family:var(--s-text)}
.hd-crumb{padding:18px 0 0}
.hd-crumb{font-family:var(--s-text);font-size:13px;color:var(--muted)}
.hd-crumb a{color:var(--muted) !important;text-decoration:none}
.hd-more-sizes{flex-basis:100%;margin-top:4px}
.hd-more-sizes summary{display:inline-block;font-size:13px;text-decoration:underline;text-underline-offset:3px;cursor:pointer;list-style:none}
.hd-more-sizes summary::-webkit-details-marker{display:none}
.hd-more-sizes .hd-fg__pills{margin-top:8px}

/* 顶部：标题 + 卖点 + 一句介绍 */
.hd-top{display:flex;flex-wrap:wrap;align-items:flex-end;justify-content:space-between;gap:12px 32px;padding:10px 0 22px}
.hd-h1{margin:0 !important;font-family:var(--s-head) !important;font-size:var(--s-h1) !important;line-height:var(--s-h1l) !important;font-weight:700 !important;letter-spacing:-.02em;color:var(--ink)}
.hd-h1 small{margin-left:10px;font-family:var(--s-text);font-size:16px;font-weight:400;letter-spacing:0;color:var(--muted)}
.hd-ticks{display:flex;flex-wrap:wrap;gap:6px 18px;margin:12px 0 0 !important;padding:0 !important;list-style:none}
.hd-ticks li{font-size:14px;line-height:20px;font-weight:600}
.hd-intro{margin:0 !important;max-width:520px;font-size:var(--s-body);line-height:var(--s-bodyl)}

/* 按类型 */
.hd-types{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:12px;margin:0 0 28px !important;padding:0 !important;list-style:none}
.hd-types a{display:flex;align-items:center;gap:12px;padding:10px 14px 10px 10px;border:1px solid var(--line);border-radius:10px;background:#fff;text-decoration:none !important;transition:border-color .2s}
.hd-types a:hover,.hd-types a.is-on{border-color:var(--ink)}
.hd-types img{flex:none;width:64px;height:48px;object-fit:contain;background:var(--soft);border-radius:6px;mix-blend-mode:multiply}
.hd-types b{display:block;font-family:var(--s-head);font-size:15px;line-height:1.2;font-weight:600}
.hd-types em{font-style:normal;font-size:12px;color:var(--muted)}

/* 主体：左筛选 + 右产品。和 Worktops 一样：打开筛选 = 270 + 40 + 每行 3 个；点 Show filters 收起 = 每行 4 个 */
.hd-shop{display:grid;grid-template-columns:270px minmax(0,1fr);gap:40px;align-items:start;padding-bottom:56px}
.hd-panel{position:sticky;top:120px}
.hd-shop.is-closed{grid-template-columns:minmax(0,1fr)}
.hd-shop.is-closed .hd-panel{display:none}
.hd-shop.is-closed .hd-grid{grid-template-columns:repeat(4,minmax(0,1fr))}
/* 选项是链接：用和 Worktops 单选框一样大小的圆圈（13px） */
.hd-radio{flex:none;width:13px;height:13px;border:1px solid #767676;border-radius:50%;box-sizing:border-box;background:#fff}
.hd-opt.is-on .hd-radio{border:4px solid #333}
.hd-more-sizes{grid-column:1/-1}
.hd-more-sizes summary{display:inline-block;font-size:14px;color:#333;text-decoration:underline;text-underline-offset:3px;cursor:pointer;list-style:none}
.hd-more-sizes summary::-webkit-details-marker{display:none}
.hd-more-sizes .kw-filter-options{margin-top:14px}
.hd-help{grid-column:1/-1;font-size:14px;color:#333 !important;text-decoration:underline !important;text-underline-offset:3px}
.hd-scrim{display:none}
.hd-empty{padding:32px 0;font-size:16px}

/* 产品卡片 */
.hd-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:35px 20px;margin:0 !important;padding:0 !important;list-style:none}
.hd-card{position:relative;display:flex;flex-direction:column;min-width:0}
.hd-card__media{position:relative;display:block;aspect-ratio:1/.74;border-radius:5px;overflow:hidden;background:#fff;border:1px solid #e9e9e9;box-sizing:border-box}
.hd-card__media img{position:absolute;inset:0;width:100%;height:100%;transition:opacity .35s ease}
.hd-card__img{object-fit:contain}
.hd-card__img2{object-fit:contain;opacity:0}
.hd-card__mwrap{position:relative}
/* 按钮放在价格下面，不压在图片上（Alex 11/18）；样式同 Worktops 的 Shop Now：整宽、1px #333 边框、白底，悬停变深色 */
.hd-card__quick{display:flex;align-items:center;justify-content:center;width:100%;min-height:35px;margin-top:auto;padding:5px;border:1px solid var(--ink) !important;border-radius:2px !important;background:#fff !important;color:var(--ink) !important;font-family:var(--s-text);font-size:16px;font-weight:400;line-height:1.5;text-decoration:none !important;cursor:pointer;box-sizing:border-box;transition:background .3s,color .3s}
.hd-card__quick:hover,.hd-card__quick:focus-visible{background:var(--ink) !important;color:#fff !important}
.hd-card__quick--muted{color:var(--muted) !important;border-color:var(--line) !important}
.hd-card__quick--muted:hover{background:#fff !important;color:var(--muted) !important}
.hd-card__quick.is-busy{opacity:.6 !important;pointer-events:none}
@media (hover:hover){
  .hd-card:hover .hd-card__img2{opacity:1}
  .hd-card:hover .hd-card__media:has(.hd-card__img2) .hd-card__img{opacity:0}

}
.hd-card__body{flex:1;display:flex;flex-direction:column;gap:5px;padding:10px}
.hd-card__dots{display:flex;align-items:center;gap:5px;margin:0 !important;font-size:12px;color:var(--muted)}
.hd-card__dots i{width:14px;height:14px;border-radius:50%;border:1px solid rgba(51,51,51,.25);box-sizing:border-box}
.hd-card__dots em{font-style:normal}
.hd-card__dots span{margin-left:4px}
.hd-card__name{margin:0 !important;font-family:var(--s-text) !important;font-size:18px !important;line-height:1.4 !important;font-weight:500 !important;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hd-card__name a{text-decoration:none !important}
.hd-card__hc{margin:0 !important;font-size:13px;color:var(--muted)}
.hd-card__price{margin:0 0 5px !important}
.hd-card__price small{font-size:13px;color:var(--muted)}
.hd-card__price b{font-family:var(--s-head);font-size:18px;line-height:1.2;font-weight:700}
.hd-card__price span{font-size:12px;color:var(--muted)}

/* 更多 / 分页 */
.hd-more{display:flex;flex-direction:column;align-items:center;gap:12px;margin:44px 0 0}
.hd-more__bar{width:240px;height:3px;border-radius:3px;background:var(--line);overflow:hidden}
.hd-more__bar i{display:block;height:100%;background:var(--ink)}
.hd-more__n{margin:0 !important;font-size:13px;color:var(--muted)}
.hd-pager{display:flex;flex-wrap:wrap;justify-content:center;gap:6px;font-size:14px}
.hd-pager a,.hd-pager span{display:inline-flex;align-items:center;justify-content:center;min-width:36px;height:36px;border-radius:8px;text-decoration:none !important}
.hd-pager span{background:var(--ink);color:#fff}

/* 按钮 */
.hd-btn{display:inline-flex;align-items:center;justify-content:center;min-height:50px;padding:0 32px;border:1px solid var(--ink) !important;border-radius:999px !important;background:var(--ink) !important;color:#fff !important;font-family:var(--s-text);font-size:15px;font-weight:600;text-decoration:none !important;cursor:pointer}
.hd-btn--line{background:#fff !important;color:var(--ink) !important}
.hd-btn--line:hover{background:var(--ink) !important;color:#fff !important}
.hd-more__btn.is-busy{opacity:.6;pointer-events:none}

/* 下方：尺寸指南 / FAQ / 展厅 */
.hd-h2{margin:0 0 12px !important;font-family:var(--s-head) !important;font-size:var(--s-h2) !important;line-height:var(--s-h2l) !important;font-weight:700 !important;color:var(--ink)}
.hd-guide{padding:64px 0;background:var(--soft)}
.hd-guide__in{display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1.1fr);gap:56px;align-items:center}
.hd-guide p{margin:0 0 18px !important;font-size:var(--s-body);line-height:var(--s-bodyl)}
.hd-guide__more{font-size:15px !important}
.hd-guide a,.hd-faq a{text-decoration:underline !important;text-underline-offset:3px}
.hd-diag{margin-bottom:18px;padding:24px;border-radius:12px;background:#fff}
.hd-table{width:100%;margin:0 !important;border-collapse:collapse;border-radius:10px;overflow:hidden;background:#fff;font-size:14px}
.hd-table th,.hd-table td{padding:12px 14px;border-bottom:1px solid var(--line);text-align:left;vertical-align:top}
.hd-table th{background:#fff;font-weight:600}
.hd-table td:first-child{font-weight:600;white-space:nowrap}
.hd-table tr:last-child td{border-bottom:0}
.hd-faq{padding:64px 0}
.hd-faq__in{display:grid;grid-template-columns:minmax(0,.8fr) minmax(0,1.2fr);gap:56px}
.hd-faq__sub{margin:0 0 18px !important;color:var(--muted)}
.hd-links{display:flex;flex-direction:column;gap:8px;margin:0 !important;padding:0 !important;list-style:none;font-size:14px}
.hd-faq__item{border-bottom:1px solid var(--line);padding:18px 0}
.hd-faq__item summary{display:flex;justify-content:space-between;gap:16px;font-family:var(--s-head);font-size:17px;line-height:1.35;font-weight:600;cursor:pointer;list-style:none}
.hd-faq__item summary::-webkit-details-marker{display:none}
.hd-faq__item summary::after{content:"+";font-size:22px;font-weight:400}
.hd-faq__item[open] summary::after{content:"−"}
.hd-faq__item p{margin:10px 0 0 !important;font-size:15px;line-height:1.6}
.hd-show{padding:56px 0;border-top:1px solid var(--line)}
.hd-show__in{display:grid;grid-template-columns:1.2fr 1fr;gap:48px;align-items:center}
.hd-show__ph{aspect-ratio:16/9;border-radius:12px;overflow:hidden;background:var(--soft)}
.hd-show__ph img{width:100%;height:100%;object-fit:cover}
.hd-show p{margin:0 0 16px !important}
.hd-show__meta{display:flex;flex-direction:column;gap:6px;font-size:14px;color:var(--muted)}

/* 和 Worktops（打开筛选时）一样：≤1300 每行 2 个 */
@media (max-width:1300px){.hd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
/* 手机（和 Worktops 一样 ≤768）：筛选从左边滑出，白底，宽 82%（最宽 330） */
@media (max-width:768px){
  .hd-shop{grid-template-columns:minmax(0,1fr)}
  .hd-shop.is-closed .hd-grid{grid-template-columns:repeat(2,minmax(0,1fr))}
  .hd-shop.is-closed .hd-panel,.hd-panel{display:block;position:fixed;top:0;left:0;width:82%;max-width:330px;height:100dvh;overflow-y:auto;overscroll-behavior:contain;background:#fff;z-index:2147483001;padding:15px 20px;box-sizing:border-box;transform:translateX(-105%);transition:transform .4s ease}
  .hd-shop .hd-panel.is-open{transform:translateX(0)}
  .kw-filter-actions{position:sticky;bottom:0;background:#fff;padding-top:16px}
  .hd-scrim{position:fixed;inset:0;z-index:2147483000;background:rgba(0,0,0,.35)}
  .hd-scrim:not([hidden]){display:block}
  .hd-types{display:flex;overflow-x:auto;scrollbar-width:none}
  .hd-types li{flex:none}
}
/* 手机 */
@media (max-width:767px){
  .hd-top{padding:6px 0 14px}
  .hd-h1 small{display:block;margin:6px 0 0}
  .hd-types{gap:8px;margin:0 -16px 18px !important;padding:0 16px !important}
  .hd-types a{padding:6px 12px 6px 6px}
  .hd-types img{width:44px;height:34px}
  .hd-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:20px 10px}
  .hd-card__name{font-size:16px !important;line-height:1.2 !important}
  .hd-card__price b{font-size:16px}
  .hd-guide__in,.hd-faq__in,.hd-show__in{grid-template-columns:1fr;gap:24px}
  .hd-guide,.hd-faq{padding:44px 0}
  .hd-table td:last-child{white-space:nowrap}
}
/* 自动加载（Alex 11/18）：能自动加载时按钮不显示，只显示“加载中”；分页数字保留成一行小字链接（给 Google 抓） */
.hd-sentinel{height:1px}
.hd-more__btn.is-auto{display:none}
.hd-loading{display:flex;align-items:center;gap:10px;margin:0 !important;font-size:13px;color:var(--muted)}
.hd-loading[hidden]{display:none}
.hd-spin{width:16px;height:16px;border:2px solid var(--line);border-top-color:var(--ink);border-radius:50%;animation:hd-spin .8s linear infinite}
@keyframes hd-spin{to{transform:rotate(360deg)}}
@media (prefers-reduced-motion:reduce){.hd-spin{animation-duration:2.4s}}
.hd-pager{font-size:12px;gap:2px;color:var(--muted)}
.hd-pager a,.hd-pager span{min-width:26px;height:26px;border-radius:6px}
.hd-pager a{color:var(--muted)}
/* 底色和 Worktops 一样（Alex 11/18 图1）：页面米白 #FAF8F5，产品卡片白底；指南区改白底以便区分 */
.hd-page{background:var(--soft)}
.hd-guide{background:#fff}
.hd-chip{background:#fff}
@media (max-width:1023px){.hd-mbar{background:var(--soft)}}
/* 按钮和 Worktops “Shop Now” 完全一致（Alex 11/18）：透明底（卡片是白底）、文字居中、鼠标移到整张卡片上按钮就变深色、过渡 .5s */
.hd-card__quick{background:transparent !important;text-align:center;transition:all .5s ease}
.hd-card:hover .hd-card__quick,.hd-card__quick:focus-visible{background:#333 !important;color:#fff !important}
.hd-card:hover .hd-card__quick--muted{background:transparent !important;color:var(--muted) !important}

/* ===== 11/18 和网站统一（Alex：同一个网站风格尽可能一致）：字体、字号、颜色都用 Worktops 页面上的值 ===== */
.hd-page{font-family:"Open Sans",sans-serif}
.hd-crumb{font-size:14.72px;line-height:22.08px;color:#767676}
.hd-crumb a{color:#767676 !important;font-family:"sofia pro M",sans-serif}
.hd-h1{font-family:"sofia pro M",sans-serif !important;font-size:48px !important;line-height:46.8px !important;letter-spacing:normal !important;font-weight:700 !important}
.hd-ticks li{font-size:14px;font-weight:400;line-height:21px}
.hd-intro{font-size:18px;line-height:25px}
.hd-types a{border-radius:5px}
.hd-types b{font-family:"sofia pro M",sans-serif;font-size:16px;font-weight:500}
.hd-h2{margin:8px 0 16px !important;font-family:"sofia pro M",sans-serif !important;font-size:36px !important;line-height:54px !important;font-weight:700 !important}
.hd-guide p,.hd-guide__more,.hd-show p{font-size:16px !important;line-height:24px !important}
.hd-table{font-size:16px;border-radius:5px}
.hd-show__ph{border-radius:5px}
.hd-show__meta{font-size:14px !important}
.hd-faq__sub{margin:30px 0 0 !important;text-align:center;font-size:16px;color:#333}
.hd-faq__sub a,.hd-guide a,.hd-show a:not(.gudeer-show-more){color:#333 !important;text-decoration:underline !important}
.hd-btn-site{width:auto;margin-top:8px}
.hd-help{font-family:"sofia pro M",sans-serif}
@media (max-width:768px){
  .hd-h1{font-size:34px !important;line-height:35px !important}
  .hd-h2{font-size:24px !important;line-height:38px !important}
}
/* 一行里的卡片一样高，价格和 Shop Now 按钮压到底部对齐（Alex 11/18：按钮保持在一条线上） */
.hd-grid>.hd-card{display:flex;flex-direction:column}
.hd-grid .gudeer-product-card{flex:1;display:flex;flex-direction:column}
.hd-grid .gudeer-product-card>a{flex:1;display:flex;flex-direction:column}
.hd-grid .product-card-content{flex:1;display:flex;flex-direction:column}
.hd-grid .worktop-card-note{display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hd-grid .gudeer-product-card .price{margin-top:auto}
@media (max-width:768px){.hd-grid .gudeer-product-card .price{min-height:48px}}
/* 深色尺寸帮助卡：占一个卡片位置，和同一行卡片一样高；圆角 5px；按钮是 Shop Now 的白色反色版（白边、白字，悬停白底深字），字号用网站的字号 */
.hd-grid .hd-card--guide{display:flex;flex-direction:column}
/* Show more（点按钮加载）：按钮样式同 Shop Now（1px #333 描边、白底、圆角 2px，悬停深色），居中，宽 240px */
.hd-more{display:flex;flex-direction:column;align-items:center;gap:12px;margin:40px 0 0}
.hd-more__n{margin:0 !important;font-size:16px;line-height:24px;color:#777}
.hd-showmore{display:flex;align-items:center;justify-content:center;width:240px;max-width:100%;min-height:35px;padding:5px;border:1px solid #333;border-radius:2px;background:#fff;color:#333 !important;font-size:16px;line-height:24px;text-decoration:none !important;box-sizing:border-box;transition:all .5s ease}
.hd-showmore:hover,.hd-showmore:focus-visible{background:#333;color:#fff !important}
.hd-showmore[hidden]{display:none}
.hd-more .gudeer-products-loading{padding:5px 0}
.hd-more,.hd-more *{overflow-anchor:none} /* 点 Show more 后页面不跟着往下跳，停在原来的位置看新加载的产品 */

/* 深色尺寸帮助卡（Alex 11/18：排版不好 → 和旁边产品卡同一结构）：上面 4:3 图框（和产品图一样大、上下对齐，浅米色底 + 示意图），
   下面标题（和产品标题同字号）、一行说明（和产品说明行同字号，浅灰），按钮固定在底部和 Shop Now 同一高度 */
.hd-guidecard{flex:1;display:flex;flex-direction:column;border-radius:5px;background:#333;color:#fff !important;text-decoration:none !important;overflow:hidden}
.hd-guidecard__thumb{position:relative;aspect-ratio:1 / .74;border:1px solid #e9e9e9;border-radius:5px;background:#FAF8F5;display:flex;align-items:center;justify-content:center;box-sizing:border-box}
.hd-guidecard__thumb svg{width:86%;height:auto;display:block}
.hd-guidecard__body{flex:1;display:flex;flex-direction:column;padding:10px}
.hd-guidecard__title{margin:0 0 5px !important;font-size:18px !important;line-height:1.4 !important;height:50px;overflow:hidden;color:#fff !important}
.hd-guidecard__text{margin:0 0 10px !important;font-size:16px;line-height:24px;font-weight:400;color:#e9e9e9;display:-webkit-box;-webkit-box-orient:vertical;-webkit-line-clamp:2;overflow:hidden}
.hd-guidecard__btn{margin-top:auto;display:flex;align-items:center;justify-content:center;min-height:35px;padding:5px;border:1px solid #fff;border-radius:2px;font-size:16px;line-height:24px;color:#fff;box-sizing:border-box;transition:all .5s ease}
.hd-guidecard:hover .hd-guidecard__btn,.hd-guidecard:focus-visible .hd-guidecard__btn{background:#fff;color:#333}
@media (max-width:768px){.hd-guidecard__title{font-size:16px !important;line-height:1.2 !important;height:40px}.hd-guidecard__text{font-size:14px;line-height:20px}}
/* 和产品卡的价格行同一位置、同一字号：填满按钮上面的空位 */
.hd-guidecard__hint{margin:auto 0 0 !important;font-size:16px;line-height:24px;color:#e9e9e9}
.hd-guidecard__hint b{color:#fff;font-weight:400}
.hd-guidecard__btn{margin-top:10px}
@media (max-width:768px){.hd-guidecard__hint{min-height:48px}}
