/* =====================================================================
 * 款式页 + 购物车，按 John 2026-11-06 批准的设计稿。在 template-level3.css / k4u-cart.css / k4u-type.css 之后加载。
 * 颜色只用 #333333 #FFFFFF #FAF8F5 #777777 #980003 和 rgba(51,51,51,x)；爱尔兰国旗的颜色只在国旗里。
 * 字体：标题 Sofia Pro，正文 Open Sans。k4u-type.css 用了 !important，所以这里的字号也要 !important。
 * ===================================================================== */
:root{--k4u-ink:#333333;--k4u-muted:#777777;--k4u-line:rgba(51,51,51,.14);--k4u-soft:#FAF8F5;--k4u-accent:#333333;--k4u-green:#333333;--k4u-icon:#333333;--k4u-red:#980003;--k4u-head:"Sofia Pro","sofia pro M",Arial,sans-serif;}

/* ---------- 首屏 ---------- */
.cat-l3-hero .container,.category-all>.container,.k4u-sb>.container,.k4u-l3-extra>.container{max-width:1280px !important;}
.cat-l3-hero__inner{display:grid !important;grid-template-columns:minmax(0,7fr) minmax(0,5fr) !important;gap:48px !important;align-items:start;}
.cat-l3-hero__inner>*{min-width:0;}
.cat-l3-gallery,.cat-l3-gallery-stk{position:static !important;width:auto !important;max-width:none !important;}
.cat-l3-gallery-stk{display:flex !important;flex-direction:column;gap:12px;}
#catGalleryMain{width:100%;aspect-ratio:1024/755;border-radius:8px;overflow:hidden;margin:0 !important;}
#catGalleryMain .swiper-slide,#catGalleryMain img{width:100%;height:100%;}
#catGalleryMain img{object-fit:cover;display:block;}

.cat-l3-hero__right{display:flex !important;flex-direction:column;}
.cat-l3-hero__badge{display:none !important;}
.cat-l3-hero .cat-l3-hero__subtitle{order:-1;align-self:flex-start;display:inline-flex !important;align-items:center;gap:8px;margin:0 0 10px !important;padding:6px 14px 6px 10px !important;border:0 !important;border-radius:999px;background:rgba(51,51,51,.07) !important;color:#333 !important;font-size:12px !important;line-height:16px !important;font-weight:600 !important;letter-spacing:.08em !important;text-transform:uppercase;}
.cat-l3-hero__subtitle svg{flex:none;border:1px solid rgba(51,51,51,.18);border-radius:2px;box-sizing:content-box;}
.cat-l3-hero .cat-l3-hero__title{font-size:40px !important;line-height:46px !important;font-weight:700 !important;letter-spacing:-.02em !important;margin:0 0 10px !important;}
.cat-l3-info{margin:0 !important;padding:0 !important;}
.k4u-bb{display:flex;flex-direction:column;gap:22px;}
.cat-l3-hero .k4u-bb__intro{margin:0 0 -12px !important;font-size:15px !important;line-height:23px !important;color:#333;}
.k4u-bb__meta{display:flex;flex-wrap:wrap;align-items:center;gap:8px;}
.cat-l3-hero .k4u-bb__chip{padding:6px 14px;border-radius:999px;background:rgba(51,51,51,.07);font-size:13px !important;line-height:18px !important;color:#333;}
.cat-l3-hero .k4u-bb__rating{display:inline-flex;align-items:center;gap:6px;margin-left:6px;font-size:13px !important;font-weight:600 !important;color:#333 !important;text-decoration:none;}

.k4u-bb__price{display:flex;flex-direction:column;gap:6px;margin:0 !important;padding:18px 0 0 !important;border-top:1px solid var(--k4u-line);}
.k4u-bb__price p{margin:0 !important;}
.cat-l3-hero .k4u-bb__label{display:inline-flex;align-items:center;gap:8px;font-size:14px !important;color:#333 !important;}
.cat-l3-hero .k4u-bb__q{width:20px !important;height:20px !important;padding:0 !important;border:0 !important;border-radius:50% !important;background:var(--k4u-soft) !important;color:#333 !important;font-size:12px !important;font-weight:600 !important;line-height:20px !important;}
.k4u-bb__amount{display:flex;align-items:center;flex-wrap:wrap;gap:8px 12px;}
.cat-l3-hero .k4u-bb__amount b{font-family:var(--k4u-head) !important;font-size:32px !important;line-height:38px !important;font-weight:700 !important;color:#333;}
.cat-l3-hero .k4u-bb__vat{font-size:14px !important;color:#777;}
.cat-l3-hero .k4u-bb__deal{padding:4px 12px;border-radius:999px;background:var(--k4u-red);color:#fff;font-size:12px !important;font-weight:700 !important;letter-spacing:.06em !important;}
.cat-l3-hero .k4u-bb__was{font-size:15px !important;color:#777 !important;}
.k4u-bb__offer{display:flex;align-items:center;gap:8px;margin-top:4px !important;}
.k4u-bb__offer svg{flex:none;}
.cat-l3-hero .k4u-bb__offer,.cat-l3-hero .k4u-bb__offer span{font-size:14px !important;color:#333;}
.cat-l3-hero .k4u-bb__offer b{font-size:14px !important;font-weight:600 !important;color:var(--k4u-red);}

.k4u-opts{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.k4u-opt{position:relative;display:flex;flex-direction:column;gap:4px;padding:14px 16px;border:1px solid var(--k4u-line);border-radius:8px;}
.k4u-opt.is-current{border:1.5px solid #777;}
.k4u-opt__tick{position:absolute;top:-10px;right:-10px;display:flex;align-items:center;justify-content:center;width:22px;height:22px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:#777;}
.k4u-opt p{margin:0 !important;}
.cat-l3-hero .k4u-opt__title{font-size:15px !important;font-weight:600 !important;color:#333;}
.cat-l3-hero .k4u-opt__when{font-size:14px !important;color:#333;}
.cat-l3-hero .k4u-opt__text{font-size:13px !important;line-height:19px !important;color:#777;}
.cat-l3-hero .k4u-bb__note{margin:-12px 0 0 !important;font-size:13px !important;line-height:19px !important;font-style:italic;color:#777;}

.k4u-bb__actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;margin:0 !important;}
.cat-l3-hero .k4u-bb__build{flex:1 1 240px;display:flex;align-items:center;justify-content:center;gap:10px;min-width:0;height:54px;padding:0 20px;border-radius:999px;background:#333;color:#fff !important;font-size:16px !important;font-weight:600 !important;text-decoration:none;}
.k4u-bb__build:hover{background:#333;opacity:.9;}
.cat-l3-hero .k4u-bb__link{min-height:44px;font-size:14px !important;color:#333 !important;text-underline-offset:3px;}

.k4u-ek.k4u-set{display:flex !important;gap:16px;align-items:flex-start;margin:0 !important;padding:18px !important;border:1px solid var(--k4u-line) !important;border-radius:12px !important;background:#fff !important;}
.k4u-set__ico{flex:none;display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:10px;background:rgba(51,51,51,.06);}
.k4u-set__body{flex:1;min-width:0;display:flex;flex-direction:column;gap:6px;}
.k4u-set__body p,.k4u-set__body h2{margin:0 !important;}
.cat-l3-hero .k4u-set__title{font-family:var(--k4u-head) !important;font-size:16px !important;line-height:22px !important;font-weight:700 !important;color:#333;}
.k4u-set__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:10px;}
.cat-l3-hero .k4u-set__price b{font-family:var(--k4u-head) !important;font-size:18px !important;font-weight:700 !important;color:#333;}
.cat-l3-hero .k4u-set__price span{font-size:14px !important;color:#777;}
.cat-l3-hero .k4u-set__text{font-size:13px !important;line-height:20px !important;color:#777;}
.k4u-set__actions{display:flex;flex-wrap:wrap;align-items:center;justify-content:flex-end;gap:12px 18px;margin-top:4px;}
.cat-l3-hero .k4u-set__add{display:inline-flex;align-items:center;gap:8px;height:44px;padding:0 22px !important;border:0 !important;border-radius:999px !important;background:rgba(51,51,51,.08) !important;color:#333 !important;font-size:15px !important;font-weight:600 !important;cursor:pointer;}
.k4u-set__add:hover{background:rgba(51,51,51,.14) !important;}
.k4u-set__add[disabled]{cursor:wait;}
.cat-l3-hero .k4u-set__added,.cat-l3-hero .k4u-set__added a{display:inline-flex;align-items:center;gap:6px;height:44px;font-size:14px !important;font-weight:600 !important;color:#333 !important;}
.k4u-set__added a{text-decoration:underline;text-underline-offset:3px;}
.cat-l3-hero .k4u-ek__msg{font-size:13px !important;color:#333;}

.k4u-feats{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:22px 0 0 !important;padding:0 !important;border-top:1px solid var(--k4u-line);border-bottom:1px solid var(--k4u-line);}
.k4u-feats li{display:flex;flex-direction:column;align-items:center;gap:10px;padding:18px 6px;text-align:center;}
.k4u-feats img{display:block;width:30px;height:30px;object-fit:contain;}
.cat-l3-hero .k4u-feats span{font-size:14px !important;line-height:19px !important;font-weight:600 !important;color:#333;}

.cat-l3-hero__right .cl-accordion{display:flex !important;flex-direction:column;gap:0 !important;margin:22px 0 0 !important;border-bottom:1px solid var(--k4u-line);}
.cat-l3-hero__right .cl-accordion__item{border:0 !important;border-top:1px solid var(--k4u-line) !important;border-radius:0 !important;background:none !important;box-shadow:none !important;overflow:visible;}
.cat-l3-hero__right .cl-accordion__header{min-height:52px;padding:0 !important;background:none !important;}
.cat-l3-hero .cl-accordion__question{font-size:15px !important;font-weight:600 !important;color:#333;}
.cat-l3-hero__right .cl-accordion__icon{font-size:0 !important;width:auto;transform:none !important;}
.cat-l3-hero__right .cl-accordion__icon::before{content:"+";font-size:20px;line-height:1;color:#333;}
.cat-l3-hero__right .cl-accordion__item.is-open .cl-accordion__icon::before{content:"\2212";}
.cat-l3-hero__right .cl-accordion__content{padding:0 0 14px !important;}
.cat-l3-hero__right .cl-accordion__content,.cat-l3-hero__right .cl-accordion__content p,.cat-l3-hero__right .cl-accordion__content li{font-size:14px !important;line-height:22px !important;}
.k4u-specs{margin:0;}
.k4u-specs>div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;padding:8px 0;border-top:1px solid rgba(51,51,51,.08);}
.k4u-specs dt,.k4u-specs dd{margin:0;}
.cat-l3-hero .k4u-specs dt{font-size:14px !important;line-height:20px !important;color:#777;}
.cat-l3-hero .k4u-specs dd{font-size:14px !important;line-height:20px !important;font-weight:600 !important;color:#333;}
.k4u-checklist{margin:0 0 10px;padding-left:20px;}
.k4u-checklist li{margin:0 0 6px;}
.k4u-checklist__links{margin:0 !important;}

/* ---------- 样门横条 ---------- */
.k4u-sb{margin:40px 0 0 !important;padding:0 !important;background:none !important;}
.k4u-sb__box{display:flex;flex-wrap:wrap;align-items:center;gap:20px 32px;padding:24px 28px;border:1px solid rgba(51,51,51,.18);border-radius:12px;background:rgba(51,51,51,.05);}
.k4u-sb__img{flex:none;width:64px !important;height:92px !important;object-fit:cover;border:1px solid rgba(51,51,51,.18);border-radius:3px;background:#fff;}
.k4u-sb__text{flex:1 1 360px;min-width:0;display:flex;flex-direction:column;gap:8px;}
.k4u-sb .k4u-sb__title{margin:0 !important;font-family:var(--k4u-head) !important;font-size:20px !important;line-height:26px !important;font-weight:700 !important;color:#333;}
.k4u-sb .k4u-sb__desc{margin:0 !important;font-size:14px !important;line-height:21px !important;color:#777;}
.k4u-sb .k4u-sb__btn{flex:none;height:48px !important;padding:0 24px !important;border:1px solid #333 !important;border-radius:999px !important;background:none !important;color:#333 !important;font-size:15px !important;font-weight:600 !important;cursor:pointer;}
.k4u-sb .k4u-sb__btn:hover{background:var(--k4u-soft) !important;color:#333 !important;}

/* ---------- Build ---------- */
section.category-all{padding-top:64px;}
.category-all .k4u-build-head h2{margin:0 0 8px !important;font-size:28px !important;line-height:34px !important;font-weight:700 !important;letter-spacing:-.01em !important;}
.category-all .k4u-build-head p{max-width:760px;margin:0 0 36px !important;font-size:16px !important;line-height:24px !important;color:#777;}
section.category-all .k4u-build-panel{padding:0 !important;margin:0 !important;border-radius:0 !important;background:none !important;}
.k4u-build-panel__rule{display:none !important;}
.k4u-build-panel .cat-l3-interior{margin:0 0 36px !important;}
.k4u-step{display:flex !important;align-items:center;gap:12px;margin:0 0 14px !important;}
.k4u-step>div{display:flex;flex-wrap:wrap;align-items:baseline;gap:4px 12px;}
.category-all .k4u-step-n{flex:none;display:flex !important;align-items:center;justify-content:center;width:30px !important;height:30px !important;box-sizing:border-box;border:1.5px solid #333 !important;border-radius:50% !important;background:none !important;color:#333 !important;font-size:14px !important;font-weight:600 !important;line-height:1 !important;}
.category-all .k4u-step-t{margin:0 !important;font-family:var(--k4u-head) !important;font-size:20px !important;line-height:26px !important;font-weight:700 !important;color:#333;}
.k4u-step-v{display:none !important;}
.category-all .k4u-step-s{margin:0 !important;font-size:14px !important;color:#777;}
.k4u-build-panel .cat-l3-interior__list{gap:12px !important;}
.k4u-build-panel .cat-l3-interior__item{flex:0 0 128px !important;width:128px !important;gap:10px !important;padding:12px !important;box-sizing:border-box;border:1px solid var(--k4u-line) !important;border-radius:8px !important;background:#fff !important;cursor:pointer;}
.k4u-build-panel .cat-l3-interior__item.is-active{border:2px solid #333 !important;padding:11px !important;}
.k4u-build-panel .cat-l3-interior__swatch{height:auto !important;aspect-ratio:1;border:1px solid rgba(51,51,51,.18) !important;border-radius:4px !important;}
.k4u-build-panel .cat-l3-interior__swatch img{object-fit:cover !important;}
.category-all .cat-l3-interior__label{font-size:14px !important;font-weight:600 !important;color:#333;}
.k4u-build-panel .main-groups-nav{display:grid !important;grid-template-columns:repeat(5,minmax(0,1fr)) !important;gap:12px !important;}
.k4u-build-panel .group-tab{display:flex !important;flex-direction:column;align-items:flex-start;justify-content:center;gap:2px;min-height:76px;height:auto !important;padding:14px 18px !important;box-sizing:border-box;border:1px solid var(--k4u-line) !important;border-radius:8px !important;background:#fff !important;box-shadow:none !important;color:#333 !important;text-align:left;text-decoration:none;cursor:pointer;}
.k4u-build-panel .group-tab.is-active{border:2px solid #333 !important;padding:13px 17px !important;background:var(--k4u-soft) !important;}
.k4u-build-panel .group-tab:hover,.k4u-build-panel .group-tab:focus{background:var(--k4u-soft) !important;color:#333 !important;}
.k4u-build-panel .group-tab>span{display:flex;flex-direction:column;gap:2px;padding:0 !important;background:none !important;color:#333 !important;}
.category-all .k4u-build-panel .group-tab>span{font-size:16px !important;font-weight:600 !important;line-height:22px !important;}
.k4u-build-panel .group-tab>img,.k4u-build-panel .group-tab-ico{display:none !important;}
.category-all .group-tab__count,.category-all .group-tab__note{margin:0 !important;font-style:normal !important;font-size:13px !important;font-weight:400 !important;line-height:18px !important;color:#777 !important;opacity:1 !important;}
@media (min-width:993px){section.category-all .category-flex{margin-top:20px;}}

/* 柜子卡片 */
#k4u-cabinets .product-card--grid{border:1px solid var(--k4u-line) !important;border-radius:8px !important;transition:border-color .15s,box-shadow .15s;}
#k4u-cabinets .product-card--grid:hover{border-color:#777 !important;box-shadow:0 0 0 1px #777 !important;}
.k4u-hinge-note{display:flex;align-items:flex-start;gap:8px;margin:8px 0 0;padding:10px 12px;border-radius:8px;background:rgba(51,51,51,.07);}
.k4u-hinge-note svg{flex:none;margin-top:1px;}
.category-all .k4u-hinge-note span,#global-product-modal .k4u-hinge-note span{font-size:13px !important;line-height:18px !important;color:#333;}

/* 底部合计条 */
.k4u-cartbar{position:fixed;left:0;right:0;bottom:0;z-index:9990;background:#333;color:#fff;}
.k4u-cartbar[hidden]{display:none;}
.k4u-cartbar__in{display:flex;align-items:center;gap:10px 18px;max-width:1280px;margin:0 auto;padding:12px clamp(16px,3vw,32px);box-sizing:border-box;}
.k4u-cartbar__n{flex:none;display:flex;align-items:center;justify-content:center;width:26px;height:26px;box-sizing:border-box;border:1.5px solid #fff;border-radius:50%;font-size:13px;font-weight:600;}
.k4u-cartbar__txt{flex:1;min-width:0;font-family:"Open Sans",Arial,sans-serif;font-size:15px;font-weight:600;}
.k4u-cartbar__btn{flex:none;display:inline-flex;align-items:center;height:44px;padding:0 22px;border-radius:999px;background:#fff;color:#333 !important;font-family:"Open Sans",Arial,sans-serif;font-size:14px;font-weight:600;text-decoration:none;}
body.k4u-has-cartbar{padding-bottom:68px;}

/* Same door / FAQ */
.k4u-l3-extra{padding:56px 0 !important;background:#fff !important;}
.k4u-l3-extra .k4u-l3-extra__title,.k4u-l3-faqband .k4u-l3-extra__title{margin:0 0 20px !important;font-family:var(--k4u-head) !important;font-size:28px !important;line-height:34px !important;font-weight:700 !important;letter-spacing:-.01em !important;color:#333;}
.k4u-l3-more{display:grid !important;grid-template-columns:repeat(auto-fill,minmax(min(300px,100%),1fr));gap:20px !important;margin:0 !important;overflow:visible !important;}
.k4u-l3-more__card{display:flex;flex-direction:column;gap:8px;border:0 !important;border-radius:0 !important;background:none !important;overflow:visible !important;}
.k4u-l3-more__card img{aspect-ratio:768/566 !important;border-radius:8px;}
.k4u-l3-extra .k4u-l3-more__name{padding:0 !important;font-size:16px !important;font-weight:600 !important;}
.k4u-l3-extra .k4u-l3-more__price{padding:0 !important;font-size:14px !important;color:#777;}
.k4u-l3-faqband{background:var(--k4u-soft);}
.k4u-l3-faqband__in{max-width:880px;margin:0 auto;padding:56px clamp(16px,3vw,32px);box-sizing:border-box;}
.k4u-l3-faq__item{padding:0 !important;border:0 !important;border-top:1px solid var(--k4u-line) !important;}
.k4u-l3-faqband .k4u-l3-faq__item summary{display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:56px;font-family:"Open Sans",Arial,sans-serif;font-size:16px;font-weight:600;color:#333;cursor:pointer;list-style:none;}
.k4u-l3-faq__item summary::after{float:none !important;font-size:20px;font-weight:400;}
.k4u-l3-faqband .k4u-l3-faq__item p{margin:0 0 16px !important;font-family:"Open Sans",Arial,sans-serif;font-size:15px;line-height:23px;color:#777;}

@media (max-width:1023px){
  .cat-l3-hero__inner{grid-template-columns:minmax(0,1fr) !important;gap:24px !important;}
}
@media (max-width:767px){
  .cat-l3-hero .cat-l3-hero__title{font-size:30px !important;line-height:36px !important;}
  .cat-l3-hero .cat-l3-hero__subtitle{letter-spacing:.05em !important;font-size:11px !important;}
  .k4u-feats{grid-template-columns:repeat(2,minmax(0,1fr));}
  .k4u-set__ico{display:none;}
  .k4u-sb__box{padding:20px;}
  .k4u-sb .k4u-sb__btn{width:100%;}
  .k4u-build-panel .main-groups-nav{grid-template-columns:unset !important;grid-auto-flow:column;grid-auto-columns:180px;overflow-x:auto !important;scroll-snap-type:x proximity;}
  .k4u-build-panel .group-tab{scroll-snap-align:start;}
  .k4u-build-panel .cat-l3-interior__item{flex-basis:110px !important;width:110px !important;}
  .k4u-cartbar__n{display:none;}
  .k4u-cartbar__txt{font-size:14px;}
}

/* ---------- 购物车 ---------- */
.k4u-cart-v2{padding:28px 0 48px;}
.k4u-cart-v2 .container{max-width:1280px;}
.k4u-cart-v2.is-busy{opacity:.55;pointer-events:none;transition:opacity .15s;}
.k4u-cart-v2 .k4u-cv-header{display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:8px 18px;margin:0 0 20px;padding:0;border:0;}
.k4u-cv-header__title{display:flex;align-items:baseline;gap:8px 18px;}
.k4u-cart-v2 .k4u-cv-header__title h1{margin:0 !important;font-family:var(--k4u-head) !important;font-size:32px !important;line-height:38px !important;font-weight:700 !important;letter-spacing:-.02em !important;}
.k4u-cart-v2 .k4u-cv-header__count{font-size:15px !important;color:#777;background:none;padding:0;}
.k4u-cv-header__actions{display:flex;gap:18px;}
.k4u-cart-v2 .k4u-cv-link{font-size:14px !important;color:#333 !important;text-decoration:underline;text-underline-offset:3px;}
.k4u-cart-v2 .k4u-cv-layout{display:grid;grid-template-columns:minmax(0,1fr) 380px;gap:32px;align-items:start;}
.k4u-cv-main{display:flex;flex-direction:column;gap:20px;min-width:0;}
.k4u-cart-v2 .k4u-cv-ship{display:flex;flex-direction:column;gap:8px;margin:0;padding:0;border:0;background:none;}
.k4u-cart-v2 .k4u-cv-ship p,.k4u-cart-v2 .k4u-cv-ship p *{margin:0 !important;font-size:14px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-ship__bar{display:block;width:100%;height:6px;margin:0;border-radius:3px;background:rgba(51,51,51,.12);overflow:hidden;}
.k4u-cart-v2 .k4u-cv-ship__bar>span{display:block;height:100%;background:#333;}
.k4u-cv-groups{display:flex;flex-direction:column;gap:20px;}
.k4u-cart-v2 .k4u-cv-group{margin:0;padding:0;border:1px solid var(--k4u-line);border-radius:8px;overflow:hidden;background:#fff;}
.k4u-cart-v2 .k4u-cv-group__title{display:flex;flex-wrap:wrap;align-items:center;gap:14px;margin:0;padding:14px 18px;background:#333;color:#fff;border:0;}
.k4u-cv-group__door{flex:none;width:28px;height:40px;object-fit:cover;border-radius:2px;background:#fff;}
.k4u-cart-v2 .k4u-cv-group__name{flex:1 1 200px;margin:0 !important;font-family:var(--k4u-head) !important;font-size:18px !important;line-height:24px !important;font-weight:700 !important;color:#fff !important;}
.k4u-cart-v2 .k4u-cv-group__n{font-size:14px !important;color:#fff;opacity:.85;}
.k4u-cart-v2 .k4u-cv-group__sub,.k4u-cart-v2 .k4u-cv-group__sub *{font-family:var(--k4u-head) !important;font-size:18px !important;font-weight:700 !important;color:#fff !important;}
.k4u-cv-asm{display:flex;flex-direction:column;gap:6px;padding:14px 18px;background:var(--k4u-soft);border-bottom:1px solid var(--k4u-line);}
.k4u-cv-asm:last-child{border-bottom:0;}
.k4u-cv-asm__row,.k4u-cv-master{display:flex;align-items:flex-start;gap:12px;margin:0;cursor:pointer;}
.k4u-cv-asm__row input,.k4u-cv-master input{flex:none;width:20px;height:20px;margin:1px 0 0;accent-color:#333;cursor:pointer;}
.k4u-cart-v2 .k4u-cv-asm__row span,.k4u-cart-v2 .k4u-cv-asm__row span *{font-size:15px !important;line-height:22px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-asm__row b{font-weight:600 !important;}
.k4u-cart-v2 .k4u-cv-asm__note{margin:0 !important;padding-left:32px;font-size:13px !important;line-height:19px !important;font-style:italic;color:#777;}
.k4u-cv-set{display:flex;flex-direction:column;gap:14px;padding:18px;border-bottom:1px solid var(--k4u-line);}
.k4u-cv-set:last-child{border-bottom:0;}
.k4u-cv-set__top{display:flex;flex-wrap:wrap;align-items:flex-start;justify-content:space-between;gap:16px;}
.k4u-cv-set p{margin:0 !important;}
.k4u-cart-v2 .k4u-cv-set__title{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;font-size:16px !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-set__save{padding:2px 9px;border:1px solid var(--k4u-red);border-radius:999px;color:var(--k4u-red);font-size:12px !important;font-weight:600 !important;}
.k4u-cart-v2 .k4u-cv-set__meta{font-size:13px !important;color:#777;}
.k4u-cv-set__price{display:flex;flex-direction:column;align-items:flex-end;gap:2px;}
.k4u-cart-v2 .k4u-cv-set__price strong,.k4u-cart-v2 .k4u-cv-set__price strong *{font-family:var(--k4u-head) !important;font-size:18px !important;font-weight:700 !important;}
.k4u-cart-v2 .k4u-cv-set__price del,.k4u-cart-v2 .k4u-cv-set__price del *{font-size:13px !important;color:#777;}
.k4u-cart-v2 .k4u-cv-set__list summary{display:inline-flex;align-items:center;gap:6px;min-height:32px;font-size:14px !important;font-weight:600 !important;color:#333;cursor:pointer;list-style:none;}
.k4u-cv-set__list summary::-webkit-details-marker{display:none;}
.k4u-cv-set__list summary::after{content:"+";}
.k4u-cv-set__list[open] summary::after{content:"\2212";}
.k4u-cv-set__list ul{list-style:none;margin:4px 0 0;padding:0;}
.k4u-cv-set__list li{display:flex;justify-content:space-between;gap:12px;padding:7px 0;border-top:1px solid rgba(51,51,51,.08);}
.k4u-cart-v2 .k4u-cv-set__list li,.k4u-cart-v2 .k4u-cv-set__list li *{font-size:14px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-set__list li span:last-child,.k4u-cart-v2 .k4u-cv-set__list li span:last-child *{color:#777;}
.k4u-cv-set__foot{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:12px;}
.k4u-cart-v2 .k4u-cv-set__foot p{flex:1 1 260px;font-size:13px !important;color:#777;}
.k4u-cart-v2 .k4u-cv-remove{padding:0 !important;border:0 !important;background:none !important;color:#333 !important;font-size:13px !important;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}
.k4u-cart-v2 .k4u-cv-items{display:block;margin:0;padding:0;}
.k4u-cart-v2 .k4u-cv-item{display:flex !important;flex-wrap:wrap;align-items:center;gap:16px;margin:0;padding:18px;border:0;border-bottom:1px solid var(--k4u-line);border-radius:0;box-shadow:none;background:none;}
.k4u-cart-v2 .k4u-cv-item:last-child{border-bottom:0;}
.k4u-cart-v2 .k4u-cv-item__thumb{flex:none;width:72px;height:72px;border-radius:6px;background:var(--k4u-soft);overflow:hidden;}
.k4u-cv-item__thumb img{display:block;width:100%;height:100%;object-fit:contain;}
.k4u-cart-v2 .k4u-cv-item__body{flex:1 1 220px;min-width:0;display:flex;flex-direction:column;gap:4px;}
.k4u-cart-v2 .k4u-cv-sku{padding:0;background:none;font-size:12px !important;font-weight:400 !important;letter-spacing:.04em !important;color:#777;}
.k4u-cart-v2 .k4u-cv-item__name,.k4u-cart-v2 .k4u-cv-item__name a{font-size:15px !important;font-weight:600 !important;color:#333 !important;text-decoration:none;}
.k4u-cv-chips{display:flex;flex-wrap:wrap;gap:6px;}
.k4u-cart-v2 .k4u-cv-chips span{padding:2px 9px;border-radius:999px;background:var(--k4u-soft);font-size:12px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-item__ship,.k4u-cart-v2 .k4u-cv-item__ship *{font-size:13px !important;color:#777;}
.k4u-cart-v2 .k4u-cv-item__note{font-size:13px !important;color:#777;}
.k4u-cart-v2 .k4u-cv-qty{flex:none;display:flex;align-items:center;height:40px;padding:0 2px;box-sizing:border-box;border:1px solid rgba(51,51,51,.25);border-radius:999px;background:#fff;}
.k4u-cart-v2 .k4u-cv-qty__btn{width:36px;height:36px;padding:0 !important;border:0 !important;background:none !important;color:#333 !important;font-size:18px !important;cursor:pointer;}
.k4u-cart-v2 .k4u-cv-qty__input{width:30px;height:36px;padding:0 !important;border:0 !important;background:none !important;text-align:center;font-size:14px !important;font-weight:600 !important;-moz-appearance:textfield;}
.k4u-cv-qty__input::-webkit-outer-spin-button,.k4u-cv-qty__input::-webkit-inner-spin-button{-webkit-appearance:none;margin:0;}
.k4u-cart-v2 .k4u-cv-price{flex:none;display:flex;flex-direction:column;align-items:flex-end;gap:2px;min-width:100px;}
.k4u-cart-v2 .k4u-cv-price strong,.k4u-cart-v2 .k4u-cv-price strong *{font-family:var(--k4u-head) !important;font-size:16px !important;font-weight:700 !important;}
.k4u-cart-v2 .k4u-cv-price del,.k4u-cart-v2 .k4u-cv-price del *,.k4u-cart-v2 .k4u-cv-price__each,.k4u-cart-v2 .k4u-cv-price__each *{font-size:13px !important;color:#777;}

.k4u-cart-v2 .k4u-cv-side{position:sticky;top:16px;display:block;}
.k4u-cart-v2 .k4u-cv-summary{display:flex;flex-direction:column;gap:14px;padding:22px;border:1px solid var(--k4u-line);border-radius:8px;background:#fff;box-shadow:none;}
.k4u-cart-v2 .k4u-cv-summary__title{margin:0 !important;font-family:var(--k4u-head) !important;font-size:20px !important;font-weight:700 !important;}
.k4u-cart-v2 .cart-collaterals,.k4u-cart-v2 .cart_totals{float:none !important;width:100% !important;margin:0 !important;padding:0 !important;border:0 !important;background:none !important;box-shadow:none !important;}
.k4u-cart-v2 .cart_totals{display:flex;flex-direction:column;gap:14px;}
.k4u-cart-v2 .cart_totals>h2{display:none;}
.k4u-cv-master{align-items:center;gap:10px;padding:12px 14px;border-radius:8px;background:var(--k4u-soft);}
.k4u-cv-master input{width:18px;height:18px;margin:0;}
.k4u-cart-v2 .k4u-cv-master span,.k4u-cart-v2 .k4u-cv-master b{font-size:14px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-master b{font-weight:600 !important;}
.k4u-cart-v2 .k4u-cv-master em{display:block;font-style:normal;font-size:13px !important;color:#777;}
.k4u-cv-rows{display:flex;flex-direction:column;gap:14px;}
.k4u-cv-row{display:flex;justify-content:space-between;gap:12px;}
.k4u-cart-v2 .k4u-cv-row,.k4u-cart-v2 .k4u-cv-row *{font-size:14px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-row--save,.k4u-cart-v2 .k4u-cv-row--save *{color:var(--k4u-red) !important;}
.k4u-cart-v2 .k4u-cv-promo{margin:0;padding:0;border:0;background:none;}
.k4u-cart-v2 .k4u-cv-promo summary{display:flex;align-items:center;justify-content:space-between;min-height:36px;font-size:14px !important;font-weight:400 !important;color:#333;cursor:pointer;list-style:none;}
.k4u-cv-promo summary::-webkit-details-marker{display:none;}
.k4u-cv-promo summary::after{content:"+";}
.k4u-cv-promo[open] summary::after{content:"\2212";}
.k4u-cart-v2 .k4u-cv-promo__row{display:flex;gap:8px;padding:6px 0 0;}
.k4u-cart-v2 .k4u-cv-promo__row input{flex:1;min-width:0;height:44px;padding:0 14px !important;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff;font-size:14px !important;color:#333;}
.k4u-cart-v2 .k4u-cv-promo__row .k4u-cv-btn{flex:none;height:44px;padding:0 18px !important;font-size:14px !important;font-weight:600 !important;}
.k4u-cart-v2 .k4u-cv-promo__err{margin:6px 0 0 !important;font-size:13px !important;line-height:19px !important;color:var(--k4u-red);}
.k4u-cv-codes{display:flex;flex-wrap:wrap;gap:6px;margin-top:8px;}
.k4u-cart-v2 .k4u-cv-code{display:inline-flex;align-items:center;gap:6px;padding:4px 6px 4px 12px;border-radius:999px;background:rgba(51,51,51,.07);font-size:13px !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-code a{display:inline-flex;align-items:center;justify-content:center;width:20px;height:20px;font-size:16px !important;color:#333 !important;text-decoration:none;}
.k4u-cv-total{display:flex;align-items:baseline;justify-content:space-between;gap:12px;padding-top:14px;border-top:1px solid var(--k4u-line);}
.k4u-cart-v2 .k4u-cv-total>span{font-size:16px !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-total small{font-size:13px !important;font-weight:400 !important;color:#777;}
.k4u-cart-v2 .k4u-cv-total strong,.k4u-cart-v2 .k4u-cv-total strong *{font-family:var(--k4u-head) !important;font-size:26px !important;line-height:1.2 !important;font-weight:700 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-offers{margin:-6px 0 0 !important;font-size:13px !important;line-height:19px !important;color:#777;}
.k4u-cart-v2 .wc-proceed-to-checkout{margin:0;padding:0;}
.k4u-cart-v2 .wc-proceed-to-checkout .checkout-button{display:flex !important;align-items:center;justify-content:center;width:100%;height:54px;margin:0 !important;padding:0 !important;border:0 !important;border-radius:999px !important;background:#333 !important;color:#fff !important;font-size:16px !important;font-weight:600 !important;text-decoration:none;}
.k4u-cart-v2 .wc-proceed-to-checkout .checkout-button:hover{opacity:.9;}
.k4u-cart-v2 .k4u-cv-pay{margin:0;padding:0;border:0;text-align:center;}
.k4u-cv-pay img{max-width:100%;height:auto;}
.k4u-cv-assure{display:flex;flex-direction:column;gap:6px;padding-top:12px;border-top:1px solid var(--k4u-line);}
.k4u-cart-v2 .k4u-cv-assure p,.k4u-cart-v2 .k4u-cv-assure a{margin:0 !important;font-size:13px !important;color:#333 !important;}
.k4u-cv-assure a{text-decoration:underline;text-underline-offset:3px;}

.k4u-cart-v2 .k4u-cv-tips{margin:32px 0 0;padding:0;background:none;}
.k4u-cart-v2 .k4u-cv-tips__title{margin:0 0 14px !important;font-family:var(--k4u-head) !important;font-size:20px !important;font-weight:700 !important;}
.k4u-cart-v2 .k4u-cv-tips__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(320px,100%),1fr));gap:16px;}
.k4u-cart-v2 .k4u-cv-tip{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:0;border-radius:8px;background:var(--k4u-soft);}
.k4u-cart-v2 .k4u-cv-tip__title{margin:0 !important;font-size:16px !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-tip__desc,.k4u-cart-v2 .k4u-cv-inline{margin:0 !important;font-size:14px !important;line-height:21px !important;color:#333 !important;}
.k4u-cart-v2 .k4u-cv-inline{padding:0 !important;border:0 !important;background:none !important;text-decoration:underline;text-underline-offset:3px;cursor:pointer;}

.k4u-cart-v2 .k4u-cv-empty{display:flex;flex-direction:column;align-items:center;gap:14px;padding:56px 24px;border:1px solid var(--k4u-line);border-radius:8px;text-align:center;}
.k4u-cart-v2 .k4u-cv-empty__title{margin:0 !important;font-family:var(--k4u-head) !important;font-size:20px !important;font-weight:700 !important;}
.k4u-cv-empty__actions{display:flex;flex-wrap:wrap;justify-content:center;gap:12px;}
.k4u-cart-v2 .k4u-cv-empty .k4u-cv-btn{height:48px;padding:0 24px !important;font-size:15px !important;font-weight:600 !important;text-decoration:none;}
.k4u-cart-v2 .k4u-cv-empty .k4u-cv-btn--soft{border:1px solid #333 !important;}

.k4u-cv-confirm{background:rgba(51,51,51,.5) !important;}
.k4u-cv-confirm__box{border-radius:8px !important;}
.k4u-cv-confirm__title{margin:0 0 4px;font-family:"Open Sans",Arial,sans-serif;font-size:16px;font-weight:600;color:#333;}
.k4u-cv-confirm__title:empty{display:none;}
.k4u-cv-confirm__text{font-size:14px !important;color:#777 !important;}
.k4u-cv-confirm .k4u-cv-btn--soft{border:1px solid rgba(51,51,51,.25) !important;}

/* “How to measure” 弹窗（购物车页没有 template-level3.css） */
.woocommerce-cart .info-modal{position:fixed;inset:0;z-index:9999999;display:none;}
.woocommerce-cart .info-modal.is-open{display:block;}
.woocommerce-cart .info-modal__overlay{position:absolute;inset:0;background:rgba(51,51,51,.5);}
.woocommerce-cart .info-modal__panel{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);width:min(620px,calc(100% - 32px));max-height:calc(100% - 48px);padding:28px;box-sizing:border-box;border-radius:8px;background:#fff;overflow:auto;}
.woocommerce-cart .info-modal__close{position:absolute;top:12px;right:12px;width:36px;height:36px;padding:0 !important;border:0 !important;background:none !important;color:#333 !important;cursor:pointer;}
.woocommerce-cart .k4u-measure h3{margin:0 0 12px;font-family:var(--k4u-head);font-size:20px;font-weight:700;color:#333;}
.woocommerce-cart .k4u-measure p,.woocommerce-cart .k4u-measure li{font-family:"Open Sans",Arial,sans-serif;font-size:15px;line-height:1.55;color:#333;}
.woocommerce-cart .k4u-measure ol{margin:0 0 16px;padding-left:20px;}
.woocommerce-cart .k4u-measure__cta{display:flex;align-items:center;justify-content:center;height:48px;border-radius:999px;background:#333;color:#fff !important;font-family:"Open Sans",Arial,sans-serif;font-size:15px;font-weight:600;text-decoration:none;}

@media (max-width:1023px){
  .k4u-cart-v2 .k4u-cv-layout{grid-template-columns:minmax(0,1fr);}
  .k4u-cart-v2 .k4u-cv-side{position:static;}
}
@media (max-width:767px){
  .k4u-cart-v2 .k4u-cv-header__title h1{font-size:28px !important;line-height:34px !important;}
  .k4u-cart-v2 .k4u-cv-item{padding:14px;}
  .k4u-cart-v2 .k4u-cv-item__body{flex-basis:calc(100% - 88px);}
  .k4u-cart-v2 .k4u-cv-price{margin-left:auto;}
  .k4u-cart-v2 .k4u-cv-mbar{position:fixed;left:0;right:0;bottom:0;z-index:9990;display:flex;align-items:center;justify-content:space-between;gap:16px;padding:10px 16px;background:#fff;border-top:1px solid var(--k4u-line);box-shadow:0 -4px 16px rgba(51,51,51,.06);}
  .k4u-cart-v2 .k4u-cv-mbar__total span{font-size:12px !important;letter-spacing:0 !important;text-transform:none;color:#777;}
  .k4u-cart-v2 .k4u-cv-mbar__total b,.k4u-cart-v2 .k4u-cv-mbar__total b *{font-family:var(--k4u-head) !important;font-size:20px !important;font-weight:700 !important;}
  .k4u-cart-v2 .k4u-cv-mbar__cta{height:48px;padding:0 26px;font-size:15px !important;font-weight:600 !important;}
  body.woocommerce-cart{padding-bottom:72px;}
}

/* 2026-11-06 测试站核对后的修正 */
.cat-l3-hero .container,.category-all>.container,.k4u-sb>.container,.k4u-l3-extra>.container,.k4u-cart-v2 .container{padding-left:clamp(16px,3vw,32px) !important;padding-right:clamp(16px,3vw,32px) !important;box-sizing:border-box;}
.cat-l3-hero .k4u-set__ico text{font-size:7px !important;font-family:"Open Sans",Arial,sans-serif !important;}
.category-all .cat-l3-interior__label{white-space:normal !important;overflow-wrap:anywhere;text-align:center;}

/* 柜子卡片的铰链：Hinge + Left / Right 两个胶囊，选中的描粗加勾（设计稿） */
#k4u-cabinets .product-card--grid .product-card__option-group,.product-card--modal .product-card__option-group{display:flex !important;align-items:center;gap:8px;}
#k4u-cabinets .product-card--grid .product-card__option-title,.product-card--modal .product-card__option-title{flex:none;width:44px;margin:0 !important;font-size:13px !important;font-weight:400 !important;color:#777 !important;}
#k4u-cabinets .product-card--grid .product-card__option-buttons,.product-card--modal .product-card__option-buttons{flex-wrap:nowrap !important;gap:8px !important;}
#k4u-cabinets .product-card--grid .product-card__option-btn,.product-card--modal .product-card__option-btn{flex:0 0 auto !important;height:36px !important;min-height:0 !important;padding:0 12px !important;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;color:#333 !important;}
#k4u-cabinets .product-card--grid .product-card__option-btn.is-active,.product-card--modal .product-card__option-btn.is-active{border:2px solid #333 !important;padding:0 11px !important;}
#k4u-cabinets .product-card--grid .product-card__option-btn svg,.product-card--modal .product-card__option-btn svg,#k4u-cabinets .product-card__option-btn::after,.product-card--modal .product-card__option-btn::after,#k4u-cabinets .product-card__option-btn::before,.product-card--modal .product-card__option-btn::before{display:none !important;}
#k4u-cabinets .product-card__option-label,.product-card--modal .product-card__option-label{font-size:14px !important;color:#333 !important;}
#k4u-cabinets .is-active .product-card__option-label,.product-card--modal .is-active .product-card__option-label{font-weight:600 !important;}

#k4u-cabinets .product-card__addtocart a.added::after,.product-card--modal .product-card__addtocart a.added::after{display:none !important;}

.k4u-cart-v2{background:#fff !important;}
.k4u-cv-promo summary::after{width:auto !important;height:auto !important;margin:0 !important;border:0 !important;transform:none !important;content:"+" !important;font-size:18px;line-height:1;}
.k4u-cv-promo[open] summary::after{content:"\2212" !important;transform:none !important;}

/* 2026-11-06 John：严格按设计稿的结构和比例 */
/* 页头、面包屑和内容同一宽度，否则首屏看起来左边空一截 */
.k4u-topbar__inner,.k4u-main__inner,.k4u-nav__inner,.k4u-wrap.container,.cat-l3-breadcrumb .container{max-width:1280px !important;padding-left:clamp(16px,3vw,32px) !important;padding-right:clamp(16px,3vw,32px) !important;box-sizing:border-box;}
.cat-l3-hero{padding:20px 0 56px !important;margin:0 !important;}
.cat-l3-hero__inner{display:flex !important;flex-wrap:wrap;gap:48px !important;align-items:flex-start;grid-template-columns:none !important;}
.cat-l3-hero__inner>.cat-l3-gallery{flex:7 1 520px;min-width:0;}
.cat-l3-hero__inner>.cat-l3-hero__right{flex:5 1 400px;min-width:0;}
.k4u-sb{margin:0 !important;padding:40px 0 0 !important;}

/* Step 2：原来的线条图回来（John 11/06），5 块，Base 默认选中 */
.k4u-build-panel .group-tab{position:relative;padding:0 !important;justify-content:flex-start;align-items:stretch;gap:0;min-height:0;overflow:hidden;transition:border-color .15s;}
.k4u-build-panel .group-tab.is-active{padding:0 !important;border:1.5px solid #333 !important;background:#fff !important;}
.k4u-build-panel .group-tab:hover,.k4u-build-panel .group-tab:focus{border-color:#777 !important;background:#fff !important;}
.k4u-build-panel .group-tab.is-active:hover,.k4u-build-panel .group-tab.is-active:focus{border-color:#333 !important;}
.k4u-build-panel .group-tab>img{display:block !important;width:100%;height:150px;padding:14px 14px 6px;box-sizing:border-box;object-fit:contain;}
.k4u-build-panel .group-tab-ico{display:flex !important;position:absolute;top:10px;right:10px;width:18px;height:18px;box-sizing:border-box;align-items:center;justify-content:center;border:1.5px solid rgba(51,51,51,.25);border-radius:50%;background:#fff;}
.k4u-build-panel .group-tab-ico>span{display:block;width:8px;height:8px;border-radius:50%;background:none;}
.k4u-build-panel .group-tab.is-active .group-tab-ico{border-color:#333;}
.k4u-build-panel .group-tab.is-active .group-tab-ico>span{background:#333;}
.k4u-build-panel .group-tab>span{display:flex !important;flex-direction:row;flex-wrap:wrap;align-items:center;justify-content:center;gap:0 6px;padding:10px 8px !important;background:var(--k4u-soft) !important;color:#333 !important;text-align:center;}
.category-all .k4u-build-panel .group-tab>span{font-size:14px !important;line-height:20px !important;}
.k4u-build-panel .group-tab:hover>span{background:var(--k4u-soft) !important;color:#333 !important;}
.k4u-build-panel .group-tab.is-active>span,.k4u-build-panel .group-tab.is-active:hover>span{background:#333 !important;color:#fff !important;}
.category-all .k4u-build-panel .group-tab .group-tab__count{font-size:13px !important;color:#777 !important;}
.category-all .k4u-build-panel .group-tab.is-active .group-tab__count{color:#fff !important;}
.k4u-build-panel .group-tab>span .k4u-i,.k4u-build-panel .group-tab>span svg{color:inherit;}
.k4u-build-panel .group-tab--link .group-tab-ico{display:none !important;}

/* 筛选条白底 + 下边线；Shop By 子分类块设计稿没有 */
@media (min-width:993px){section.category-all .shop-sidebar{background:#fff !important;border:0 !important;border-bottom:1px solid var(--k4u-line) !important;border-radius:0 !important;padding-left:0 !important;padding-right:0 !important;}}

/* 柜子卡片顺序：图 → SKU → 名称 → 尺寸 → 价格 → 铰链 → 加购 */
#k4u-cabinets .product-card--grid{padding:16px !important;background:#fff !important;}
#k4u-cabinets .product-card--grid .product-card__inner{display:flex !important;flex-direction:column;gap:12px;height:100%;padding:0 !important;}
#k4u-cabinets .product-card--grid .product-card__main,#k4u-cabinets .product-card--grid .product-card__side,#k4u-cabinets .product-card--grid .product-card__middle{display:contents !important;}
#k4u-cabinets .product-card--grid .product-card__image{order:1;position:relative;width:auto !important;margin:0 !important;padding:0 0 22px !important;background:none !important;}
#k4u-cabinets .product-card--grid .product-card__image>img{display:block;width:100%;aspect-ratio:1;border-radius:6px;background:var(--k4u-soft);object-fit:contain;}
#k4u-cabinets .product-card--grid .product-card__sku{position:absolute;left:0;bottom:0;top:auto;padding:0 !important;border:0;border-radius:0;background:none !important;color:#777 !important;font-size:12px !important;font-weight:400 !important;letter-spacing:.04em !important;}
#k4u-cabinets .product-card--grid .product-card__top{order:2;margin:-10px 0 auto !important;padding:0 !important;}
#k4u-cabinets .product-card--grid .product-card__price{order:3;margin:0 !important;padding:0 !important;text-align:left !important;}
#k4u-cabinets .product-card--grid .product-card__price .amount,#k4u-cabinets .product-card--grid .product-card__price bdi{font-family:var(--k4u-head) !important;font-size:20px !important;font-weight:700 !important;}
#k4u-cabinets .product-card--grid .product-card__price .cat-card__price-vat{font-size:12px !important;color:#777 !important;}
#k4u-cabinets .product-card--grid .product-card__variant-area{order:4;margin:0 !important;padding:0 !important;}
#k4u-cabinets .product-card--grid .product-card__summary{display:none !important;}
#k4u-cabinets .product-card--grid .product-card_leos{order:5;margin:0 !important;padding:0 !important;}
#k4u-cabinets .product-card--grid .product-card__addtocart .button{height:44px !important;font-size:14px !important;font-weight:600 !important;}
#k4u-cabinets .product-card--grid .product-card__stepper{height:44px;border:1px solid #333 !important;background:#fff !important;color:#333 !important;}
#k4u-cabinets .product-card--grid .product-card__stepper span,#k4u-cabinets .product-card--grid .product-card__stepper b{font-size:14px !important;font-weight:600 !important;color:#333 !important;}
#k4u-cabinets .product-card--grid .product-card__stepper button{color:#333 !important;background:none !important;font-size:20px !important;}

@media (max-width:767px){
  .k4u-build-panel .main-groups-nav{grid-auto-columns:150px;}
  .k4u-build-panel .group-tab>img{height:110px;}
}

/* John 11/06：内容区加宽到 1440（FAQ 还是 880）。页头在这两个页面跟内容同宽，左边才对齐 */
.cat-l3-hero .container,.category-all>.container,.k4u-sb>.container,.k4u-l3-extra>.container,.k4u-cart-v2 .container,.cat-l3-breadcrumb .container,.k4u-topbar__inner,.k4u-main__inner,.k4u-nav__inner,.k4u-wrap.container,.k4u-cartbar__in{max-width:1440px !important;}

#k4u-cabinets .product-card--grid .product-card__price{display:flex !important;justify-content:flex-start !important;align-items:baseline;gap:6px;width:auto !important;}
#k4u-cabinets .product-card--grid .product-card__option-buttons{justify-content:flex-start !important;width:auto !important;}
#k4u-cabinets .product-card--grid .product-card__option-group{justify-content:flex-start !important;}
#k4u-cabinets .product-card--grid .product-card__image>img{background:#fff !important;}

/* John 11/06：所有选中状态的边框 1.5px，没有叠加的阴影或 outline；键盘焦点才显示 outline */
#k4u-cabinets .product-card--grid .product-card__option-btn.is-active,.product-card--modal .product-card__option-btn.is-active{border:1.5px solid #333 !important;padding:0 11.5px !important;box-shadow:none !important;outline:0 !important;}
.k4u-build-panel .cat-l3-interior__item.is-active{border:1.5px solid #333 !important;padding:11.5px !important;box-shadow:none !important;outline:0 !important;}
.k4u-build-panel .group-tab.is-active{box-shadow:none !important;outline:0 !important;}
section.category-all .shop-sidebar .filter-block.has-value .filter-title,section.category-all .shop-sidebar .filter-option:has(input:checked){border:1.5px solid #333 !important;box-shadow:none !important;outline:0 !important;}
.product-card__option-btn:focus,.cat-l3-interior__item:focus,.group-tab:focus,.k4u-pill:focus{outline:0 !important;box-shadow:none !important;}
.product-card__option-btn:focus-visible,.cat-l3-interior__item:focus-visible,.group-tab:focus-visible,.k4u-pill:focus-visible{outline:2px solid #333 !important;outline-offset:2px;}

/* 还没统一到品牌色的零散地方 */
.k4u-mfilter__btn{border-color:#333 !important;color:#333 !important;}
.k4u-credit-modal__eyebrow{color:#777 !important;}
.k4u-credit-modal__intro{color:#777 !important;}
.k4u-credit-modal__list{border-color:var(--k4u-line) !important;}
.category-all .filter-option{color:#333 !important;}
@media (max-width:767px){.k4u-cartbar__txt{font-size:13px;}.k4u-cartbar__btn{padding:0 16px;}}

/* =====================================================================
 * 字号表（John 11/06：字体的风格、大小、层次要统一）。款式页和购物车的文字都从这里取，放在文件最后，盖过上面的字号。
 * ===================================================================== */
:root{
  --s-head:"Sofia Pro","sofia pro M",Arial,sans-serif;--s-text:"Open Sans",Arial,sans-serif;
  --s-h1:40px;--s-h1l:46px;--s-h2:28px;--s-h2l:34px;--s-h3:18px;--s-h3l:24px;
  --s-plg:32px;--s-plgl:38px;--s-pcd:20px;--s-pcdl:26px;
  --s-body:16px;--s-bodyl:24px;--s-sec:14px;--s-secl:21px;--s-sm:13px;--s-sml:18px;--s-eye:12px;
}
@media (max-width:767px){:root{--s-h1:30px;--s-h1l:36px;--s-h2:22px;--s-h2l:28px;--s-h3:17px;--s-h3l:22px;--s-plg:28px;--s-plgl:34px;}}

/* H1 */
.cat-l3-hero .cat-l3-hero__title{font-family:var(--s-head) !important;font-size:var(--s-h1) !important;line-height:var(--s-h1l) !important;font-weight:700 !important;}
/* H2 */
.category-all .k4u-build-head h2,.k4u-l3-extra .k4u-l3-extra__title,.k4u-l3-faqband .k4u-l3-extra__title,.k4u-cart-v2 .k4u-cv-header__title h1,.k4u-cart-v2 .k4u-cv-empty__title,.k4u-cart-recommend h2{font-family:var(--s-head) !important;font-size:var(--s-h2) !important;line-height:var(--s-h2l) !important;font-weight:700 !important;letter-spacing:normal !important;}
/* H3 */
.cat-l3-hero .k4u-opt__title,.cat-l3-hero .k4u-set__title,.cat-l3-hero .cl-accordion__question,.k4u-sb .k4u-sb__title,.category-all .k4u-step-t,.category-all .subcat-section h2,.category-all .subcat-section h3,#k4u-cabinets .product-card--grid .product-card__title,#k4u-cabinets .product-card--grid .product-card__title *,.k4u-l3-extra .k4u-l3-more__name,.k4u-l3-faqband .k4u-l3-faq__item summary,.k4u-cart-v2 .k4u-cv-summary__title,.k4u-cart-v2 .k4u-cv-group__name,.k4u-cart-v2 .k4u-cv-set__title,.k4u-cart-v2 .k4u-cv-item__name,.k4u-cart-v2 .k4u-cv-item__name a,.k4u-cart-v2 .k4u-cv-tips__title,.k4u-cart-v2 .k4u-cv-tip__title{font-family:var(--s-head) !important;font-size:var(--s-h3) !important;line-height:var(--s-h3l) !important;font-weight:600 !important;letter-spacing:normal !important;}
/* 价格 */
.cat-l3-hero .k4u-bb__amount b,.k4u-cart-v2 .k4u-cv-total strong,.k4u-cart-v2 .k4u-cv-total strong *{font-family:var(--s-head) !important;font-size:var(--s-plg) !important;line-height:var(--s-plgl) !important;font-weight:700 !important;}
.cat-l3-hero .k4u-set__price b,#k4u-cabinets .product-card--grid .product-card__price .amount,#k4u-cabinets .product-card--grid .product-card__price bdi,.k4u-cart-v2 .k4u-cv-group__sub,.k4u-cart-v2 .k4u-cv-group__sub *,.k4u-cart-v2 .k4u-cv-set__price strong,.k4u-cart-v2 .k4u-cv-set__price strong *,.k4u-cart-v2 .k4u-cv-price strong,.k4u-cart-v2 .k4u-cv-price strong *,.k4u-cart-v2 .k4u-cv-mbar__total b,.k4u-cart-v2 .k4u-cv-mbar__total b *{font-family:var(--s-head) !important;font-size:var(--s-pcd) !important;line-height:var(--s-pcdl) !important;font-weight:700 !important;}
/* 正文 16/24 */
.cat-l3-hero .k4u-bb__intro,.cat-l3-hero__right .cl-accordion__content,.cat-l3-hero__right .cl-accordion__content *,.category-all .k4u-build-head p,.k4u-l3-faqband .k4u-l3-faq__item p,.k4u-cart-v2 .k4u-cv-asm__row span,.k4u-cart-v2 .k4u-cv-asm__row span *{font-family:var(--s-text) !important;font-size:var(--s-body) !important;line-height:var(--s-bodyl) !important;font-weight:400 !important;color:#333 !important;}
.cat-l3-hero__right .cl-accordion__content p{margin:0 0 12px !important;}
.cat-l3-hero__right .cl-accordion__content strong,.cat-l3-hero__right .cl-accordion__content b,.k4u-l3-faqband p strong,.k4u-cart-v2 .k4u-cv-asm__row b{font-family:inherit !important;font-size:inherit !important;line-height:inherit !important;font-weight:600 !important;color:inherit !important;}
/* 次要说明 14/21 #777 */
.cat-l3-hero .k4u-opt__text,.cat-l3-hero .k4u-opt__when,.cat-l3-hero .k4u-set__text,.cat-l3-hero .k4u-set__price span,.cat-l3-hero .k4u-bb__was,.cat-l3-hero .k4u-bb__vat,.k4u-sb .k4u-sb__desc,.category-all .k4u-step-s,#k4u-cabinets .product-card--grid .product-card__dims,#k4u-cabinets .product-card--grid .product-card__meta-item,.k4u-l3-extra .k4u-l3-more__price,.k4u-cart-v2 .k4u-cv-set__meta,.k4u-cart-v2 .k4u-cv-set__foot p,.k4u-cart-v2 .k4u-cv-item__ship,.k4u-cart-v2 .k4u-cv-item__ship *,.k4u-cart-v2 .k4u-cv-item__note,.k4u-cart-v2 .k4u-cv-price__each,.k4u-cart-v2 .k4u-cv-price__each *,.k4u-cart-v2 .k4u-cv-price del,.k4u-cart-v2 .k4u-cv-price del *,.k4u-cart-v2 .k4u-cv-set__price del,.k4u-cart-v2 .k4u-cv-set__price del *,.k4u-cart-v2 .k4u-cv-offers,.k4u-cart-v2 .k4u-cv-header__count,.k4u-cart-v2 .k4u-cv-set__list li span:last-child,.k4u-cart-v2 .k4u-cv-set__list li span:last-child *,.k4u-cv-confirm__text{font-family:var(--s-text) !important;font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;font-weight:400 !important;color:#777 !important;}
/* 同样 14/21，但是要读的数据，用 #333 */
.cat-l3-hero .k4u-bb__label,.cat-l3-hero .k4u-bb__offer,.cat-l3-hero .k4u-bb__offer span,.cat-l3-hero .k4u-specs dt,.cat-l3-hero .k4u-specs dd,.cat-l3-hero__right .k4u-checklist li,.k4u-cart-v2 .k4u-cv-row,.k4u-cart-v2 .k4u-cv-row *,.k4u-cart-v2 .k4u-cv-ship p,.k4u-cart-v2 .k4u-cv-ship p *,.k4u-cart-v2 .k4u-cv-master span,.k4u-cart-v2 .k4u-cv-promo summary,.k4u-cart-v2 .k4u-cv-set__list li,.k4u-cart-v2 .k4u-cv-set__list li *,.k4u-cart-v2 .k4u-cv-set__list summary,.k4u-cart-v2 .k4u-cv-tip__desc,.k4u-cart-v2 .k4u-cv-promo__row input,.k4u-cart-v2 .k4u-cv-promo__err,.k4u-cart-v2 .k4u-cv-assure p,.k4u-cartbar__txt{font-family:var(--s-text) !important;font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;}
.cat-l3-hero .k4u-specs dt{font-weight:400 !important;color:#777 !important;}
.cat-l3-hero .k4u-specs dd,.cat-l3-hero .k4u-bb__offer b,.k4u-cart-v2 .k4u-cv-master b,.k4u-cart-v2 .k4u-cv-set__list summary{font-weight:600 !important;}
.cat-l3-hero .k4u-bb__offer b{font-size:inherit !important;line-height:inherit !important;}
.k4u-cartbar__txt{color:#fff !important;font-weight:600;}
/* 小字 13/18 */
.cat-l3-hero .k4u-bb__chip,.cat-l3-hero .k4u-bb__rating,.category-all .group-tab__count,.k4u-cart-v2 .k4u-cv-group__n,.k4u-cart-v2 .k4u-cv-chips span,.k4u-cart-v2 .k4u-cv-sku,#k4u-cabinets .product-card--grid .product-card__sku,#k4u-cabinets .product-card--grid .product-card__option-title,#k4u-cabinets .product-card--grid .product-card__price .cat-card__price-vat,.k4u-cart-v2 .k4u-cv-master em,.k4u-cart-v2 .k4u-cv-total small,.k4u-cart-v2 .k4u-cv-code,.k4u-hinge-note span{font-family:var(--s-text) !important;font-size:var(--s-sm) !important;line-height:var(--s-sml) !important;letter-spacing:normal !important;}
/* 斜体说明 14/21 */
.cat-l3-hero .k4u-bb__note,.k4u-cart-v2 .k4u-cv-asm__note{font-family:var(--s-text) !important;font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;font-weight:400 !important;font-style:italic !important;color:#777 !important;}
/* 标签 12 大写 */
.cat-l3-hero .cat-l3-hero__subtitle,.cat-l3-hero .k4u-bb__deal,.k4u-cart-v2 .k4u-cv-set__save{font-family:var(--s-text) !important;font-size:var(--s-eye) !important;line-height:16px !important;font-weight:600 !important;letter-spacing:.07em !important;text-transform:uppercase;}
/* 按钮和链接 */
.cat-l3-hero .k4u-bb__build,.k4u-cart-v2 .wc-proceed-to-checkout .checkout-button,#k4u-cabinets .product-card--grid .product-card__addtocart .button,.k4u-cart-v2 .k4u-cv-mbar__cta,.k4u-cart-v2 .k4u-cv-empty .k4u-cv-btn--primary{font-family:var(--s-text) !important;font-size:16px !important;line-height:20px !important;font-weight:600 !important;letter-spacing:normal !important;}
.cat-l3-hero .k4u-set__add,.k4u-sb .k4u-sb__btn,.k4u-cartbar__btn,.k4u-cart-v2 .k4u-cv-promo__row .k4u-cv-btn,.k4u-cart-v2 .k4u-cv-empty .k4u-cv-btn--soft,.k4u-cv-confirm .k4u-cv-btn{font-family:var(--s-text) !important;font-size:15px !important;line-height:20px !important;font-weight:600 !important;}
.cat-l3-hero .k4u-bb__link,.k4u-cart-v2 .k4u-cv-link,.k4u-cart-v2 .k4u-cv-remove,.k4u-cart-v2 .k4u-cv-inline,.k4u-cart-v2 .k4u-cv-assure a,.cat-l3-hero .k4u-set__added,.cat-l3-hero .k4u-set__added a{font-family:var(--s-text) !important;font-size:14px !important;line-height:21px !important;font-weight:400 !important;text-decoration:underline;text-underline-offset:3px;}
.cat-l3-hero .k4u-set__added{text-decoration:none;}
/* 卖点 */
.cat-l3-hero .k4u-feats span{font-family:var(--s-text) !important;font-size:14px !important;line-height:20px !important;font-weight:600 !important;color:#333 !important;}
/* 间距：卡片里标题和说明之间 8px；文字不裁切 */
.k4u-opt{gap:8px;}
.k4u-set__body{gap:8px;}
.cat-l3-hero .k4u-set__text{overflow:visible !important;max-height:none !important;display:block !important;-webkit-line-clamp:none !important;}
.cat-l3-hero .k4u-set,.k4u-set__body{overflow:visible !important;height:auto !important;max-height:none !important;}
.cat-l3-hero__right .cl-accordion__content p,.cat-l3-hero__right .cl-accordion__content li{font-size:var(--s-body) !important;line-height:var(--s-bodyl) !important;}
.cat-l3-hero__right .k4u-checklist li,.cat-l3-hero__right .k4u-checklist__links,.cat-l3-hero__right .k4u-checklist__links a{font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;}

/* 手机两列卡片：Hinge 放在按钮上面靠左，加购按钮和电脑一样是圆角长条 */
@media (max-width:767px){
  #k4u-cabinets .product-card--grid{padding:12px !important;}
  #k4u-cabinets .product-card--grid .product-card__option-group{flex-direction:column;align-items:flex-start !important;gap:4px;}
  #k4u-cabinets .product-card--grid .product-card__option-title{width:auto !important;text-align:left !important;}
  #k4u-cabinets .product-card--grid .product-card__option-buttons{gap:6px !important;}
  #k4u-cabinets .product-card--grid .product-card__addtocart .button,#k4u-cabinets .product-card--grid .product-card__addtocart a{border-radius:999px !important;}
}

/* 底部合计条：一行放下；显示时藏起回到顶部按钮，否则盖住 Review cart */
.k4u-cartbar__txt{white-space:nowrap;overflow:hidden;text-overflow:ellipsis;}
.k4u-cartbar__txt span{font-weight:400;}
@media (max-width:767px){
  .k4u-cartbar__in{gap:10px;}
  .k4u-cartbar__txt span{font-size:12px;}
  .k4u-cartbar__btn{padding:0 16px !important;}
}

/* =====================================================================
 * Shop by（款式页 Step 2 下面）
 * ===================================================================== */
.k4u-shopby{display:none;flex-wrap:wrap;align-items:center;gap:10px 16px;margin:12px 0 0 !important;padding:16px 18px !important;border:0 !important;border-radius:8px;background:rgba(51,51,51,.05) !important;}
.k4u-shopby__label{flex:none;}
.category-all .k4u-shopby__label{font-family:var(--s-text) !important;font-size:14px !important;font-weight:600 !important;color:#333;}
.k4u-shopby .shop-by-group{display:flex;flex-wrap:wrap;gap:8px;margin:0 !important;padding:0 !important;}
.category-all .k4u-shopby .shop-by-tag{height:38px;min-height:0 !important;margin:0 !important;padding:0 14px !important;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;color:#333 !important;font-family:var(--s-text) !important;font-size:14px !important;line-height:20px !important;font-weight:400 !important;cursor:pointer;}
.category-all .k4u-shopby .shop-by-tag.is-active{border-color:#333 !important;background:#333 !important;color:#fff !important;font-weight:600 !important;}
.category-all .shop-by-wrapper:not(.k4u-shopby){display:none !important;}
.shop-by-mobile{display:none !important;}
.k4u-bar-label{flex:none;margin-right:6px;font-family:var(--s-text);font-size:14px;font-weight:600;color:#333;}
section.category-all .shop-sidebar.is-stuck .k4u-bar-label{display:none;}
@media (max-width:992px){.k4u-bar-label{display:none;}}
@media (max-width:767px){
  .k4u-shopby{flex-direction:column;align-items:flex-start;}
  .k4u-shopby .shop-by-group{flex-wrap:nowrap;max-width:100%;overflow-x:auto;padding-bottom:2px !important;}
  .category-all .k4u-shopby .shop-by-tag{flex:none;white-space:nowrap;}
}

/* =====================================================================
 * Flat Pack / Pre-Assembled 列表页（John 11/06 批准的设计稿）
 * ===================================================================== */
.lp-page{background:#fff !important;overflow:visible !important;}
.lp-page,.lp-page p,.lp-page li,.lp-page td,.lp-page th,.lp-page dt,.lp-page dd,.lp-page span,.lp-page label,.lp-page select,.lp-page input{font-family:var(--s-text);}
.lp-page .container{max-width:1440px !important;padding-left:clamp(16px,3vw,32px) !important;padding-right:clamp(16px,3vw,32px) !important;box-sizing:border-box;}
.lp-page .cat-hero__breadcrumb{background:none !important;padding:16px 0 0 !important;}
.lp-page .cat-hero__breadcrumb .woocommerce-breadcrumb,.lp-page .cat-hero__breadcrumb .woocommerce-breadcrumb a{font-family:var(--s-text);font-size:13px;color:#777 !important;}
.lp-page .cat-hero__breadcrumb .current{color:#333 !important;}
.lp-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;text-transform:none !important;color:#333;}
.lp-h2{margin:0 !important;font-family:var(--s-head) !important;font-size:var(--s-h2) !important;line-height:var(--s-h2l) !important;font-weight:700 !important;letter-spacing:-.01em;text-transform:none !important;text-align:left;color:#333;}
.lp-sub{margin:6px 0 0 !important;font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;color:#777;}
.lp-sub--narrow{max-width:760px;}
.lp-link{display:inline-flex;align-items:center;min-height:44px;font-size:14px;line-height:21px;color:#333 !important;text-decoration:underline;text-underline-offset:3px;}

/* 首屏 */
.lp-hero{padding:24px 0 48px;}
.lp-hero__in{display:flex;flex-wrap:wrap;gap:48px;align-items:center;}
.lp-hero__text{flex:6 1 460px;min-width:0;display:flex;flex-direction:column;gap:20px;}
.lp-eyebrow{align-self:flex-start;display:inline-flex;align-items:center;gap:8px;padding:6px 14px 6px 10px;border-radius:999px;background:rgba(51,51,51,.07);font-family:var(--s-text);font-size:12px;line-height:16px;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#333;}
.lp-eyebrow svg{flex:none;border:1px solid rgba(51,51,51,.18);border-radius:2px;box-sizing:content-box;}
.lp-intro{margin:0 !important;font-size:var(--s-body);line-height:var(--s-bodyl);color:#333;}
.lp-price{display:flex;flex-direction:column;gap:6px;padding-top:18px;border-top:1px solid var(--k4u-line);}
.lp-price p{margin:0 !important;}
.lp-price__label{display:inline-flex;align-items:center;gap:8px;font-size:14px;line-height:21px;color:#333;}
.lp-q{width:20px !important;height:20px !important;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(51,51,51,.07) !important;color:#333 !important;font-size:12px !important;font-weight:600 !important;line-height:20px !important;cursor:pointer;}
.lp-price__row{display:flex;flex-wrap:wrap;align-items:center;gap:8px 12px;}
.lp-price__row b{font-family:var(--s-head);font-size:var(--s-plg);line-height:var(--s-plgl);font-weight:700;color:#333;}
.lp-price__vat{font-size:14px;line-height:21px;color:#777;}
.lp-deal{padding:4px 12px;border-radius:999px;background:var(--k4u-red);color:#fff;font-size:12px;line-height:16px;font-weight:700;letter-spacing:.07em;}
.lp-price__sub{font-size:14px;line-height:21px;color:#777;}
.lp-actions{display:flex;flex-wrap:wrap;align-items:center;gap:12px 16px;}
.lp-btn{flex:1 1 240px;display:flex;align-items:center;justify-content:center;gap:10px;height:54px;padding:0 20px;border-radius:999px;background:#333;color:#fff !important;font-size:16px;font-weight:600;text-decoration:none;}
.lp-btn:hover{opacity:.9;}
.lp-offer{display:flex;align-items:center;gap:8px;margin:0 !important;font-size:14px;line-height:21px;color:#333;}
.lp-offer svg{flex:none;}
.lp-offer b{font-weight:600;color:var(--k4u-red);}
.lp-hero__imgs{flex:6 1 460px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:12px;}
.lp-hero__imgs img{display:block;width:100%;height:auto;aspect-ratio:4/3;object-fit:cover;border-radius:8px;}
.lp-hero__imgs .lp-hero__main{grid-column:span 2;aspect-ratio:16/10;}

/* 信任条 */
.lp-trust{border-top:1px solid var(--k4u-line);border-bottom:1px solid var(--k4u-line);}
.lp-trust ul{list-style:none;display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:8px;margin:0;padding:0;}
.lp-trust li{display:flex;flex-direction:column;align-items:center;gap:10px;padding:20px 6px;text-align:center;}
.lp-trust span{font-size:14px;line-height:20px;font-weight:600;color:#333;}

/* Shop 标题 + 切换卡片 */
.lp-shop{padding:56px 0 0;}
.lp-shop__in{display:flex;flex-wrap:wrap;align-items:flex-end;gap:16px 40px;}
.lp-shop__text{flex:1 1 520px;min-width:0;}
.lp-switch{flex:0 1 460px;min-width:0;display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;}
.lp-switch__card{position:relative;display:flex;flex-direction:column;gap:2px;padding:12px 14px;border:1px solid var(--k4u-line);border-radius:8px;text-decoration:none;}
a.lp-switch__card:hover{border-color:#777;}
.lp-switch__card.is-current{border:1.5px solid #777;}
.lp-switch__card b{font-family:var(--s-head);font-size:15px;line-height:20px;font-weight:600;color:#333;}
.lp-switch__card span:not(.k4u-opt__tick){font-size:13px;line-height:18px;color:#777;}

/* 筛选条 */
.lp-page .fc{--fc-line:rgba(51,51,51,.14);--fc-bg:#fff;--fc-soft:#FAF8F5;--fc-accent:#333;--fc-ink-2:#777;background:#fff !important;padding:0 !important;}
.lp-page .fc-bar{position:sticky;top:var(--k4u-stick,0px);z-index:30;margin:20px 0 0;border-top:0;border-bottom:1px solid var(--k4u-line);background:#fff;}
.lp-page .fc-bar__row{gap:10px;padding:12px 0;flex-wrap:wrap;}
.lp-page .fc-bar__label{font-family:var(--s-text);font-size:14px;font-weight:600;color:#333;margin-right:4px;}
.lp-page .fc-pill{height:40px;padding:0 14px;border:1px solid rgba(51,51,51,.25);font-family:var(--s-text);font-size:14px;font-weight:400;color:#333;}
.lp-page .fc-pill:hover{border-color:#777;}
.lp-page .fc-pill.has-value,.lp-page .fc-pill-wrap.is-open .fc-pill{border-color:#333;background:#333;color:#fff;}
.lp-page .fc-pill__count{margin:0 !important;padding:0 !important;min-width:0 !important;height:auto !important;border-radius:0 !important;background:none !important;color:inherit !important;font-size:14px !important;font-weight:400 !important;}
.lp-page .fc-pill__count::before{content:"· ";}
.lp-page .fc-drop{min-width:0;width:max-content;max-width:min(560px,calc(100vw - 32px));max-height:none;padding:14px;border:1px solid var(--k4u-line);border-radius:8px;box-shadow:0 8px 24px rgba(51,51,51,.1);}
.lp-page .fc-pill-wrap.is-open .fc-drop:not(.fc-drop--price){display:flex;flex-wrap:wrap;gap:8px;}
.lp-page .fc-swatches{display:flex;flex-wrap:wrap;gap:8px;}
.lp-page .fc-check,.lp-page .fc-swatch{display:inline-flex;align-items:center;gap:6px;height:36px;padding:0 14px;border:1px solid rgba(51,51,51,.25);border-radius:999px;background:#fff;font-family:var(--s-text);font-size:14px;font-weight:600;color:#333;cursor:pointer;}
.lp-page .fc-check:hover,.lp-page .fc-swatch:hover{border-color:#777;background:#fff;}
.lp-page .fc-check input{position:absolute;width:1px;height:1px;opacity:0;margin:0;}
.lp-page .fc-check:has(input:checked),.lp-page .fc-swatch.is-on{border:1.5px solid #333;background:rgba(51,51,51,.1);}
.lp-page .fc-swatch__dot{display:none;}
.lp-page .fc-opt-n{font-size:14px;font-weight:400;color:#777;}
.lp-page .fc-price__note{font-size:13px;color:#777;}
.lp-page .fc-bar__results{font-size:14px;line-height:21px;color:#777;white-space:nowrap;}
.lp-page .fc-sort{display:inline-flex;align-items:center;gap:8px;font-size:14px;color:#333;}
.lp-page .fc-sort select{height:40px;border:1px solid rgba(51,51,51,.25);font-family:var(--s-text);font-size:14px;color:#333;}
.lp-page .fc-active__clear{color:#333;}
.lp-page .fc-active__count{display:none;}
.lp-page .fc-chip{border-radius:999px;}

/* 卡片 */
.lp-page .fc>.container:last-of-type{padding-top:28px !important;padding-bottom:16px !important;}
.lp-page .fc-grid{grid-template-columns:repeat(auto-fill,minmax(min(340px,100%),1fr));gap:24px;}
.lp-page .fc-card{border:1px solid var(--k4u-line);border-radius:12px;background:#fff;transition:border-color .15s,box-shadow .15s;}
.lp-page .fc-card:hover{border-color:#777;box-shadow:0 0 0 1px #777;}
.lp-page .fc-card:hover .fc-card__media img{transform:none;}
.lp-page .fc-card__media{aspect-ratio:1024/755;border-bottom:1px solid rgba(51,51,51,.08);}
.lp-page .fc-card__media img{width:100%;height:100%;object-fit:cover;}
.lp-page .fc-card__preview{aspect-ratio:1024/755;grid-template-columns:34% 1fr;gap:18px;padding:18px;box-sizing:border-box;background:var(--k4u-soft);border-bottom:1px solid rgba(51,51,51,.08);align-items:center;}
.lp-page .fc-card__preview-img{background:none;}
.lp-page .fc-card__preview-info{display:flex;flex-direction:column;gap:10px;min-width:0;}
.lp-page .fc-card__specs{display:grid;grid-template-columns:auto 1fr;gap:4px 12px;margin:0;}
.lp-page .fc-card__specs dt{margin:0;font-size:13px;line-height:18px;font-weight:400;color:#777;}
.lp-page .fc-card__specs dd{margin:0;font-size:13px;line-height:18px;font-weight:600;color:#333;}
.lp-page .fc-card__preview .fc-btn{width:100%;height:38px;padding:0 10px;border:1px solid #333;border-radius:999px;background:#fff;color:#333;font-family:var(--s-text);font-size:13px;font-weight:600;}
.lp-page .fc-card__return{margin:0;font-size:13px;line-height:18px;color:#777;}
.lp-page .fc-card__body{display:flex;flex-direction:column;gap:12px;flex:1;padding:18px;}
.lp-page .fc-card__chips{display:flex;flex-wrap:wrap;gap:6px;}
.lp-page .fc-card__chips span{padding:4px 10px;border-radius:999px;background:rgba(51,51,51,.07);font-size:13px;line-height:16px;color:#333;}
.lp-page .fc-card__title{margin:0;font-family:var(--s-head);font-size:var(--s-h3);line-height:var(--s-h3l);font-weight:600;}
.lp-page .fc-card__title a{color:#333 !important;text-decoration:none;}
.lp-page .fc-card__kicker{margin:0 0 -10px;}
.lp-page .fc-example-btn{display:inline-flex;align-items:center;gap:6px;padding:0 !important;border:0 !important;background:none !important;font-family:var(--s-text);font-size:13px;line-height:18px;color:#777 !important;cursor:pointer;}
.lp-page .fc-info{display:inline-flex;align-items:center;justify-content:center;width:18px;height:18px;border:0;border-radius:50%;background:rgba(51,51,51,.07);color:#333;font-size:11px;font-weight:600;}
.lp-page .fc-card__price{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 8px;margin:0;font-family:var(--s-head);font-size:24px;line-height:30px;font-weight:700;color:#333;}
.lp-page .fc-card__vat{font-family:var(--s-text);font-size:13px;line-height:18px;font-weight:400;color:#777;}
.lp-page .fc-card__ship{display:flex;align-items:center;gap:8px;margin:0;font-size:13px;line-height:18px;color:#333;}
.lp-page .fc-card__cta{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:10px;margin-top:auto;}
.lp-page .fc-card__cta .fc-btn{height:44px;padding:0 10px;border:0;border-radius:999px;font-family:var(--s-text);font-size:14px;font-weight:600;}
.lp-page .fc-card__cta .fc-btn--primary{background:#333;color:#fff !important;}
.lp-page .fc-card__cta .fc-btn--primary:hover{background:#333;opacity:.9;}
.lp-page .fc-card__cta .fc-btn--secondary,.lp-page .fc-card__cta .fc-btn--secondary:hover{background:rgba(51,51,51,.08);color:#333;}
.lp-page .fc-more{margin:24px 0 0;}
.lp-page .fc-more__count{font-size:13px;color:#777;}
.lp-page .fc-more__bar{background:rgba(51,51,51,.12);}
.lp-page .fc-more__bar span{background:#333;}

/* 样门 */
.lp-sample{margin-top:32px;}
.lp-sample__doors{flex:none;display:flex;gap:6px;}
.lp-sample__doors img{display:block;width:34px;height:52px;object-fit:cover;border:1px solid rgba(51,51,51,.18);border-radius:2px;background:#fff;}
.lp-sample__t{margin:0 !important;font-family:var(--s-head) !important;font-size:var(--s-h3) !important;line-height:var(--s-h3l) !important;font-weight:700 !important;text-transform:none !important;color:#333;}
.lp-sample__d{margin:0 !important;font-size:14px;line-height:21px;color:#777;}
.lp-outline{flex:none;display:inline-flex;align-items:center;height:48px;padding:0 24px;border:1px solid #333;border-radius:999px;font-size:15px;font-weight:600;color:#333 !important;text-decoration:none;}
.lp-outline:hover{background:var(--k4u-soft);}

/* 对比 */
.lp-page .fp-pa-compare{padding:56px 0 0;background:none !important;}
.lp-page .fp-pa-compare__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(380px,100%),1fr));gap:20px;margin-top:20px;max-width:none;}
.lp-page .fp-pa-compare__card{position:relative;display:flex;flex-direction:column;padding:22px;border:1px solid var(--k4u-line);border-radius:12px;background:#fff;box-shadow:none;}
.lp-page .fp-pa-compare__card.is-here{border:1.5px solid #777;}
.lp-page .fp-pa-compare__card h3{margin:0 0 4px;font-family:var(--s-head);font-size:var(--s-h3);line-height:var(--s-h3l);font-weight:700;color:#333;}
.lp-page .fp-pa-compare__sub{margin:0 0 14px !important;font-size:14px;line-height:21px;color:#777;}
.lp-page .fp-pa-compare__card dl{margin:0;}
.lp-page .fp-pa-compare__card dl>div{display:grid;grid-template-columns:minmax(0,2fr) minmax(0,3fr);gap:12px;padding:9px 0;border-top:1px solid rgba(51,51,51,.08);}
.lp-page .fp-pa-compare__card dt{margin:0;font-size:14px;line-height:21px;font-weight:400;color:#777;}
.lp-page .fp-pa-compare__card dd{margin:0;font-size:14px;line-height:21px;font-weight:600;color:#333;}
.lp-page .fp-pa-compare__go{align-self:flex-start;margin-top:6px;font-weight:600;}

/* 例厨包含 */
.lp-inc{padding:56px 0 0;}
.lp-inc__row{display:flex;flex-wrap:wrap;gap:24px;margin-top:20px;}
.lp-inc__plan{flex:0 1 280px;aspect-ratio:1;display:flex;align-items:center;justify-content:center;border-radius:12px;background:rgba(51,51,51,.05);}
.lp-inc__card{flex:1 1 300px;min-width:0;padding:20px 22px;border:1px solid var(--k4u-line);border-radius:12px;}
.lp-inc__card h3{margin:0 0 10px;font-family:var(--s-head);font-size:var(--s-h3);line-height:var(--s-h3l);font-weight:700;color:#333;text-transform:none;}
.lp-inc__card ul{list-style:none;margin:0;padding:0;}
.lp-inc__card li{display:flex;gap:8px;padding:6px 0;border-top:1px solid rgba(51,51,51,.08);font-size:14px;line-height:21px;color:#333;}
.lp-inc__card li svg{flex:none;margin-top:2px;}
.lp-inc__no li{color:#777;}
.lp-note{margin:14px 0 0 !important;font-size:14px;line-height:21px;color:#777;}
.lp-note a{color:#333;text-decoration:underline;}

/* 下面的 SEO 内容：内容不变，统一字号和颜色 */
.lp-page .flat-routes,.lp-page .flat-cabinets,.lp-page .flat-finishes,.lp-page .flat-built,.lp-page .flat-ordering,.lp-page .flat-delivery,.lp-page .pa-example{padding:56px 0 0 !important;background:#fff !important;}
.lp-page .flat-delivery__panel{background:var(--k4u-soft) !important;border-radius:12px;margin-top:20px;}
.lp-page .flat-sec-title,.lp-page .flat-ranges-head__title{margin:0 0 8px !important;font-family:var(--s-head) !important;font-size:var(--s-h2) !important;line-height:var(--s-h2l) !important;font-weight:700 !important;letter-spacing:-.01em !important;text-transform:none !important;text-align:left !important;color:#333 !important;}
.lp-page .flat-sec-lead,.lp-page .flat-ranges-head__desc{max-width:880px !important;margin:0 0 20px !important;font-size:var(--s-body) !important;line-height:var(--s-bodyl) !important;text-align:left !important;color:#777 !important;}
.lp-page .flat-twocol{margin-top:20px;}
.lp-page .flat-twocol::before{background:var(--k4u-line) !important;}
.lp-page .flat-twocol p,.lp-page .flat-delivery p,.lp-page .flat-step__desc,.lp-page .flat-finish-card__desc,.lp-page .flat-finishes__note,.lp-page .flat-route-card__sub,.lp-page .flat-route-card__points li{font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;color:#777 !important;}
.lp-page .flat-twocol a,.lp-page .flat-delivery a,.lp-page .flat-step__desc a,.lp-page .flat-finishes__note a{color:#333 !important;text-decoration:underline;}
.lp-page .flat-route-card,.lp-page .flat-finish-card,.lp-page .flat-step,.lp-page .flat-table-wrap,.lp-page .flat-spec-table{border:1px solid var(--k4u-line) !important;border-radius:12px !important;background:#fff !important;box-shadow:none !important;}
.lp-page .flat-route-card__title,.lp-page .flat-finish-card__title,.lp-page .flat-step__title,.lp-page .flat-delivery__col-title{font-family:var(--s-head) !important;font-size:var(--s-h3) !important;line-height:var(--s-h3l) !important;font-weight:600 !important;color:#333 !important;text-transform:none !important;}
.lp-page .flat-route-card__btn,.lp-page .flat-finish-card__more{border-radius:999px !important;border:1px solid #333 !important;background:#fff !important;color:#333 !important;font-family:var(--s-text) !important;font-size:14px !important;font-weight:600 !important;}
.lp-page .flat-route-card__btn--here{border-color:transparent !important;background:rgba(51,51,51,.08) !important;}
.lp-page .flat-table th,.lp-page .flat-spec-table th{background:var(--k4u-soft) !important;color:#333 !important;font-family:var(--s-text) !important;font-size:14px !important;font-weight:600 !important;text-transform:none !important;}
.lp-page .flat-table td,.lp-page .flat-spec-table td{font-size:14px !important;line-height:21px !important;color:#333 !important;border-color:rgba(51,51,51,.08) !important;}
.lp-page .flat-step__num{color:#777 !important;font-family:var(--s-text) !important;font-size:12px !important;font-weight:600 !important;background:none !important;}
.lp-page .flat-built__grid,.lp-page .flat-ordering__grid{background:none !important;}

/* 指南 */
.lp-guides{padding:56px 0;}
.lp-guides__grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(min(240px,100%),1fr));gap:16px;margin-top:20px;}
.lp-guide{display:flex;flex-direction:column;gap:6px;padding:18px 20px;border:1px solid var(--k4u-line);border-radius:12px;color:#333 !important;text-decoration:none;transition:border-color .15s,box-shadow .15s;}
.lp-guide:hover{border-color:#777;box-shadow:0 0 0 1px #777;}
.lp-guide b{font-family:var(--s-head);font-size:var(--s-h3);line-height:var(--s-h3l);font-weight:600;}
.lp-guide span{font-size:13px;line-height:18px;color:#777;}
.lp-guide em{margin-top:6px;font-style:normal;font-family:var(--s-text);font-size:14px;font-weight:600;}

/* FAQ */
.lp-page .flat-faqs{padding:0 !important;background:var(--k4u-soft) !important;}
.lp-page .flat-faqs>.container{max-width:880px !important;padding-top:56px !important;padding-bottom:56px !important;}
.lp-page .flat-faqs .section-header{margin:0 0 12px !important;text-align:left;}
.lp-page .flat-faqs .cl-accordion{display:block !important;margin:0 !important;}
.lp-page .flat-faqs .cl-accordion__item{border:0 !important;border-top:1px solid var(--k4u-line) !important;border-radius:0 !important;background:none !important;box-shadow:none !important;}
.lp-page .flat-faqs .cl-accordion__header{min-height:56px;padding:0 !important;background:none !important;}
.lp-page .flat-faqs .cl-accordion__question{font-family:var(--s-head) !important;font-size:var(--s-h3) !important;line-height:var(--s-h3l) !important;font-weight:600 !important;color:#333;text-transform:none;}
.lp-page .flat-faqs .cl-accordion__icon{font-size:0 !important;width:auto;transform:none !important;}
.lp-page .flat-faqs .cl-accordion__icon::before{content:"+";font-size:20px;line-height:1;color:#333;}
.lp-page .flat-faqs .cl-accordion__item.is-open .cl-accordion__icon::before{content:"\2212";}
.lp-page .flat-faqs .cl-accordion__content{padding:0 0 16px !important;font-size:var(--s-body) !important;line-height:var(--s-bodyl) !important;color:#333 !important;}

/* 底部深色 */
.lp-page .flat-measure{padding:0 !important;background:#333 !important;}
.lp-page .flat-measure__grid{display:block;padding:48px 0;background:none !important;}
.lp-page .flat-measure__img{display:none !important;}
.lp-page .flat-measure__text{display:grid;grid-template-columns:minmax(0,1fr) auto;gap:10px 48px;align-items:center;max-width:none;padding:0 !important;}
.lp-page .flat-measure .lp-h2{grid-column:1;color:#fff !important;}
.lp-page .flat-measure .flat-sec-lead{grid-column:1;margin:0 !important;color:#fff !important;opacity:.85;font-size:var(--s-sec) !important;line-height:var(--s-secl) !important;max-width:none !important;}
.lp-page .flat-measure__actions{grid-column:2;grid-row:1 / span 2;display:flex;flex-wrap:wrap;gap:12px;margin:0 !important;}
.lp-page .flat-measure .flat-btn{height:52px;padding:0 26px;border-radius:999px;font-family:var(--s-text);font-size:15px;font-weight:600;text-transform:none;}
.lp-page .flat-measure .flat-btn--dark{border:1px solid #fff;background:#fff;color:#333 !important;}
.lp-page .flat-measure .flat-btn--outline{border:1px solid #fff;background:none;color:#fff !important;}

@media (max-width:767px){
  .lp-trust ul{grid-template-columns:repeat(2,minmax(0,1fr));}
  .lp-switch{flex-basis:100%;}
  .lp-page .fc-bar__results{order:9;flex-basis:100%;}
  .lp-page .fc-card__preview{aspect-ratio:auto;min-height:220px;}
  .lp-sample{flex-direction:column;align-items:flex-start;}
  .lp-outline{width:100%;justify-content:center;}
  .lp-page .flat-measure__text{grid-template-columns:minmax(0,1fr);}
  .lp-page .flat-measure__actions{grid-column:1;grid-row:auto;margin-top:8px !important;}
}

.lp-page .flat-faqs .cl-accordion__icon::after{display:none !important;}
.lp-page .flat-spec-table td,.lp-page .flat-spec-table th{text-transform:none !important;}

.lp-page .flat-faqs .cl-accordion__icon{display:inline-flex;align-items:center;justify-content:center;width:20px !important;height:20px !important;flex:none;margin:0 !important;padding:0 !important;border:0 !important;background:none !important;}
.lp-page .flat-faqs .cl-accordion__icon::before{position:static !important;display:block !important;width:auto !important;height:auto !important;margin:0 !important;background:none !important;transform:none !important;}
.lp-page .flat-faqs .cl-accordion__header{width:100%;box-sizing:border-box;}
.lp-page .flat-measure a:not(.flat-btn){color:#fff !important;text-decoration:underline;}

/* 手机也按设计稿的顺序：首屏在前，列表在后（原来的 flex + order 把列表提到了首屏上面） */
.lp-page{display:block !important;}
@media (max-width:767px){
  .lp-sample .k4u-sb__text{flex:0 0 auto;}
  .lp-page .fc-bar{margin-top:12px;}
  .lp-page .fc-bar__row{justify-content:flex-start;}
}

/* 手机 / 平板用 Filter / Sort 两个按钮，下拉排序不重复显示 */
@media (max-width:991px){.lp-page .fc-sort{display:none;}}

/* John 11/06：列表页首屏图片不要比左边文字高太多。大图占两列两行，两张小图叠在第三列 */
.lp-hero__imgs{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:repeat(2,minmax(0,1fr));aspect-ratio:16/10;max-height:520px;width:100%;}
.lp-hero__imgs img{width:100%;height:100%;min-height:0;aspect-ratio:auto;object-fit:cover;}
.lp-hero__imgs .lp-hero__main{grid-column:1 / span 2;grid-row:1 / span 2;aspect-ratio:auto;}
@media (max-width:767px){
  .lp-hero__imgs{display:block;aspect-ratio:auto;max-height:none;}
  .lp-hero__imgs img:not(.lp-hero__main){display:none;}
  .lp-hero__imgs .lp-hero__main{height:auto;aspect-ratio:4/3;}
}

/* John 11/06：固定筛选条。整行白底，下边一条线；左边 CATEGORY 分类，竖线，右边 FILTER 筛选，最右结果数。所有胶囊同一盒模型 */
section.category-all{overflow-x:clip;}
.k4u-stuck-label{display:none;flex:none;font-family:var(--s-text);font-size:12px;line-height:1;font-weight:600;letter-spacing:.08em;text-transform:uppercase;color:#777;}
.k4u-pill__n{margin-left:6px;font-size:13px;line-height:1;font-weight:400;color:#777;}
.k4u-pill.is-active .k4u-pill__n{color:rgba(255,255,255,.75);}
section.category-all .k4u-stuck-tabs .k4u-pill,section.category-all .k4u-mfilter .k4u-pill{display:inline-flex !important;align-items:center;justify-content:center;flex:none;height:40px !important;min-height:0 !important;margin:0 !important;padding:0 16px !important;box-sizing:border-box;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;color:#333 !important;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;font-weight:400 !important;text-decoration:none;white-space:nowrap;}
section.category-all .k4u-stuck-tabs .k4u-pill.is-active,section.category-all .k4u-mfilter .k4u-pill.is-active{border-color:#333 !important;background:#333 !important;color:#fff !important;font-weight:600 !important;}
@media (min-width:993px){
  section.category-all .shop-sidebar.is-stuck{position:sticky;display:flex !important;align-items:center !important;flex-wrap:nowrap;gap:10px;min-height:0;padding:12px 0 !important;border:0 !important;border-radius:0 !important;background:#fff !important;box-shadow:none !important;}
  section.category-all .shop-sidebar.is-stuck::before{content:"";position:absolute;top:0;bottom:0;left:50%;z-index:-1;width:100vw;transform:translateX(-50%);background:#fff;border-bottom:1px solid var(--k4u-line);}
  section.category-all .shop-sidebar.is-stuck .k4u-stuck-label{display:inline-block;}
  section.category-all .shop-sidebar.is-stuck .k4u-stuck-tabs{display:flex;align-items:center;gap:8px;flex:none;margin:0 10px 0 0;padding:0;}
  section.category-all .shop-sidebar.is-stuck .k4u-stuck-tabs::after{content:"";flex:none;width:1px;height:28px;margin-left:12px;background:rgba(51,51,51,.18);}
  section.category-all .shop-sidebar.is-stuck .filter-block{display:flex;align-items:center;}
  section.category-all .shop-sidebar.is-stuck .filter-title{display:inline-flex !important;align-items:center;height:40px !important;padding:0 14px !important;box-sizing:border-box;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;font-weight:400 !important;color:#333 !important;}
  section.category-all .shop-sidebar.is-stuck .filter-block.has-value .filter-title{border:1.5px solid #333 !important;}
  section.category-all .shop-sidebar.is-stuck .k4u-filter-count{margin:0 0 0 auto !important;font-size:14px !important;line-height:1;color:#777 !important;white-space:nowrap;}
  section.category-all .shop-sidebar.is-stuck .filter-clear-btn{font-size:14px !important;line-height:1;white-space:nowrap;}
}
@media (max-width:992px){
  section.category-all .k4u-mfilter.is-stuck{background:#fff !important;box-shadow:none !important;border-bottom:1px solid var(--k4u-line);}
  section.category-all .k4u-mfilter{flex-wrap:wrap !important;gap:8px !important;padding:8px 0 !important;background:#fff !important;}
  section.category-all .k4u-mfilter__tabs{display:flex !important;flex:1 0 100%;flex-wrap:nowrap !important;gap:8px;min-width:0;max-width:100%;overflow-x:auto;scrollbar-width:none;}
  section.category-all .k4u-mfilter__tabs::-webkit-scrollbar{display:none;}
  section.category-all .k4u-mfilter__btn{flex:1 0 100%;height:40px !important;min-height:0;margin:0 !important;padding:0 16px !important;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;color:#333 !important;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;font-weight:400 !important;}
}
@media (max-width:992px){section.category-all .k4u-mfilter{padding:8px 16px !important;box-sizing:border-box;}.k4u-mfilter .k4u-pill.is-active .k4u-pill__n{color:rgba(255,255,255,.75) !important;}}
@media (max-width:992px){section.category-all .k4u-mfilter.is-stuck,section.category-all .category-flex .k4u-mfilter{padding:8px 16px !important;margin-left:0 !important;margin-right:0 !important;left:auto !important;right:auto !important;box-sizing:border-box;}}
@media (max-width:992px){section.category-all .k4u-mfilter.is-stuck,section.category-all .category-flex .k4u-mfilter{margin-left:-16px !important;margin-right:-16px !important;width:auto;}}

/* John 11/06：所有文字链接一个样式，一眼看得出能点。卡片整块可点的（指南）不加下划线 */
body .lp-page .lp-link,body .cat-l3-hero .k4u-bb__link,body .lp-page .fp-pa-compare__go,body .k4u-cart-v2 .k4u-cv-link,body .cat-l3-hero .k4u-set__added a,body .lp-page .fc-active__clear,body .lp-page .fc-linkbtn,body section.category-all .shop-sidebar .filter-clear-btn{font-family:var(--s-text) !important;font-size:15px !important;line-height:21px !important;font-weight:600 !important;color:#333 !important;text-decoration:underline !important;text-decoration-thickness:1px !important;text-underline-offset:4px !important;}
body .k4u-cart-v2 .k4u-cv-remove,body .k4u-cart-v2 .k4u-cv-inline,body .k4u-cart-v2 .k4u-cv-assure a,body .lp-page .lp-note a,body .lp-page .flat-twocol a,body .lp-page .flat-delivery a,body .lp-page .flat-step__desc a,body .lp-page .flat-finishes__note a,body .lp-page .flat-measure .flat-sec-lead a,body .cat-l3-hero__right .k4u-checklist__links a{font-family:var(--s-text) !important;font-size:14px !important;font-weight:600 !important;color:#333 !important;text-decoration:underline !important;text-decoration-thickness:1px !important;text-underline-offset:4px !important;}
body .lp-page .flat-measure .flat-sec-lead a{color:#fff !important;}
body .lp-page .lp-link:hover,body .cat-l3-hero .k4u-bb__link:hover,body .lp-page .fp-pa-compare__go:hover,body .k4u-cart-v2 .k4u-cv-link:hover,body .cat-l3-hero .k4u-set__added a:hover,body .lp-page .fc-active__clear:hover,body .lp-page .fc-linkbtn:hover,body section.category-all .shop-sidebar .filter-clear-btn:hover,body .k4u-cart-v2 .k4u-cv-remove:hover,body .k4u-cart-v2 .k4u-cv-inline:hover,body .k4u-cart-v2 .k4u-cv-assure a:hover,body .lp-page .lp-note a:hover,body .lp-page .flat-twocol a:hover,body .lp-page .flat-delivery a:hover,body .lp-page .flat-step__desc a:hover,body .lp-page .flat-finishes__note a:hover,body .cat-l3-hero__right .k4u-checklist__links a:hover{color:#000 !important;text-decoration-thickness:2px !important;}
.lp-link:focus-visible,.k4u-bb__link:focus-visible,.fp-pa-compare__go:focus-visible,.k4u-cv-link:focus-visible,.k4u-cv-remove:focus-visible,.k4u-cv-inline:focus-visible,.k4u-set__added a:focus-visible,.fc-active__clear:focus-visible,.filter-clear-btn:focus-visible{outline:2px solid #333 !important;outline-offset:2px;}
body .lp-page .lp-guide em{text-decoration:none !important;}

/* John 11/06：回到顶部按钮不藏。底部合计条出现时，浮动按钮一起抬到条上面（条高 68 + 16），上下各隔 12 */
#back-to-top,.joinchat,.xoo-wsc-basket{transition:bottom .2s ease;}
body.k4u-has-cartbar #back-to-top{bottom:84px !important;}
body.k4u-has-cartbar .joinchat{bottom:134px !important;}
body.k4u-has-cartbar .xoo-wsc-basket{bottom:210px !important;}
@media (max-width:767px){
  body.woocommerce-cart #back-to-top{bottom:84px !important;}
  body.woocommerce-cart .joinchat{bottom:134px !important;}
  body.woocommerce-cart .xoo-wsc-basket{bottom:210px !important;}
}

/* John 11/06（照 Cabford）：购物车一行一个柜子，左右铰链各一个 − n + */
.k4u-cv-hinge{display:flex;flex-wrap:wrap;align-items:center;gap:8px 10px;margin-top:6px;}
.k4u-cart-v2 .k4u-cv-hinge__label{flex:none;width:44px;font-family:var(--s-text) !important;font-size:13px !important;line-height:18px !important;color:#777;}
.k4u-cv-hpill{position:relative;display:inline-flex;align-items:center;gap:6px;height:40px;padding:0 6px 0 14px;box-sizing:border-box;border:1px solid rgba(51,51,51,.25);border-radius:999px;background:#fff;}
.k4u-cv-hpill.is-on{border:1.5px solid #333;}
.k4u-cv-hpill .k4u-opt__tick{top:-8px;right:-6px;width:18px;height:18px;}
.k4u-cart-v2 .k4u-cv-hpill__name{margin-right:4px;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-hpill b{min-width:18px;text-align:center;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-hpill button{display:inline-flex;align-items:center;justify-content:center;width:28px;height:28px;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(51,51,51,.08) !important;color:#333 !important;font-family:var(--s-text) !important;font-size:16px !important;line-height:1 !important;cursor:pointer;}
.k4u-cart-v2 .k4u-cv-hpill button[disabled]{opacity:.35;cursor:default;}
.k4u-cart-v2 .k4u-cv-hpill button:focus-visible{outline:2px solid #333;outline-offset:1px;}
@media (max-width:767px){.k4u-cart-v2 .k4u-cv-hinge__label{flex-basis:100%;width:auto;}}

/* =====================================================================
 * 首页（2026-11-06，和款式页 / 列表页同一套）
 * ===================================================================== */
/* 表单：只留右边的卡片 */
@media (max-width:1199px){
}
@media (max-width:767px){
}

/* 首页修正 */

/* John 11/06：购物车柜子行和 Cabford 一样（用我们的颜色） */
.k4u-cart-v2 .k4u-cv-item{display:grid !important;grid-template-columns:72px minmax(0,1fr) auto;align-items:start;gap:10px 16px;}
.k4u-cart-v2 .k4u-cv-item__thumb{grid-row:1 / span 2;}
.k4u-cart-v2 .k4u-cv-item__body{gap:8px;}
.k4u-cv-item__head{display:flex;flex-wrap:wrap;align-items:center;gap:6px 10px;}
.k4u-cart-v2 .k4u-cv-sku{padding:3px 10px;border-radius:999px;background:rgba(51,51,51,.07);font-size:13px !important;line-height:18px !important;font-weight:600 !important;letter-spacing:0 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-item__name,.k4u-cart-v2 .k4u-cv-item__name a{font-family:var(--s-head) !important;font-size:17px !important;line-height:22px !important;font-weight:700 !important;}
.k4u-cart-v2 .k4u-cv-chips{align-items:center;}
.k4u-cart-v2 .k4u-cv-chips span{padding:4px 12px;background:rgba(51,51,51,.07);font-size:13px !important;line-height:18px !important;}
.k4u-cart-v2 .k4u-cv-chips span.is-dim{padding:3px 11px;border:1px solid #333;background:#fff;}
.k4u-cart-v2 .k4u-cv-chips em{margin-left:4px;font-style:normal;font-size:13px !important;line-height:18px !important;color:#777;}
.k4u-cv-item__meta{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;}
.k4u-cart-v2 .k4u-cv-item__meta,.k4u-cart-v2 .k4u-cv-item__meta span,.k4u-cart-v2 .k4u-cv-item__meta i,.k4u-cart-v2 .k4u-cv-item__meta a{font-style:normal;font-size:13px !important;line-height:18px !important;color:#777 !important;}
.k4u-cart-v2 .k4u-cv-item__meta a{text-decoration:underline;text-underline-offset:3px;}
.k4u-cart-v2 .k4u-cv-item__meta .k4u-cv-item__chip{padding:4px 12px;border-radius:999px;background:rgba(51,51,51,.07);color:#333 !important;}
.k4u-cv-aside{grid-column:3;grid-row:1 / span 2;display:flex;flex-direction:column;align-items:flex-end;gap:8px;min-width:120px;}
.k4u-cv-tot,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-qty{display:flex;align-items:center;gap:6px;height:auto;padding:0;border:0;background:none;}
.k4u-cart-v2 .k4u-cv-tot button,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-qty__btn{display:inline-flex;align-items:center;justify-content:center;width:32px;height:32px;padding:0 !important;border:0 !important;border-radius:50% !important;background:rgba(51,51,51,.08) !important;color:#333 !important;font-size:18px !important;line-height:1 !important;cursor:pointer;}
.k4u-cart-v2 .k4u-cv-tot b{min-width:28px;text-align:center;font-family:var(--s-text) !important;font-size:15px !important;font-weight:600 !important;color:#333;}
.k4u-cart-v2 .k4u-cv-aside .k4u-cv-qty__input{width:28px;}
.k4u-cart-v2 .k4u-cv-aside .k4u-cv-price{min-width:0;gap:2px;}
.k4u-cart-v2 .k4u-cv-aside .k4u-cv-price__each,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-price__each *{font-size:13px !important;line-height:18px !important;color:#777 !important;}
.k4u-cart-v2 .k4u-cv-aside .k4u-cv-price strong,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-price strong *{font-family:var(--s-head) !important;font-size:20px !important;line-height:26px !important;font-weight:700 !important;color:#333 !important;}
body .k4u-cart-v2 .k4u-cv-item .k4u-cv-remove{font-size:13px !important;line-height:18px !important;font-weight:400 !important;color:#777 !important;}
.k4u-cart-v2 .k4u-cv-item>.k4u-cv-hinge{grid-column:2;grid-row:2;margin:0;gap:8px 12px;}
.k4u-cart-v2 .k4u-cv-hinge__label{flex:none;width:auto;font-size:14px !important;line-height:20px !important;font-weight:600 !important;color:#333 !important;}
.k4u-cart-v2 .k4u-cv-hpill,.k4u-cart-v2 .k4u-cv-hpill.is-on{gap:6px;height:44px;padding:0 10px;border:0;border-radius:10px;background:rgba(51,51,51,.07);}
.k4u-cv-hpill__door{flex:none;}
.k4u-cart-v2 .k4u-cv-hpill .k4u-opt__tick{top:-7px;right:-7px;width:18px;height:18px;}
.k4u-cart-v2 .k4u-cv-hpill__name{margin-right:2px;}
.k4u-cart-v2 .k4u-cv-hpill button{width:26px;height:26px;background:#fff !important;}
@media (max-width:767px){
  .k4u-cart-v2 .k4u-cv-item{grid-template-columns:56px minmax(0,1fr) auto;gap:10px;}
  .k4u-cart-v2 .k4u-cv-item__thumb{grid-row:auto;width:56px;height:56px;}
  .k4u-cart-v2 .k4u-cv-item__body{flex-basis:auto;}
  .k4u-cv-aside{grid-row:1;min-width:0;}
  .k4u-cart-v2 .k4u-cv-item>.k4u-cv-hinge{grid-column:1 / -1;grid-row:2;}
  .k4u-cart-v2 .k4u-cv-hinge__label{flex-basis:100%;}
  .k4u-cart-v2 .k4u-cv-aside .k4u-cv-price{margin-left:0;}
}

.k4u-cart-v2 a.k4u-cv-warranty{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border-radius:999px;background:rgba(51,51,51,.07);font-family:var(--s-text) !important;font-size:13px !important;line-height:18px !important;color:#333 !important;text-decoration:none !important;}
.k4u-cv-warranty svg{flex:none;}
.k4u-cv-set__meta .k4u-cv-warranty{margin-left:6px;vertical-align:middle;}
.k4u-cart-v2 .k4u-cv-item__head{flex-wrap:nowrap;}
.k4u-cart-v2 .k4u-cv-item__head .k4u-cv-sku{flex:none;white-space:nowrap;}
@media (max-width:767px){.k4u-cart-v2 .k4u-cv-item__head{flex-wrap:wrap;}}

/* 改数量时只有这一行有轻微状态，页面其他地方照常可用 */
.k4u-cart-v2 .k4u-cv-item.is-saving .k4u-cv-price strong{opacity:.55;}
.k4u-cart-v2 .is-saving.k4u-cv-asm,.k4u-cart-v2 .is-saving.k4u-cv-master{opacity:.7;}
.k4u-cv-hpill:not(.is-on) .k4u-opt__tick{display:none;}
.k4u-cart-v2 .k4u-cv-rowerr{margin:0 !important;font-size:13px !important;color:var(--k4u-red);text-align:right;}
.k4u-cart-v2 .k4u-cv-item[hidden]{display:none !important;}
.k4u-cart-v2 .k4u-cv-n{font-weight:400 !important;}
/* John 11/06：缩略图放大、上下居中 */
.k4u-cart-v2 .k4u-cv-item{grid-template-columns:128px minmax(0,1fr) auto;gap:10px 20px;}
.k4u-cart-v2 .k4u-cv-item__thumb{align-self:center;width:128px;height:128px;border-radius:8px;background:#fff;}
.k4u-cart-v2 .k4u-cv-item__thumb a{display:block;width:100%;height:100%;}
.k4u-cart-v2 .k4u-cv-item__thumb img{width:100%;height:100%;object-fit:contain;}
@media (max-width:767px){
  .k4u-cart-v2 .k4u-cv-item{grid-template-columns:96px minmax(0,1fr);grid-template-areas:"thumb aside" "body body" "hinge hinge";gap:10px 12px;}
  .k4u-cart-v2 .k4u-cv-item__thumb{grid-area:thumb;width:96px;height:96px;}
  .k4u-cart-v2 .k4u-cv-item__body{grid-area:body;}
  .k4u-cv-aside{grid-area:aside;}
  .k4u-cart-v2 .k4u-cv-item>.k4u-cv-hinge{grid-area:hinge;}
}

/* 款式页卡片：每边数量写在铰链按钮上，整套里的单独一行 */
.product-card__option-n{font-size:13px;font-weight:600;color:#333;}
.product-card__inset{flex-basis:100%;margin:6px 0 0 !important;text-align:center;font-size:13px !important;line-height:18px !important;color:#777;}

/* John 11/06：两种方式只是说明，不是按钮 */
.k4u-ways{display:flex;flex-direction:column;gap:8px;}
.k4u-ways p{margin:0 !important;}
.cat-l3-hero .k4u-ways__label{font-size:12px !important;line-height:16px !important;font-weight:600 !important;letter-spacing:.08em !important;text-transform:uppercase;color:#777;}
.k4u-ways__grid{position:relative;display:grid;grid-template-columns:minmax(0,1fr) minmax(0,1fr);border-top:1px solid var(--k4u-line);border-bottom:1px solid var(--k4u-line);}
.k4u-ways__grid::after{content:"";position:absolute;top:14px;bottom:14px;left:50%;width:1px;background:var(--k4u-line);}
.k4u-way{display:flex;gap:12px;align-items:flex-start;padding:14px 16px 14px 0;color:#777;cursor:default;}
.k4u-way+.k4u-way{padding:14px 0 14px 16px;}
.k4u-way.is-current{color:#333;}
.k4u-way>svg{flex:none;}
.k4u-way__text{min-width:0;}
.cat-l3-hero .k4u-way__name{display:flex;flex-wrap:wrap;align-items:center;gap:4px 8px;font-size:15px !important;line-height:21px !important;font-weight:600 !important;color:#777;}
.cat-l3-hero .k4u-way.is-current .k4u-way__name{font-weight:700 !important;color:#333;}
.cat-l3-hero .k4u-way__tag{padding:2px 6px;border-radius:4px;background:#333;color:#fff;font-size:11px !important;line-height:14px !important;font-weight:600 !important;letter-spacing:.04em !important;text-transform:uppercase;}
.cat-l3-hero .k4u-way__line{font-size:13px !important;line-height:19px !important;color:#777;}
.cat-l3-hero .k4u-ways__note{font-size:13px !important;line-height:19px !important;color:#777;}
@media (max-width:480px){
  .k4u-ways__grid{grid-template-columns:minmax(0,1fr);}
  .k4u-ways__grid::after{display:none;}
  .k4u-way,.k4u-way+.k4u-way{padding:14px 0;}
  .k4u-way+.k4u-way{border-top:1px solid var(--k4u-line);}
}

.k4u-way,.k4u-way__text{min-width:0;}
.cat-l3-hero .k4u-way__line,.cat-l3-hero .k4u-way__name{white-space:normal !important;overflow:visible !important;overflow-wrap:anywhere;}

/* John 11/06：相册改回主图 + 一排可滑动的小图 */
.k4u-thumbs{position:relative;min-width:0;}
#catGalleryThumbs{display:block;width:100%;margin:0 !important;overflow:hidden;}
#catGalleryThumbs .swiper-slide{width:88px !important;height:65px !important;box-sizing:border-box;border:1.5px solid transparent;border-radius:6px;overflow:hidden;opacity:1 !important;cursor:pointer;}
#catGalleryThumbs .swiper-slide-thumb-active{border-color:#333 !important;}
#catGalleryThumbs img{display:block;width:100%;height:100%;border-radius:4px;object-fit:cover;}
.k4u-thumbs__nav{display:none;position:absolute;top:50%;z-index:3;align-items:center;justify-content:center;width:28px;height:28px;margin-top:-14px;padding:0 !important;box-sizing:border-box;-webkit-appearance:none;appearance:none;border:1px solid rgba(51,51,51,.25) !important;border-radius:50% !important;background:#fff !important;color:#333 !important;cursor:pointer;}
.k4u-thumbs__nav--prev{left:-6px;}
.k4u-thumbs__nav--next{right:-6px;}
.k4u-thumbs.has-nav .k4u-thumbs__nav{display:inline-flex;}
.k4u-thumbs__nav[disabled]{display:none !important;}
@media (max-width:767px){
  #catGalleryThumbs .swiper-slide{width:64px !important;height:48px !important;}
  .k4u-thumbs.has-nav .k4u-thumbs__nav{display:none;}
}

/* John 11/06：卡片按钮和数量框一个形状：胶囊，同高同宽 */
#k4u-cabinets .product-card--grid .product-card__addtocart,.product-card--modal .product-card__addtocart{width:100%;}
#k4u-cabinets .product-card__addtocart .button,#k4u-cabinets .product-card__addtocart>a,.product-card--modal .product-card__addtocart .button{display:flex !important;align-items:center;justify-content:center;width:100% !important;height:44px !important;min-height:44px !important;padding:0 12px !important;box-sizing:border-box;border:0 !important;border-radius:999px !important;background:#333 !important;color:#fff !important;font-family:var(--s-text) !important;font-size:14px !important;line-height:1 !important;font-weight:600 !important;text-decoration:none !important;}
#k4u-cabinets .product-card__stepper,.product-card--modal .product-card__stepper{display:flex;flex:1 1 100%;align-items:center;justify-content:space-between;width:100%;height:44px !important;padding:0 3px !important;box-sizing:border-box;border:1px solid #333 !important;border-radius:999px !important;background:#fff !important;}
#k4u-cabinets .product-card__stepper[hidden],.product-card--modal .product-card__stepper[hidden]{display:none !important;}
#k4u-cabinets .product-card__stepper button,.product-card--modal .product-card__stepper button{display:inline-flex;align-items:center;justify-content:center;flex:none;width:36px !important;height:36px !important;padding:0 !important;-webkit-appearance:none;appearance:none;border:0 !important;border-radius:50% !important;background:none !important;color:#333 !important;font-size:20px !important;line-height:1 !important;cursor:pointer;}
#k4u-cabinets .product-card__stepper button:hover,.product-card--modal .product-card__stepper button:hover{background:rgba(51,51,51,.07) !important;}

/* John 11/06 批准：铰链胶囊。款式页卡片、弹窗、购物车同一个形状、同一套图标（k4u_hinge_icon） */
#k4u-cabinets .product-card--grid .product-card__option-btn,.product-card--modal .product-card__option-btn{position:relative;display:inline-flex !important;align-items:center;justify-content:center;gap:8px;height:40px !important;padding:0 14px 0 10px !important;box-sizing:border-box;border:1.5px solid transparent !important;border-radius:10px !important;background:rgba(51,51,51,.07) !important;color:#333 !important;overflow:visible !important;}
#k4u-cabinets .product-card--grid .product-card__option-btn.is-active,.product-card--modal .product-card__option-btn.is-active{border:1.5px solid #333 !important;padding:0 14px 0 10px !important;}
#k4u-cabinets .product-card--grid .product-card__option-btn .k4u-hinge-ico,#k4u-cabinets .product-card--grid .product-card__option-btn .k4u-opt__tick svg,#global-product-modal .product-card--modal .product-card__option-btn .k4u-hinge-ico,#global-product-modal .product-card--modal .product-card__option-btn .k4u-opt__tick svg{display:block !important;flex:none;}
.product-card__option-btn .k4u-opt__tick,.k4u-cart-v2 .k4u-cv-hpill .k4u-opt__tick{top:-8px;right:-8px;width:18px;height:18px;}
.product-card__option-btn:not(.is-active) .k4u-opt__tick{display:none;}
.k4u-cart-v2 .k4u-cv-hpill,.k4u-cart-v2 .k4u-cv-hpill.is-on{gap:8px;height:40px;padding:0 6px 0 10px;box-sizing:border-box;border:1.5px solid transparent;border-radius:10px;background:rgba(51,51,51,.07);}
.k4u-cart-v2 .k4u-cv-hpill.is-on{border-color:#333;}
.k4u-cart-v2 .k4u-cv-hpill.is-on .k4u-cv-hpill__name{font-weight:600 !important;}
@media (max-width:480px){
  #k4u-cabinets .product-card--grid .product-card__option-btn,#k4u-cabinets .product-card--grid .product-card__option-btn.is-active{flex:1 1 0 !important;gap:4px;min-width:0;padding:0 6px !important;}
}

/* John 11/06：第 2 步的格子：不要单选圆点；文字条贴底，下面不留空 */
.k4u-build-panel .group-tab-ico{display:none !important;}
.k4u-build-panel .group-tab>span{flex:1 1 auto;background:rgba(51,51,51,.05) !important;}
.k4u-build-panel .group-tab{border:1px solid rgba(51,51,51,.14) !important;}
.k4u-build-panel .group-tab.is-active{border:1.5px solid #333 !important;}
.k4u-build-panel .group-tab.is-active>span,.k4u-build-panel .group-tab.is-active:hover>span{background:#333 !important;}
@media (max-width:767px){
  .k4u-build-panel .main-groups-nav{grid-auto-columns:150px !important;align-items:stretch;scrollbar-width:none;}
  .k4u-build-panel .main-groups-nav::-webkit-scrollbar{display:none;}
  /* Shop by 和分类：一行横滑，胶囊不拉伸 */
  .category-all .k4u-shopby{flex-direction:row !important;flex-wrap:nowrap;align-items:center;gap:10px;max-width:100%;padding:10px 12px !important;overflow-x:auto;scrollbar-width:none;}
  .category-all .k4u-shopby::-webkit-scrollbar,.category-all .k4u-shopby .shop-by-group::-webkit-scrollbar{display:none;}
  .category-all .k4u-shopby .shop-by-group{flex:none;flex-wrap:nowrap;width:auto !important;max-width:none;overflow:visible;padding:0 !important;}
  .category-all .k4u-shopby .shop-by-tag{flex:0 0 auto !important;width:auto !important;min-width:0 !important;max-width:none !important;height:36px !important;padding:0 14px !important;white-space:nowrap;}
  section.category-all .k4u-mfilter .k4u-pill{flex:0 0 auto !important;width:auto !important;height:36px !important;padding:0 14px !important;}
  /* 样门：门板图居中放大，文字和按钮在下面 */
  .k4u-sb .k4u-sb__box{flex-direction:column;flex-wrap:nowrap;align-items:stretch;gap:16px;}
  .k4u-sb .k4u-sb__img{align-self:center;width:96px !important;height:140px !important;object-fit:contain;border:1px solid rgba(51,51,51,.18);border-radius:4px;}
  .k4u-sb .k4u-sb__text{flex:none;}
  .k4u-sb .k4u-sb__btn{width:100%;}
}

/* John 11/06：柜子详情弹窗：底部操作区和卡片同一套，固定在弹窗底部 */
#global-product-modal .product-modal__panel{padding-bottom:0 !important;}
#global-product-modal .product-modal__inner{display:flex;flex-direction:column;flex:1 1 auto;height:auto !important;min-height:0;overflow-y:auto;padding-right:15px;}
#global-product-modal .product-modal__image,#global-product-modal .product-modal__content{flex:none;}
#global-product-modal .product-modal__description{flex:none;overflow:visible;margin-bottom:16px;}
.product-card.product-card--modal{position:sticky;bottom:0;z-index:2;display:flex;flex-direction:column;flex:none;gap:12px;width:auto;height:auto;min-height:0;margin:auto 0 0 !important;padding:14px 0 16px !important;border:0 !important;border-top:1px solid rgba(51,51,51,.14) !important;border-radius:0 !important;box-shadow:none !important;background:#fff !important;}
.product-card--modal .product-card__variant-area{margin:0 !important;padding:0 !important;background:none !important;}
.product-card--modal .product-card__side{display:flex !important;flex-direction:column;gap:12px;width:auto !important;margin:0 !important;padding:0 !important;background:none !important;}
.product-card--modal .product-card__price,.product-card--modal .product-card__price *:not(.cat-card__price-vat){font-family:var(--s-head) !important;font-size:20px !important;line-height:26px !important;font-weight:700 !important;color:#333 !important;}
.product-card--modal .cat-card__price-vat{font-family:var(--s-text) !important;font-size:12px !important;line-height:16px !important;font-weight:400 !important;color:#777 !important;}
body.product-modal-open #back-to-top,body.product-modal-open .joinchat,body.product-modal-open .xoo-wsc-basket,body.product-modal-open .k4u-cartbar{display:none !important;}
@media (max-width:767px){
  #global-product-modal .product-modal__panel{width:100%;max-width:100vw;padding:48px 16px 0 !important;box-sizing:border-box;}
  #global-product-modal .product-modal__inner{padding-right:0;}
}

/* John 11/06：购物车按钮写明样式，不吃主题默认的红框 */
.k4u-cart-v2 .k4u-cv-tot button,.k4u-cart-v2 .k4u-cv-hpill button,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-qty__btn{-webkit-appearance:none;appearance:none;margin:0;outline:0;box-shadow:none !important;min-height:0 !important;}
.k4u-cart-v2 .k4u-cv-tot button:focus-visible,.k4u-cart-v2 .k4u-cv-aside .k4u-cv-qty__btn:focus-visible{outline:2px solid #333;outline-offset:1px;}

/* 手机卡片窄：左右铰链上下排，带数量也放得下 */
@media (max-width:480px){
  #k4u-cabinets .product-card--grid .product-card__option-buttons{flex-direction:column !important;width:100%;}
  #k4u-cabinets .product-card--grid .product-card__option-btn,#k4u-cabinets .product-card--grid .product-card__option-btn.is-active{flex:none !important;width:100%;gap:8px;padding:0 10px !important;}
}
/* 弹窗底部：价格靠左，按钮和数量框铺满 */
#global-product-modal .product-card--modal .product-card__side{align-items:stretch !important;}
#global-product-modal .product-card--modal .product-card__price{display:flex;align-items:baseline;gap:6px;width:100%;margin:0 !important;text-align:left;justify-content:flex-start;}
#global-product-modal .product-card--modal .product-card__price,#global-product-modal .product-card--modal .product-card__price *:not(.cat-card__price-vat){font-family:var(--s-head) !important;font-size:20px !important;line-height:26px !important;font-weight:700 !important;color:#333 !important;}
#global-product-modal .product-card--modal .cat-card__price-vat{font-family:var(--s-text) !important;font-size:12px !important;line-height:16px !important;font-weight:400 !important;color:#777 !important;}
#global-product-modal .product-card--modal .product-card_leos{display:flex;width:100%;align-items:stretch;}
#global-product-modal .product-card--modal .product-card__stepper b,#global-product-modal .product-card--modal .product-card__stepper span{font-size:14px !important;font-weight:600 !important;color:#333 !important;}
#global-product-modal .product-card--modal .product-card__options{min-height:0 !important;height:auto !important;margin:0 !important;padding:0 !important;}
#catGalleryThumbs{padding:0 !important;}
#catGalleryThumbs .swiper-wrapper{padding:0 !important;margin:0 !important;}
/* 手机购物车：左右两个胶囊并排 */
@media (max-width:767px){
  .k4u-cart-v2 .k4u-cv-hpill,.k4u-cart-v2 .k4u-cv-hpill.is-on{flex:1 1 0;min-width:0;justify-content:space-between;gap:4px;padding:0 4px 0 8px;}
  .k4u-cart-v2 .k4u-cv-item>.k4u-cv-hinge{flex-wrap:wrap;}
  .k4u-cart-v2 .k4u-cv-hpill button{flex:none;}
}

/* John 11/06：柜体颜色格子。源图只有 120×150，图片框 116 高，不放大才清晰；名字一行，两格等宽；选中只看外框和小勾 */
.k4u-build-panel .cat-l3-interior__list{display:grid !important;grid-auto-flow:column;grid-auto-columns:1fr;width:max-content;max-width:100%;gap:12px !important;}
.k4u-build-panel .cat-l3-interior__item{position:relative;flex:none !important;width:auto !important;min-width:150px;padding:10px !important;gap:8px !important;}
.k4u-build-panel .cat-l3-interior__item.is-active{padding:9.5px !important;}
.k4u-build-panel .cat-l3-interior__swatch,.k4u-build-panel .cat-l3-interior__item.is-active .cat-l3-interior__swatch,.k4u-build-panel .cat-l3-interior__item:hover .cat-l3-interior__swatch,.k4u-build-panel .cat-l3-interior__item:not(.is-active):hover .cat-l3-interior__swatch{height:116px !important;padding:0 !important;border:1px solid rgba(51,51,51,.18) !important;border-radius:4px !important;box-shadow:none !important;outline:0 !important;background:#fff !important;}
.k4u-build-panel .cat-l3-interior__swatch img{object-fit:contain !important;}
.k4u-build-panel .cat-l3-interior__item .cat-l3-interior__swatch::after{display:none !important;}
.k4u-build-panel .cat-l3-interior__item.is-active::after{content:"";position:absolute;top:-8px;right:-8px;width:18px;height:18px;box-sizing:border-box;border:2px solid #fff;border-radius:50%;background:#777 url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='3.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 12.5l4.5 4.5L19 7.5'/%3E%3C/svg%3E") center/11px no-repeat;}
.category-all .cat-l3-interior__label{font-size:15px !important;line-height:20px !important;white-space:nowrap !important;overflow-wrap:normal;}
@media (max-width:767px){
  .k4u-build-panel .cat-l3-interior__list{width:100%;grid-template-columns:repeat(2,minmax(0,1fr));grid-auto-flow:row;}
  .k4u-build-panel .cat-l3-interior__item{min-width:0;}
  .category-all .cat-l3-interior__label{font-size:14px !important;}
}

/* John 11/06：小图大一些，主图加左右按钮（电脑鼠标移上去才显示，手机一直显示） */
#catGalleryMain{position:relative;}
#catGalleryThumbs .swiper-slide{width:132px !important;height:100px !important;border-radius:8px;}
#catGalleryThumbs img{border-radius:6px;}
.k4u-gal-nav{position:absolute;top:50%;z-index:5;display:inline-flex;align-items:center;justify-content:center;width:44px;height:44px;margin-top:-22px;padding:0 !important;-webkit-appearance:none;appearance:none;border:0 !important;border-radius:50% !important;background:rgba(255,255,255,.9) !important;box-shadow:0 2px 8px rgba(51,51,51,.18);cursor:pointer;transition:opacity .15s ease;}
.k4u-gal-nav--prev{left:12px;}
.k4u-gal-nav--next{right:12px;}
.k4u-gal-nav:focus-visible{outline:2px solid #333;outline-offset:2px;opacity:1 !important;}
@media (hover:hover) and (pointer:fine){
  .k4u-gal-nav{opacity:0;}
  #catGalleryMain:hover .k4u-gal-nav{opacity:1;}
}
@media (max-width:767px){
  #catGalleryThumbs .swiper-slide{width:88px !important;height:66px !important;}
}

/* 小分类下没有柜子时不显示标题（筛选、自动加载后都按实际卡片算） */
#k4u-cabinets .subcat-section:not(:has(.product-card)){display:none !important;}
@media (max-width:767px){.k4u-gal-nav{opacity:1 !important;}}
@media (max-width:992px){section.category-all .k4u-mfilter.no-tabs .k4u-mfilter__tabs{display:none !important;}}

/* John 11/06：手机一行一个柜子。左图右文，铰链和按钮在下面占满整行 */
@media (max-width:600px){
  #k4u-cabinets .subcat-products{grid-template-columns:minmax(0,1fr) !important;gap:10px;}
  #k4u-cabinets .product-card--grid .product-card__inner{display:grid !important;grid-template-columns:124px minmax(0,1fr);grid-template-rows:auto auto 1fr;column-gap:12px;row-gap:2px;align-items:start;}
  #k4u-cabinets .product-card--grid .product-card__image{display:contents !important;}
  #k4u-cabinets .product-card--grid .product-card__image>img{grid-column:1;grid-row:1 / span 3;display:block;width:124px !important;height:auto !important;max-height:150px;margin:0 !important;object-fit:contain;}
  #k4u-cabinets .product-card--grid .product-card__sku{grid-column:2;grid-row:1;position:static !important;margin:0 !important;}
  #k4u-cabinets .product-card--grid .product-card__top{grid-column:2;grid-row:2;margin:0 !important;}
  #k4u-cabinets .product-card--grid .product-card__dims{white-space:nowrap;}
  #k4u-cabinets .product-card--grid .product-card__price{grid-column:2;grid-row:3;align-self:end;margin-top:4px !important;}
  #k4u-cabinets .product-card--grid .product-card__variant-area{grid-column:1 / -1;grid-row:4;margin-top:10px !important;}
  #k4u-cabinets .product-card--grid .product-card_leos{grid-column:1 / -1;grid-row:5;margin-top:10px !important;}
  #k4u-cabinets .product-card--grid .product-card__option-group{flex-direction:row;align-items:center !important;gap:10px;width:100%;}
  #k4u-cabinets .product-card--grid .product-card__option-title{flex:none;width:auto !important;}
  #k4u-cabinets .product-card--grid .product-card__option-buttons{flex:1 1 auto;flex-direction:row !important;width:auto !important;gap:8px !important;}
  #k4u-cabinets .product-card--grid .product-card__option-btn,#k4u-cabinets .product-card--grid .product-card__option-btn.is-active{flex:1 1 0 !important;width:auto;min-width:0;padding:0 8px !important;}
}

/* John 11/06：手机筛选面板。在吸顶条下面展开，不用遮罩，宽 / 高 / 深 / 价格都在 */
@media (max-width:992px){
  section.category-all .k4u-mfilter__btn{display:inline-flex;align-items:center;justify-content:center;gap:8px;}
  section.category-all .k4u-mfilter__btn::after{content:"";width:7px;height:7px;margin-top:-3px;border-right:1.5px solid #333;border-bottom:1.5px solid #333;transform:rotate(45deg);}
  section.category-all .k4u-mfilter.is-open .k4u-mfilter__btn{border-color:#333 !important;}
  section.category-all .k4u-mfilter.is-open .k4u-mfilter__btn::after{margin-top:3px;transform:rotate(-135deg);}
  section.category-all .k4u-mfilter .shop-sidebar{display:none !important;position:absolute !important;top:100% !important;left:0 !important;right:0 !important;bottom:auto !important;z-index:40;width:auto !important;max-width:none !important;height:auto !important;max-height:60vh;margin:0 !important;padding:14px 16px 16px !important;box-sizing:border-box;overflow-y:auto;overscroll-behavior:contain;transform:none !important;transition:none !important;border:0 !important;border-top:1px solid rgba(51,51,51,.14) !important;border-radius:0 0 12px 12px !important;background:#fff !important;box-shadow:0 12px 24px rgba(51,51,51,.12);}
  section.category-all .k4u-mfilter.is-open .shop-sidebar{display:block !important;}
  section.category-all .k4u-mfilter .shop-sidebar>.mobile-filter-down,section.category-all .k4u-mfilter .shop-sidebar>.mobile-filter-icon,section.category-all .k4u-mfilter .shop-sidebar>.filters-title,section.category-all .k4u-mfilter .shop-sidebar>.k4u-stuck-tabs,section.category-all .k4u-mfilter .shop-sidebar>.k4u-stuck-label,section.category-all .k4u-mfilter .shop-sidebar>.k4u-bar-label{display:none !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-block{margin:0 0 12px !important;padding:0 !important;border:0 !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-title{display:block !important;height:auto !important;margin:0 0 6px !important;padding:0 !important;border:0 !important;background:none !important;font-family:var(--s-text) !important;font-size:13px !important;line-height:18px !important;font-weight:600 !important;color:#333 !important;pointer-events:none;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-title::before,section.category-all .k4u-mfilter .shop-sidebar .filter-title::after{display:none !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-block .filter-options,section.category-all .k4u-mfilter .shop-sidebar .filter-block:not(.is-open) .filter-options{display:flex !important;flex-wrap:wrap;gap:6px;width:auto !important;max-height:none !important;margin:0 !important;padding:0 !important;overflow:visible !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-block .price-slider,section.category-all .k4u-mfilter .shop-sidebar .filter-block:not(.is-open) .price-slider{display:block !important;width:auto !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option{position:relative;display:inline-flex !important;align-items:center;justify-content:center;width:auto !important;min-height:36px;margin:0 !important;padding:0 12px !important;box-sizing:border-box;border:1px solid rgba(51,51,51,.25) !important;border-radius:999px !important;background:#fff !important;font-family:var(--s-text) !important;font-size:14px !important;color:#333 !important;cursor:pointer;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option:has(input:checked){border-color:#333 !important;background:#333 !important;color:#fff !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option:has(input:checked) *{color:#fff !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option input{position:absolute;width:1px;height:1px;opacity:0;pointer-events:none;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option span{margin:0 !important;padding:0 !important;font-size:14px !important;}
  section.category-all .k4u-mfilter .shop-sidebar .filter-option span::before,section.category-all .k4u-mfilter .shop-sidebar .filter-option span::after{display:none !important;}
  section.category-all .k4u-mfilter .shop-sidebar .k4u-filter-count{display:inline-block;margin:4px 12px 8px 0 !important;font-size:14px !important;color:#777 !important;}
  section.category-all .k4u-mfilter .shop-sidebar .k4u-filter-chips{margin:0 0 8px;}
  section.category-all .k4u-mfilter .k4u-filter-done{display:flex;align-items:center;justify-content:center;width:100%;height:44px;margin:8px 0 0;padding:0 16px;-webkit-appearance:none;appearance:none;border:0;border-radius:999px;background:#333;color:#fff;font-family:var(--s-text);font-size:15px;font-weight:600;cursor:pointer;}
}

/* John 11/06：卡片上的 Add to Cart 和数量框同一个圆角（一个变量），换来换去形状不变 */
#k4u-cabinets,.product-card--modal{--k4u-act-r:8px;}
#k4u-cabinets .product-card--grid .product-card__addtocart .button,#k4u-cabinets .product-card__addtocart .button,#k4u-cabinets .product-card__addtocart>a,.product-card--modal .product-card__addtocart .button,#k4u-cabinets .product-card__stepper,.product-card--modal .product-card__stepper{border-radius:var(--k4u-act-r) !important;}
/* WooCommerce 加购后自动插入的 View cart 链接不要 */
.category-all a.added_to_cart,.product-modal a.added_to_cart,.product-card a.added_to_cart,.lp-page a.added_to_cart{display:none !important;}
@media (max-width:992px){
  section.category-all .k4u-mfilter .shop-sidebar .filter-options .filter-option.is-disabled,section.category-all .k4u-mfilter .shop-sidebar .filter-options .filter-option.is-filter-option-hidden{display:none !important;}
  section.category-all .k4u-mfilter .k4u-filter-done{position:sticky;bottom:-16px;z-index:2;box-shadow:0 0 0 8px #fff;}
}
#k4u-cabinets .product-card--grid .product-card__addtocart a.added_to_cart,#k4u-cabinets .product-card__addtocart a.added_to_cart,#global-product-modal .product-card--modal .product-card__addtocart a.added_to_cart{display:none !important;}

/* John 11/06：操作按钮统一用黑色按钮的圆角。标签、筛选胶囊、铰链胶囊不变 */
:root{--k4u-act-r:8px;}
body .cat-l3-hero .k4u-bb__build,body .cat-l3-hero .k4u-set__add,body .k4u-sb .k4u-sb__btn,body .k4u-cartbar .k4u-cartbar__btn,body .lp-page .lp-btn,body .lp-page .lp-outline,body .k4u-cart-v2 .k4u-cv-btn,body .k4u-cart-v2 .wc-proceed-to-checkout .checkout-button,body .k4u-cart-v2 .k4u-cv-mbar__cta,body .k4u-cv-confirm .k4u-cv-btn,body section.category-all .k4u-mfilter .k4u-filter-done{border-radius:var(--k4u-act-r) !important;}
