/* Native horizontal gallery keeps large construction histories easy to browse. */
.works-detail-page .wd-gallery-images .wd-carousel-wrap{display:flex!important;flex-wrap:nowrap!important;gap:14px;overflow-x:auto;scroll-snap-type:x mandatory;scroll-padding:0;overscroll-behavior-x:contain;padding-bottom:14px}
.works-detail-page .wd-gallery-images .wd-carousel-item{flex:0 0 100%;width:100%;min-width:0;scroll-snap-align:start;scroll-snap-stop:always}
.works-detail-page .wd-gallery-images .woocommerce-product-gallery__image img{width:100%;height:auto;aspect-ratio:4/3;object-fit:contain}
.works-detail-page .wd-gallery-images .wd-carousel-wrap::-webkit-scrollbar{height:7px}
.works-detail-page .wd-gallery-images .wd-carousel-wrap::-webkit-scrollbar-thumb{background:#91a48a;border-radius:8px}
.works-detail-page .wd-gallery-images .wd-carousel-wrap::-webkit-scrollbar-track{background:#e4e9e1;border-radius:8px}
.works-detail-page .wd-gallery-thumb{margin-top:10px}
.works-detail-page .summary-inner>.price:empty{display:none}
@media(max-width:760px){
 .works-detail-page .summary-inner>h1{margin-bottom:22px}
 .works-detail-page .product-image-summary-inner>.product-images{margin-bottom:24px}
 .works-detail-page .wd-gallery-images .wd-carousel-wrap{gap:10px}
}

.works-detail-page .product-images{min-width:0}
.works-detail-page .wd-gallery-images{border:1px solid #dce3d9;border-radius:20px;background:#edf2e7;overflow:hidden}
.works-detail-page .wd-gallery-images figure{margin:0}
.works-detail-page .wd-gallery-images .woocommerce-product-gallery__image{border:0;border-radius:0;background:#edf2e7}
.works-detail-page .wd-gallery-images .woocommerce-product-gallery__image img{max-height:65vh;min-height:240px;border-radius:0}
.works-detail-page .wd-gallery-thumb .wd-carousel-wrap{display:flex;gap:8px;overflow-x:auto;padding:8px 0;scrollbar-width:thin}
.works-detail-page .wd-gallery-thumb .wd-carousel-item{flex:0 0 76px;width:76px;cursor:pointer}
.works-detail-page .wd-gallery-thumb img{width:76px;height:62px;object-fit:cover;border:1px solid #dce3d9;border-radius:8px}
.works-gallery-controls{display:flex;align-items:center;gap:8px;margin-top:12px}
.works-gallery-controls button{min-height:44px;min-width:44px;padding:10px 14px;border:1px solid #cdd9c8;border-radius:10px;background:#edf2e7;color:#294e3e;font-size:14px;font-weight:600;cursor:pointer}
.works-gallery-controls button:last-child{margin-left:auto;background:#294e3e;color:#fff}
.works-gallery-controls button:disabled{opacity:.4;cursor:default}.works-gallery-controls output{min-width:60px;text-align:center;font-size:13px;color:#53634f}
.works-gallery-hint{font-size:12px;line-height:1.5;color:#64725f;margin:10px 0 22px}
.works-detail-page .woocommerce-tabs{margin-top:32px;padding:24px;border:1px solid #dce3d9;border-radius:20px;background:#fff}
.works-detail-page .woocommerce-Tabs-panel img{max-width:100%;height:auto;border-radius:12px}
@media(max-width:760px){.works-detail-page .wd-gallery-images .woocommerce-product-gallery__image img{min-height:0;max-height:55dvh}.works-detail-page .woocommerce-tabs{padding:18px 14px}.works-gallery-controls{gap:6px}.works-gallery-controls button{padding:9px 11px;font-size:13px}.works-gallery-controls output{min-width:48px}}
