/* 11-18 內容套用：新增樣式（不動 v6.css） */
/* 首頁「夢想廚房」背景：金色立體 Binova 字要清楚，文字壓在下方暗部 */
.cta{display:flex;flex-direction:column;justify-content:flex-end;align-items:center;min-height:max(760px,62.5vw);padding-block:0 96px}
.cta__img{opacity:1;filter:none;object-fit:cover;object-position:50% 0;z-index:0}
.cta::after{content:"";position:absolute;inset:0;z-index:0;background:linear-gradient(180deg,rgba(0,0,0,0) 0%,rgba(0,0,0,0) 46%,rgba(0,0,0,.72) 78%,rgba(0,0,0,.85) 100%);pointer-events:none}
.cta__content{z-index:1}
@media(max-width:720px){.cta{min-height:780px;padding-block:0 64px}.cta__img{object-position:50% 0}}
/* 首頁影片區 */
.brand-video{width:min(1280px,calc(100% - 64px));margin:0 auto!important;padding:96px 0 0;text-align:center}
.brand-video__head h2{margin-bottom:28px}
.brand-video__player{display:block;width:100%;max-width:960px;aspect-ratio:16/9;margin:0 auto;background:#111;object-fit:contain}
@media(max-width:720px){.brand-video{width:min(100% - 40px,1280px);padding-top:64px}}
/* 展示中心照片 1:1 置中裁切 */
.showroom-gallery{width:min(1280px,calc(100% - 64px));margin-inline:auto}
@media(max-width:720px){.showroom-gallery{width:min(100% - 40px,1280px)}}
.showroom-gallery__grid{grid-template-columns:repeat(5,1fr)}
.showroom-gallery__grid img,.showroom-gallery__grid img:first-child,.showroom-gallery__grid img:nth-child(n){grid-column:auto!important;height:auto!important;width:100%;aspect-ratio:1/1;object-fit:cover;object-position:center}
@media(max-width:900px){.showroom-gallery__grid{grid-template-columns:repeat(3,1fr)}}
@media(max-width:600px){.showroom-gallery__grid{grid-template-columns:repeat(2,1fr)}}
/* 系列說明多段落 */
body:not(.home) .series-card__copy>p{margin-bottom:14px}
body:not(.home) .series-card__copy>p:last-of-type{margin-bottom:28px}
body:not(.home) .detail-page .page-intro>p+p{margin-top:14px}
/* 品牌故事／工廠 */
body:not(.home) .brand-story{width:min(820px,calc(100% - 64px));margin:0 auto 96px;text-align:center}
body:not(.home) .brand-story__en{font:italic 400 20px/1.6 var(--serif);color:#5f5d57}
body:not(.home) .factory-info{width:min(1280px,calc(100% - 64px));margin:0 auto 96px;display:grid;grid-template-columns:repeat(2,1fr);gap:24px}
body:not(.home) .factory-info article{background:#fff;padding:40px}
body:not(.home) .factory-info h4{margin:24px 0 8px;font-size:18px}
body:not(.home) .factory-info ul{margin:0;padding-left:1.2em}
body:not(.home) .factory-info li{margin-bottom:8px}
body:not(.home) .factory-points{margin:20px 0 0;padding-left:1.2em}
body:not(.home) .factory-points li{margin-bottom:8px}
@media(max-width:720px){body:not(.home) .brand-story,body:not(.home) .factory-info{width:min(100% - 40px,1280px)}body:not(.home) .factory-info{grid-template-columns:1fr}body:not(.home) .factory-info article{padding:28px}}

/* 相簿輪播 */
body:not(.home) .gallery-carousel{display:block!important;position:relative;width:min(1280px,calc(100% - 64px));margin:0 auto}
body:not(.home) .gallery-track{--gh:clamp(300px,40vw,540px);width:100%!important;max-width:100%!important;box-sizing:border-box;display:flex;gap:16px;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
body:not(.home) .gallery-track::-webkit-scrollbar{display:none}
body:not(.home) .gallery-track .gallery-item{flex:0 0 auto;width:auto!important;height:var(--gh);aspect-ratio:auto;scroll-snap-align:start;max-width:none!important;margin:0}
body:not(.home) .gallery-track .gallery-item img{height:var(--gh);width:auto!important;max-width:none;min-width:0;aspect-ratio:auto!important;display:block;object-fit:contain;transform:none}
body:not(.home) .gallery-carousel__btn{position:absolute;top:50%;z-index:2;width:48px;height:48px;margin-top:-24px;border:0;border-radius:50%;background:#1a1a19d9;color:#fff;font-size:22px;line-height:48px;text-align:center;cursor:pointer;padding:0}
body:not(.home) .gallery-carousel__btn--prev{left:12px}body:not(.home) .gallery-carousel__btn--next{right:12px}
body:not(.home) .gallery-carousel.at-start .gallery-carousel__btn--prev,body:not(.home) .gallery-carousel.at-end .gallery-carousel__btn--next{opacity:.25;pointer-events:none}
@media(max-width:720px){body:not(.home) .gallery-carousel{width:100%}body:not(.home) .gallery-track{padding-inline:20px;scroll-padding-inline:20px}body:not(.home) .gallery-track{--gh:min(70vw,420px)}body:not(.home) .gallery-carousel__btn{display:none}}

/* 手機選單：不透明深色底，完整蓋住後方內容 */
@media(max-width:720px){
body .site-header{z-index:1000}
body .site-header .primary-menu,body.home .site-header .primary-menu,body:not(.home) .site-header .primary-menu,body.home .site-header.is-scrolled .primary-menu{background:#1a1a19;opacity:1;z-index:1001;box-shadow:0 12px 24px rgba(0,0,0,.35)}
body .site-header .primary-menu a,body.home .site-header.is-scrolled .primary-menu a{color:#fff}
}
/* 11-18 Carol4：輪播（產品頁系列卡、廠區、展示中心）。scroll-snap＋箭頭＋小圓點 */
.jho-slider{position:relative;min-width:0}
.jho-slider__track{display:flex;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain}
.jho-slider__track::-webkit-scrollbar{display:none}
.jho-slider__slide{flex:0 0 100%;scroll-snap-align:start;aspect-ratio:var(--jr,3/2);overflow:hidden}
.jho-slider__slide img{display:block;width:100%;height:100%;object-fit:cover;transform:none!important}
.jho-slider__btn{position:absolute;top:50%;z-index:2;width:44px;height:44px;margin-top:-30px;border:0;border-radius:50%;background:#1a1a19d9;color:#fff;font-size:20px;line-height:44px;text-align:center;cursor:pointer;padding:0}
.jho-slider__btn--prev{left:10px}.jho-slider__btn--next{right:10px}
.jho-slider.at-start .jho-slider__btn--prev,.jho-slider.at-end .jho-slider__btn--next{opacity:.25;pointer-events:none}
.jho-slider__dots{position:absolute;left:0;right:0;bottom:10px;z-index:2;display:flex;justify-content:center;flex-wrap:wrap;gap:7px;padding:0 12px;pointer-events:none}
.jho-slider__dot{width:8px;height:8px;border-radius:50%;background:#ffffff8c;box-shadow:0 0 3px #0006}
.jho-slider__dot.is-active{background:#fff;transform:scale(1.25)}
@media(max-width:720px){.jho-slider__btn{display:none}}
.series-card__media.jho-slider{display:block}
.series-card__media.jho-slider img{transition:none}
/* 展示中心：1:1 方形輪播，桌機一次三張 */
.showroom-slider .jho-slider__slide{flex:0 0 calc((100% - 32px)/3);margin-right:16px;aspect-ratio:1/1}
@media(max-width:720px){.showroom-slider .jho-slider__slide{flex:0 0 82%;margin-right:12px}}
/* 義大利廠區輪播 */
.factory-panel .jho-slider{width:100%}
body:not(.home) .series-card__media.jho-slider{display:block;overflow:hidden;aspect-ratio:3/4;background:#eceae5}
body:not(.home) .series-card__media.jho-slider .jho-slider__track{height:100%}
body:not(.home) .series-card__media.jho-slider .jho-slider__slide{aspect-ratio:auto;height:100%}
body:not(.home) .series-card__media.jho-slider img{aspect-ratio:auto;height:100%}
@media(max-width:900px){body:not(.home) .series-card__media.jho-slider{aspect-ratio:4/3}}
.factory-panel .jho-slider{height:100%;min-height:380px;padding:0}
.factory-panel .jho-slider div{padding:0}
.factory-panel .jho-slider .jho-slider__dots{padding:0 12px}
.factory-panel .jho-slider__track{height:100%;min-height:380px}
.factory-panel .jho-slider__slide{aspect-ratio:auto;height:100%;min-height:380px}
.factory-panel .jho-slider__slide img{width:100%;height:100%;min-height:380px;max-width:none;object-fit:cover}
.factory-panel .jho-slider{min-height:440px}
.factory-panel .jho-slider__slide{position:relative;min-height:440px}
.factory-panel .jho-slider__slide img{position:absolute;inset:0;min-height:0}
@media(max-width:720px){.factory-panel .jho-slider,.factory-panel .jho-slider__slide{min-height:0;aspect-ratio:4/3}.factory-panel .jho-slider__track{min-height:0}}

/* 11-18 縮短頁面：多張照片／卡片一律單列左右滑（桌機一次 3 張、手機 1 張；箭頭＋圓點；不刪文字） */
.hs-wrap{position:relative;width:min(1280px,calc(100% - 64px));margin:0 auto 64px}
.collection .hs-wrap{width:100%;margin-bottom:0}
.collection .cards,.factory-gallery,.case-grid,.series-list,
body:not(.home) .factory-gallery,body:not(.home) .case-grid,body:not(.home) .series-list{display:flex!important;grid-template-columns:none!important;gap:24px!important;overflow-x:auto;scroll-snap-type:x mandatory;-webkit-overflow-scrolling:touch;scrollbar-width:none;overscroll-behavior-x:contain;width:100%!important;margin:0!important;row-gap:24px}
.collection .cards::-webkit-scrollbar,.factory-gallery::-webkit-scrollbar,.case-grid::-webkit-scrollbar,.series-list::-webkit-scrollbar{display:none}
.collection .cards>*,.factory-gallery>*,.case-grid>*,.series-list>*{flex:0 0 calc((100% - 48px)/3)!important;min-width:0;scroll-snap-align:start}
.collection .cards{margin-bottom:0!important}
/* 產品頁系列卡：改直式小卡（圖在上、文在下），只顯示封面，完整相簿在各系列頁 */
body:not(.home) .series-list .series-card,body:not(.home) .series-list .series-card:nth-child(even){display:block!important;direction:ltr;grid-template-columns:none}
body:not(.home) .series-list .series-card__media.jho-slider{aspect-ratio:4/3;margin-bottom:24px}
.series-list .jho-slider__slide:nth-child(n+2){display:none}
.series-list .jho-slider__btn,.series-list .jho-slider__dots{display:none}
body:not(.home) .series-list .series-card__copy h2{font-size:28px;margin-bottom:12px}
body:not(.home) .series-list .series-card__copy>p{font-size:16px;line-height:1.7;margin-bottom:12px;max-width:none}
.hs-btn{position:absolute;top:calc(50% - 40px);z-index:3;width:48px;height:48px;border:0;border-radius:50%;background:#1a1a19d9;color:#fff;font-size:22px;line-height:48px;text-align:center;cursor:pointer;padding:0}
.hs-btn--prev{left:-24px}.hs-btn--next{right:-24px}
@media(max-width:1380px){.hs-btn--prev{left:8px}.hs-btn--next{right:8px}}
.hs-wrap.at-start .hs-btn--prev,.hs-wrap.at-end .hs-btn--next,.gallery-carousel.at-start .gallery-carousel__btn--prev,.gallery-carousel.at-end .gallery-carousel__btn--next{opacity:.25;pointer-events:none}
.hs-dots{display:flex;justify-content:center;flex-wrap:wrap;gap:8px;margin-top:20px;pointer-events:none}
.hs-dots span{width:8px;height:8px;border-radius:50%;background:#1a1a1940}
.hs-dots span.is-active{background:#1a1a19;transform:scale(1.25)}
.hs-dots--gal{margin:16px 0 0}
@media(max-width:720px){
.hs-wrap{width:min(100% - 40px,1280px);margin-bottom:48px}
.collection .hs-wrap{width:min(100% - 40px,1280px)}
.collection .cards>*,.factory-gallery>*,.case-grid>*,.series-list>*{flex:0 0 100%!important}
.hs-btn{display:none}
}

/* 首頁透明標頭：新字標已是反白版，不再套轉白濾鏡，保留黃銅色 */
body.home .site-header .brand img,body.home .site-header:not(.is-scrolled) .brand img{filter:none!important}

/* 聯絡頁直式影片限高，頁面縮短 */
.showroom-video{width:auto!important;height:640px;max-width:100%!important;aspect-ratio:9/16;margin:28px auto 0!important}
@media(max-width:720px){.showroom-video{height:auto;width:100%!important;max-height:70vh}}

/* 11-18 箭頭加強：48px 黃銅框圓鈕、常駐、防誤點、圓點加大、卡片「查看 →」提示（後寫覆蓋前面各組箭頭） */
body .hs-btn,body:not(.home) .gallery-carousel__btn,.jho-slider__btn{display:block!important;width:48px;height:48px;padding:0;border:1px solid #b8955e;border-radius:50%;background:rgba(26,26,25,.85);color:#fff;font-family:"Helvetica Neue",Arial,sans-serif;font-weight:200;font-size:24px;line-height:46px;text-align:center;cursor:pointer;opacity:1;transition:background .2s,color .2s,opacity .2s;-webkit-tap-highlight-color:transparent}
.hs-btn::after,.gallery-carousel__btn::after,.jho-slider__btn::after{content:"";position:absolute;inset:-8px;border-radius:50%}
.hs-btn:hover,.hs-btn:focus-visible,.gallery-carousel__btn:hover,.gallery-carousel__btn:focus-visible,.jho-slider__btn:hover,.jho-slider__btn:focus-visible{background:#b8955e;color:#1a1a19;outline:none}
body:not(.home) .gallery-carousel__btn{top:calc(50% - 16px);margin-top:-24px}
.jho-slider__btn{top:50%;margin-top:-24px;z-index:3}
.jho-slider__btn--prev{left:12px}.jho-slider__btn--next{right:12px}
.hs-wrap.at-start .hs-btn--prev,.hs-wrap.at-end .hs-btn--next,.gallery-carousel.at-start .gallery-carousel__btn--prev,.gallery-carousel.at-end .gallery-carousel__btn--next,.jho-slider.at-start .jho-slider__btn--prev,.jho-slider.at-end .jho-slider__btn--next{opacity:.3;pointer-events:none}
.series-list .jho-slider__btn{display:none!important}
.hs-dots span{width:11px;height:11px;background:#1a1a1940}
.hs-dots span.is-active{background:#b8955e;transform:scale(1.2)}
.jho-slider__dot{width:10px;height:10px}
.jho-slider__dot.is-active{background:#b8955e;transform:scale(1.2)}
.hs-dots{gap:10px}
.hs-row,.jho-slider__track,.gallery-track{cursor:grab}
.hs-row.is-dragging,.jho-slider__track.is-dragging,.gallery-track.is-dragging{cursor:grabbing;scroll-snap-type:none!important;scroll-behavior:auto}
.hs-row img,.jho-slider__track img,.gallery-track img{-webkit-user-drag:none;user-select:none}
.cards__image{position:relative;overflow:hidden}
.cards__image::before{z-index:2;content:"查看 →";position:absolute;right:12px;bottom:12px;padding:6px 12px;background:rgba(26,26,25,.85);border:1px solid #b8955e;color:#fff;font:400 13px/1.2 var(--sans,sans-serif);letter-spacing:.06em;opacity:0;transform:translateY(4px);transition:opacity .2s,transform .2s;pointer-events:none}
.cards__image:hover::before,.cards__image:focus-visible::before{opacity:1;transform:none}
@media(max-width:720px){
body .hs-btn,body:not(.home) .gallery-carousel__btn,.jho-slider__btn{width:40px;height:40px;font-size:20px;line-height:38px}
.hs-btn::after,.gallery-carousel__btn::after,.jho-slider__btn::after{inset:-4px}
.hs-btn--prev{left:6px}.hs-btn--next{right:6px}
body:not(.home) .gallery-carousel__btn{margin-top:-20px}
body:not(.home) .gallery-carousel__btn--prev{left:6px}body:not(.home) .gallery-carousel__btn--next{right:6px}
.jho-slider__btn{margin-top:-20px}.jho-slider__btn--prev{left:6px}.jho-slider__btn--next{right:6px}
.cards__image::before{opacity:1;transform:none;font-size:12px;padding:5px 10px}
}
.hs-btn:focus,.gallery-carousel__btn:focus,.jho-slider__btn:focus{outline:none;box-shadow:none}
.hs-btn:focus-visible,.gallery-carousel__btn:focus-visible,.jho-slider__btn:focus-visible{outline:2px solid #b8955e;outline-offset:3px}

/* 11-19 服務精神整區刪除後：經營理念直接接願景，不留空隙 */
body:not(.home) .values + .vision{margin-top:0;border-top:1px solid #ffffff21}
