/* pages.css — 由静态页内联样式自动合并，保证前台视觉一致 */

/* ===== about.html ===== */
/* about banner — w100 外層包裹，確保左右邊距對稱 */
        .about-banner{position:relative;overflow:hidden;}
        .about-banner img{display:block;width:100%;height:auto;object-fit:cover;object-position:center center;}
        .about-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;
            -webkit-transform:translateY(-50%);
            -moz-transform:translateY(-50%);
            -ms-transform:translateY(-50%);
            transform:translateY(-50%);
        }
        .about-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}

        /* about content */
        .about-main{width:100%;background-color:#fff;}
        .about-content{max-width:1140px;margin:0 auto;padding:90px 0;box-sizing:border-box;}
        .about-stars{text-align:center;font-family:"m-s";font-size:24px;font-weight:400;color:#666;line-height:1em;letter-spacing:2px;}
        .about-stars.top{margin-bottom:70px;}
        .about-stars.bottom{margin-top:70px;}
        .about-section{margin-bottom:55px;}
        .about-section:last-child{margin-bottom:0;}
        .about-section h2{font-size:46px;color:#666;font-weight:500;line-height:1.2em;margin-bottom:28px;font-family:"Montserrat",sans-serif;}
        .about-section p{font-size:22px;color:#666;line-height:1.7em;font-weight:400;font-family:"Montserrat",sans-serif;}

        /* ===== responsive: 1367px ===== */
        @media screen and (max-width:1367px){
            .about-banner-text{left:60px;padding:18px 38px;}
            .about-banner-text h1{font-size:42px;}
            .about-content{padding:70px 0;max-width:100%;}
            .about-section h2{font-size:38px;}
            .about-section p{font-size:20px;}
        }
        /* ===== responsive: 1024px ===== */
        @media screen and (max-width:1024px){
            .about-banner-text{left:30px;padding:14px 30px;}
            .about-banner-text h1{font-size:34px;}
            .about-content{padding:50px 0;max-width:100%;}
            .about-stars.top{margin-bottom:40px;}
            .about-stars.bottom{margin-top:40px;}
            .about-stars{font-size:20px;}
            .about-section{margin-bottom:36px;}
            .about-section h2{font-size:32px;margin-bottom:18px;}
            .about-section p{font-size:18px;line-height:1.6em;}
        }
        /* ===== responsive: 767px ===== */
        @media screen and (max-width:767px){
            .about-banner-text{left:16px;padding:10px 22px;}
            .about-banner-text h1{font-size:26px;}
            .about-content{padding:36px 16px;}
            .about-stars{font-size:16px;letter-spacing:1px;}
            .about-stars.top{margin-bottom:30px;}
            .about-stars.bottom{margin-top:30px;}
            .about-section{margin-bottom:28px;}
            .about-section h2{font-size:24px;margin-bottom:14px;}
            .about-section p{font-size:15px;line-height:1.6em;}
        }
        /* ===== responsive: 480px ===== */
        @media screen and (max-width:480px){
            .about-banner-text{left:12px;padding:8px 18px;}
            .about-banner-text h1{font-size:22px;}
            .about-content{padding:30px 12px;}
            .about-section h2{font-size:20px;}
            .about-section p{font-size:14px;}
        }

/* ===== our-product.html ===== */
/* ===== banner（與 project.html 一致，w100 控制左右邊距） ===== */
        .product-banner{position:relative;overflow:hidden;}
        .product-banner img{display:block;width:100%;height:auto;object-fit:cover;}
        .product-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;transform:translateY(-50%);}
        .product-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}
        /* ===== main ===== */
        .product-main{width:100%;background-color:#fff;}
        .product-content{padding:90px 0;box-sizing:border-box;}
        .product-stars{text-align:center;font-family:"m-s";font-size:24px;color:#666;letter-spacing:2px;}
        .product-stars.top{margin-bottom:80px;}
        .product-stars.bottom{margin-top:80px;}
        /* ===== grid（沿用 project 雙列樣式） ===== */
        .product-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:80px 100px;}
        .product-item{display:block;cursor:pointer;}
        .product-item-img{position:relative;overflow:hidden;width:100%;aspect-ratio:805/590;}
        .product-item-img img{display:block;width:100%;height:100%;object-fit:cover;transition:all .4s ease;}
        .product-item:hover .product-item-img img{transform:scale(1.05);}
        .product-item-img:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0);transition:all .3s ease;}
        .product-item:hover .product-item-img:after{background-color:rgba(0,0,0,.15);}
        .product-item-title{text-align:center;margin-top:30px;}
        .product-item-title h3{font-size:32px;color:#666;font-weight:500;transition:all .3s ease;font-family:"Montserrat",sans-serif;}
        .product-item:hover .product-item-title h3{color:#817156;}
        .product-item:active .product-item-img img{transform:scale(0.98);}
        @media screen and (max-width:1367px){
            .product-banner-text{left:60px;padding:18px 38px;}
            .product-banner-text h1{font-size:42px;}
            .product-content{padding:70px 0;}
            .product-grid{gap:60px 70px;}
            .product-item-title h3{font-size:28px;}
        }
        @media screen and (max-width:1024px){
            .product-banner-text{left:30px;padding:14px 30px;}
            .product-banner-text h1{font-size:34px;}
            .product-content{padding:50px 0;}
            .product-stars.top{margin-bottom:50px;}
            .product-stars.bottom{margin-top:50px;}
            .product-stars{font-size:20px;}
            .product-grid{gap:50px 40px;}
            .product-item-title{margin-top:20px;}
            .product-item-title h3{font-size:24px;}
        }
        @media screen and (max-width:767px){
            .product-banner-text{left:16px;padding:10px 22px;}
            .product-banner-text h1{font-size:26px;}
            .product-content{padding:36px 0;}
            .product-stars{font-size:16px;letter-spacing:1px;}
            .product-stars.top{margin-bottom:36px;}
            .product-stars.bottom{margin-top:36px;}
            .product-grid{grid-template-columns:1fr;gap:40px;}
            .product-item-title{margin-top:16px;}
            .product-item-title h3{font-size:22px;}
        }
        @media screen and (max-width:480px){
            .product-banner-text{left:12px;padding:8px 18px;}
            .product-banner-text h1{font-size:22px;}
            .product-content{padding:30px 0;}
            .product-item-title h3{font-size:20px;}
        }

/* ===== project.html ===== */
.project-banner{position:relative;overflow:hidden;}
        .project-banner img{display:block;width:100%;height:auto;object-fit:cover;}
        .project-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;transform:translateY(-50%);}
        .project-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}
        .project-main{width:100%;background-color:#fff;}
        .project-content{padding:90px 0;box-sizing:border-box;}
        .project-stars{text-align:center;font-family:"m-s";font-size:24px;color:#666;letter-spacing:2px;}
        .project-stars.top{margin-bottom:80px;}
        .project-stars.bottom{margin-top:80px;}
        .project-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:80px 100px;}
        .project-item{display:block;cursor:pointer;}
        .project-item-img{position:relative;overflow:hidden;width:100%;aspect-ratio:805/590;}
        .project-item-img img{display:block;width:100%;height:100%;object-fit:cover;transition:all .4s ease;}
        .project-item:hover .project-item-img img{transform:scale(1.05);}
        .project-item-img:after{content:"";position:absolute;top:0;left:0;right:0;bottom:0;background-color:rgba(0,0,0,0);transition:all .3s ease;}
        .project-item:hover .project-item-img:after{background-color:rgba(0,0,0,.15);}
        .project-item-title{text-align:center;margin-top:30px;}
        .project-item-title h3{font-size:32px;color:#666;font-weight:500;transition:all .3s ease;font-family:"Montserrat",sans-serif;}
        .project-item:hover .project-item-title h3{color:#817156;}
        .project-item:active .project-item-img img{transform:scale(0.98);}
        @media screen and (max-width:1367px){
            .project-banner-text{left:60px;padding:18px 38px;}
            .project-banner-text h1{font-size:42px;}
            .project-content{padding:70px 0;}
            .project-grid{gap:60px 70px;}
            .project-item-title h3{font-size:28px;}
        }
        @media screen and (max-width:1024px){
            .project-banner-text{left:30px;padding:14px 30px;}
            .project-banner-text h1{font-size:34px;}
            .project-content{padding:50px 0;}
            .project-stars.top{margin-bottom:50px;}
            .project-stars.bottom{margin-top:50px;}
            .project-stars{font-size:20px;}
            .project-grid{gap:50px 40px;}
            .project-item-title{margin-top:20px;}
            .project-item-title h3{font-size:24px;}
        }
        @media screen and (max-width:767px){
            .project-banner-text{left:16px;padding:10px 22px;}
            .project-banner-text h1{font-size:26px;}
            .project-content{padding:36px 0;}
            .project-stars{font-size:16px;letter-spacing:1px;}
            .project-stars.top{margin-bottom:36px;}
            .project-stars.bottom{margin-top:36px;}
            .project-grid{grid-template-columns:1fr;gap:40px;}
            .project-item-title{margin-top:16px;}
            .project-item-title h3{font-size:22px;}
        }
        @media screen and (max-width:480px){
            .project-banner-text{left:12px;padding:8px 18px;}
            .project-banner-text h1{font-size:22px;}
            .project-content{padding:30px 0;}
            .project-item-title h3{font-size:20px;}
        }

/* ===== contact.html ===== */
.contact-banner{position:relative;overflow:hidden;}
        .contact-banner img{display:block;width:100%;height:auto;object-fit:cover;}
        .contact-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;transform:translateY(-50%);}
        .contact-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}
        .contact-stars{text-align:center;font-family:"m-s";font-size:24px;color:#666;letter-spacing:2px;padding:60px 0;}
        .contact-form-section{width:100%;background-color:#9ec4d5;padding:80px 0;box-sizing:border-box;}
        .contact-form-wrap{max-width:1150px;width:100%;margin:0 auto;min-height:540px;box-sizing:border-box;padding:60px 80px;position:relative;z-index:2;background-color:#fff;}
        .contact-form-wrap:before{content:"";display:block;border:2px solid #b2b2b2;position:absolute;top:10px;right:10px;left:10px;bottom:10px;z-index:-1;}
        .contact-form-row{width:100%;margin-bottom:30px;position:relative;z-index:2;}
        .contact-form-row:last-of-type{margin-bottom:0;}
        .contact-form-label{display:block;font-size:18px;color:#666;font-weight:400;margin-bottom:8px;font-family:"Montserrat",sans-serif;}
        .contact-form-label i{font-size:18px;font-weight:700;font-style:normal;color:#d0021b;}
        .contact-form-input{width:100%;border:0;border-bottom:2px solid #b2b2b2;border-radius:0;padding:8px 0;background-color:transparent;font-size:18px;color:#131313;font-family:"Montserrat",sans-serif;outline:none;box-sizing:border-box;}
        .contact-form-input:focus{border-bottom-color:#666;}
        textarea.contact-form-input{height:120px;resize:none;}
        .contact-form-btn{margin-top:20px;}
        .contact-form-btn button{background-color:#666;color:#fff;font-size:18px;font-weight:500;padding:12px 40px;border:0;cursor:pointer;font-family:"Montserrat",sans-serif;transition:opacity .3s ease;}
        .contact-form-btn button:hover{opacity:.7;}
        .contact-map-section{width:100%;}
        .contact-map-section iframe{width:100%;height:800px;border:0;display:block;}
        @media screen and (max-width:1367px){
            .contact-banner-text{left:60px;padding:18px 38px;}
            .contact-banner-text h1{font-size:42px;}
            .contact-form-section{padding:60px 0;}
            .contact-form-wrap{max-width:900px;min-height:auto;padding:50px 60px;}
        }
        @media screen and (max-width:1024px){
            .contact-banner-text{left:30px;padding:14px 30px;}
            .contact-banner-text h1{font-size:34px;}
            .contact-stars{padding:40px 0;font-size:20px;}
            .contact-form-section{padding:50px 0;}
            .contact-form-wrap{max-width:100%;margin:0 30px;min-height:auto;padding:40px 40px;}
            .contact-form-row{margin-bottom:24px;}
            .contact-form-label{font-size:16px;}
            .contact-form-input{font-size:16px;}
            textarea.contact-form-input{height:100px;}
            .contact-map-section iframe{height:600px;}
        }
        @media screen and (max-width:767px){
            .contact-banner-text{left:16px;padding:10px 22px;}
            .contact-banner-text h1{font-size:26px;}
            .contact-stars{padding:30px 0;font-size:16px;letter-spacing:1px;}
            .contact-form-section{padding:36px 0;}
            .contact-form-wrap{margin:0 16px;padding:30px 24px;}
            .contact-form-wrap:before{top:6px;right:6px;left:6px;bottom:6px;}
            .contact-form-row{margin-bottom:20px;}
            .contact-form-label{font-size:15px;}
            .contact-form-input{font-size:15px;}
            textarea.contact-form-input{height:90px;}
            .contact-form-btn button{font-size:16px;padding:10px 30px;}
            .contact-map-section iframe{height:450px;}
        }
        @media screen and (max-width:480px){
            .contact-banner-text{left:12px;padding:8px 18px;}
            .contact-banner-text h1{font-size:22px;}
            .contact-form-wrap{margin:0 12px;padding:24px 18px;}
            .contact-form-label{font-size:14px;}
            .contact-form-input{font-size:14px;}
            .contact-map-section iframe{height:350px;}
        }

/* ===== marble.html ===== */
.prod-banner{position:relative;overflow:hidden;}
        .prod-banner img{display:block;width:100%;height:auto;object-fit:cover;}
        .prod-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;transform:translateY(-50%);}
        .prod-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}
        .prod-main{width:100%;background-color:#fff;}
        .prod-content{padding:80px 0 90px;box-sizing:border-box;}
        .prod-stars{text-align:center;font-family:"m-s";font-size:24px;color:#666;letter-spacing:2px;}
        .prod-stars.s1{margin-bottom:50px;}
        .prod-stars.s2{margin:50px 0 60px;}
        .prod-stars.s3{margin:80px 0 60px;}
        .prod-stars.s4{margin:80px 0 0;}
        /* ===== 分類 Tab（方案A） ===== */
        .prod-cat-tabs{display:flex;justify-content:center;align-items:flex-end;gap:90px;margin:70px 0;}
        .cat-tab{font-family:"Montserrat",sans-serif;font-size:60px;font-weight:500;color:#b8b8b8;letter-spacing:2px;background:transparent;border:0;padding:0 4px;line-height:1.1em;cursor:pointer;transition:all .3s ease;}
        .cat-tab:hover{color:#817156;}
        .cat-tab.active{color:#666;}
        .prod-cat{display:none;}
        .prod-cat.active{display:block;}
        /* ===== 產品網格：一行5格，每張 250x250 ===== */
        .prod-grid{display:grid;grid-template-columns:repeat(5,1fr);column-gap:40px;row-gap:64px;justify-items:center;}
        .page-grid{display:none;}
        .page-grid.active{display:grid;}
        .prod-item{width:100%;max-width:250px;text-align:left;}
        .prod-thumb{width:100%;aspect-ratio:1/1;max-width:250px;max-height:250px;overflow:hidden;cursor:zoom-in;background-color:#f2f2f2;}
        .prod-thumb img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .4s ease,opacity .3s ease;}
        .prod-thumb:hover img{transform:scale(1.06);opacity:.92;}
        .prod-name{margin-top:16px;}
        .prod-name h4{font-size:16px;font-weight:500;color:#131313;line-height:1.3em;font-family:"Montserrat",sans-serif;}
        .prod-name p{font-size:16px;font-weight:400;color:#131313;line-height:1.3em;margin-top:2px;font-family:"Montserrat",sans-serif;}
        .prod-red{margin-top:2px;}
        .prod-red span{display:block;font-size:16px;font-weight:400;line-height:1.3em;color:#ed1c24;font-family:"Montserrat","Microsoft JhengHei",sans-serif;}
        /* ===== 分頁（各分類獨立） ===== */
        .prod-pagination{display:flex;justify-content:center;align-items:center;gap:26px;margin-top:70px;}
        .prod-pagination a{font-size:18px;color:#666;line-height:1em;font-family:"Montserrat",sans-serif;transition:all .3s ease;cursor:pointer;}
        .prod-pagination a:hover{color:#817156;}
        .prod-pagination a.active{font-size:22px;font-weight:700;color:#131313;}
        .prod-pagination a.page-arrow{font-size:16px;}
        /* ===== 規格方格：與產品網格相同的 5 列軌道，外邊距自動對齊，間距自動統一，頂部對齊 ===== */
        .size-section{--s:1;}
        .size-row{display:grid;grid-template-columns:repeat(5,1fr);column-gap:40px;align-items:start;overflow-x:visible;}
        .size-row.row2{margin-top:70px;}
        .size-cell{justify-self:center;width:100%;max-width:250px;}
        .size-bar{background-color:#666666;width:calc(var(--w) * var(--s));height:calc(var(--h) * var(--s));}
        .size-label{margin-top:14px;color:#666;font-size:calc(18px * var(--s));line-height:1.2em;text-align:left;white-space:nowrap;font-family:"Montserrat",sans-serif;}
        /* ===== 燈箱 ===== */
        .lightbox{display:none;position:fixed;inset:0;background-color:rgba(0,0,0,.92);z-index:99999;}
        .lightbox.active{display:block;}
        .lightbox-img-wrap{position:absolute;top:50%;left:50%;transform:translate(-50%,-50%);max-width:80%;max-height:82%;}
        .lightbox-img-wrap img{display:block;max-width:100%;max-height:82vh;object-fit:contain;}
        .lightbox-close{position:absolute;top:28px;right:40px;color:#fff;font-size:42px;line-height:1em;cursor:pointer;font-family:"Montserrat",sans-serif;transition:opacity .3s;}
        .lightbox-close:hover{opacity:.65;}
        .lightbox-nav{position:absolute;top:50%;transform:translateY(-50%);width:56px;height:56px;display:flex;align-items:center;justify-content:center;color:#fff;font-size:34px;cursor:pointer;user-select:none;background-color:rgba(255,255,255,.1);border-radius:50%;transition:background-color .3s;}
        .lightbox-nav:hover{background-color:rgba(255,255,255,.28);}
        .lightbox-prev{left:40px;}
        .lightbox-next{right:40px;}
        .lightbox-counter{position:absolute;bottom:30px;left:50%;transform:translateX(-50%);color:#fff;font-size:16px;font-family:"Montserrat",sans-serif;letter-spacing:1px;}
        /* ===== 響應式 ===== */
        @media screen and (max-width:1367px){
            .prod-banner-text{left:60px;padding:18px 38px;}
            .prod-banner-text h1{font-size:42px;}
            .cat-tab{font-size:50px;}
            .size-section{--s:.8;}
        }
        @media screen and (max-width:1024px){
            .prod-banner-text{left:30px;padding:14px 30px;}
            .prod-banner-text h1{font-size:34px;}
            .prod-content{padding:60px 0 70px;}
            .prod-cat-tabs{gap:54px;margin:48px 0;}
            .cat-tab{font-size:40px;}
            .prod-stars{font-size:20px;}
            .prod-grid{grid-template-columns:repeat(3,1fr);column-gap:30px;row-gap:44px;}
            .size-row{grid-template-columns:repeat(5,1fr);column-gap:30px;overflow-x:auto;}
            .prod-pagination{gap:20px;margin-top:50px;}
            .size-section{--s:.62;}
            .size-row.row2{margin-top:50px;}
        }
        @media screen and (max-width:767px){
            .prod-banner-text{left:16px;padding:10px 22px;}
            .prod-banner-text h1{font-size:26px;}
            .prod-content{padding:40px 0 50px;}
            .prod-cat-tabs{gap:30px;align-items:flex-end;margin:34px 0;}
            .cat-tab{font-size:30px;letter-spacing:1px;}
            .prod-stars{font-size:16px;letter-spacing:1px;}
            .prod-stars.s1{margin-bottom:30px;}
            .prod-stars.s2{margin:30px 0 36px;}
            .prod-stars.s3{margin:50px 0 36px;}
            .prod-stars.s4{margin-top:50px;}
            .prod-grid{grid-template-columns:repeat(2,1fr);column-gap:20px;row-gap:36px;}
            .size-row{column-gap:20px;}
            .prod-name{margin-top:10px;}
            .prod-name h4,.prod-name p,.prod-red span{font-size:13px;}
            .prod-pagination{gap:14px;margin-top:40px;flex-wrap:wrap;}
            .prod-pagination a{font-size:15px;}
            .prod-pagination a.active{font-size:18px;}
            .size-section{--s:.44;}
            .size-row.row2{margin-top:36px;}
            .lightbox-nav{width:44px;height:44px;font-size:26px;}
            .lightbox-prev{left:14px;}
            .lightbox-next{right:14px;}
            .lightbox-close{top:18px;right:22px;font-size:32px;}
        }
        @media screen and (max-width:480px){
            .prod-banner-text{left:12px;padding:8px 18px;}
            .prod-banner-text h1{font-size:22px;}
            .prod-cat-tabs{gap:16px;}
            .cat-tab{font-size:26px;letter-spacing:0;}
            .prod-grid{column-gap:14px;row-gap:30px;}
            .size-row{column-gap:14px;}
            .size-section{--s:.34;}
        }

/* ===== project-the-southside.html ===== */
.detail-banner{position:relative;overflow:hidden;}
        .detail-banner img{display:block;width:100%;height:auto;object-fit:cover;}
        .detail-banner-text{position:absolute;top:50%;left:90px;z-index:2;background-color:rgba(102,102,102,.85);padding:22px 48px;transform:translateY(-50%);}
        .detail-banner-text h1{font-size:52px;color:#fff;font-weight:500;line-height:1em;font-family:"Montserrat",sans-serif;}
        .detail-main{width:100%;background-color:#fff;}
        .detail-content{padding:90px 0;box-sizing:border-box;}
        .detail-stars{text-align:center;font-family:"m-s";font-size:24px;color:#666;letter-spacing:2px;}
        .detail-stars.top{margin-bottom:80px;}
        .detail-stars.bottom{margin-top:80px;}
        .detail-photo-list{display:flex;flex-direction:column;align-items:center;gap:80px;}
        .detail-photo-item{max-width:800px;width:100%;position:relative;cursor:zoom-in;}
        .detail-photo-item img{display:block;width:100%;height:auto;transition:opacity .3s ease;}
        .detail-photo-item:hover img{opacity:.85;}

        .lightbox{display:none;position:fixed;top:0;left:0;width:100%;height:100%;background-color:rgba(0,0,0,.9);z-index:99999;justify-content:center;align-items:center;cursor:zoom-out;}
        .lightbox.active{display:flex;}
        .lightbox img{max-width:90%;max-height:90%;object-fit:contain;}
        .lightbox-close{position:absolute;top:30px;right:40px;font-size:40px;color:#fff;cursor:pointer;font-family:"Montserrat",sans-serif;line-height:1em;}
        .lightbox-close:hover{opacity:.7;}
        @media screen and (max-width:1367px){
            .detail-banner-text{left:60px;padding:18px 38px;}
            .detail-banner-text h1{font-size:42px;}
            .detail-content{padding:70px 0;}
            .detail-photo-item{max-width:700px;}
            .detail-photo-list{gap:60px;}
        }
        @media screen and (max-width:1024px){
            .detail-banner-text{left:30px;padding:14px 30px;}
            .detail-banner-text h1{font-size:34px;}
            .detail-content{padding:50px 0;}
            .detail-stars.top{margin-bottom:50px;}
            .detail-stars.bottom{margin-top:50px;}
            .detail-stars{font-size:20px;}
            .detail-photo-item{max-width:600px;}
            .detail-photo-list{gap:50px;}
        }
        @media screen and (max-width:767px){
            .detail-banner-text{left:16px;padding:10px 22px;}
            .detail-banner-text h1{font-size:26px;}
            .detail-content{padding:36px 0;}
            .detail-stars{font-size:16px;letter-spacing:1px;}
            .detail-stars.top{margin-bottom:36px;}
            .detail-stars.bottom{margin-top:36px;}
            .detail-photo-item{max-width:100%;}
            .detail-photo-list{gap:36px;}
            .lightbox-close{top:15px;right:20px;font-size:30px;}
        }
        @media screen and (max-width:480px){
            .detail-banner-text{left:12px;padding:8px 18px;}
            .detail-banner-text h1{font-size:22px;}
            .detail-content{padding:30px 0;}
            .detail-photo-list{gap:30px;}
        }/* ============================================================
   憿菔?撖寥???HTML嚗ogo 撠箏站????銝?銝滯??   ============================================================ */
.footer { align-items: flex-start; }
.footer-l { max-width: 420px; }
.footer-l a { display: block; }
.footer-l img { display:block; height:200px; width:auto; max-width:100%; background:transparent; }
.footer-l p { font-size:21px; font-weight:400; color:#fff; margin-top:15px; line-height:1.5; max-width:360px; }
.footer-c ul { display:flex; gap:30px; flex-direction:column; }
.footer-r-contact p { line-height:33px; }
@media screen and (max-width:1366px){ .footer-l img{height:150px;} }
@media screen and (max-width:1024px){
    .footer{flex-wrap:wrap;gap:40px;}
    .footer-c,.footer-r{margin-left:0;}
    .footer-l img{height:120px;}
    .footer-l p,.footer-c ul li a,.footer-r h3,.footer-r p{font-size:18px;}
}
@media screen and (max-width:767px){
    .footer{flex-direction:column;gap:30px;}
    .footer-l img{height:80px;}
    .footer-l p,.footer-c ul li a,.footer-r h3,.footer-r p{font-size:16px;}
    .footer-c ul{flex-direction:row;gap:20px;flex-wrap:wrap;}
}
@media screen and (max-width:480px){
    .footer-c ul{gap:12px;}
    .footer-l p,.footer-c ul li a,.footer-r h3,.footer-r p{font-size:14px;}
}


/* ===== Banner 覆盖文字增强（后台可配副标题/按钮/字级/对齐，2026-09） ===== */
.prod-banner-text[style*="--bt-size"] h1,
.detail-banner-text[style*="--bt-size"] h1,
.about-banner-text[style*="--bt-size"] h1,
.project-banner-text[style*="--bt-size"] h1{font-size:var(--bt-size)!important;line-height:1.05em;}
.prod-banner-sub,.detail-banner-text .prod-banner-sub,.about-banner-text .prod-banner-sub{font-size:18px;color:#fff;margin:8px 0 0;font-weight:400;line-height:1.5;}
.prod-banner-btn{display:inline-block;margin-top:14px;padding:10px 26px;border:1px solid #fff;color:#fff;font-size:14px;letter-spacing:1px;transition:all .3s ease;}
.prod-banner-btn:hover{background:#fff;color:#333;}
/* 桌面/手机双图：默认显桌面 */
.banner-m{display:none;}
@media screen and (max-width:767px){
  .banner-d{display:none;}
  .banner-m{display:block;width:100%;height:auto;}
  .prod-banner-sub,.detail-banner-text .prod-banner-sub{font-size:14px;}
}

/* ===== p7 单页富文本：表格/图片/列表前台可见 ===== */
.blk-rich{line-height:1.8;word-break:break-word;}
.blk-rich img{max-width:100%;height:auto;border-radius:6px;}
.blk-rich table,.blk-rich .rte-table{border-collapse:collapse;width:100%;margin:18px 0;}
.blk-rich table th,.blk-rich table td,.blk-rich .rte-table th,.blk-rich .rte-table td{border:1px solid #c9c4bb;padding:10px 12px;text-align:left;vertical-align:top;}
.blk-rich table th,.blk-rich .rte-table th{background:#f3efe8;}
.blk-rich blockquote{border-left:3px solid #817156;margin:14px 0;padding:4px 16px;color:#666;}
.blk-rich ul{list-style:disc;padding-left:24px;margin:10px 0;}
.blk-rich ol{list-style:decimal;padding-left:24px;margin:10px 0;}
.blk-rich a{color:#817156;text-decoration:underline;}
.blk-rich h2{font-size:26px;margin:18px 0 10px;}
.blk-rich h3{font-size:21px;margin:16px 0 8px;}

/* ===== p8 单页区块布局：左右两栏 / 单图 / 图片组 / 标题段落 ===== */
.page-block{margin-bottom:48px;}
.blk-heading h2{font-size:34px;color:#666;font-weight:500;line-height:1.3;margin:0 0 14px;}
.blk-text{font-size:18px;color:#555;line-height:1.8;}
.blk-img img{max-width:100%;height:auto;display:block;border-radius:6px;}
.blk-img-group{display:grid;grid-template-columns:repeat(3,1fr);gap:18px;}
.blk-img-group img{width:100%;height:240px;object-fit:cover;border-radius:6px;display:block;}
.blk-image-text{display:grid;grid-template-columns:1fr 1fr;gap:34px;align-items:center;}
.blk-image-text .it-img img{width:100%;height:auto;display:block;border-radius:6px;}
.blk-image-text .it-txt h3{font-size:30px;color:#666;font-weight:500;line-height:1.3;margin:0 0 14px;}
.blk-image-text .it-txt p{font-size:17px;color:#555;line-height:1.8;margin:0;}
.blk-spacer{width:100%;}
@media screen and (max-width:767px){
  .blk-image-text{grid-template-columns:1fr;gap:18px;}
  .blk-img-group{grid-template-columns:1fr;}
  .blk-img-group img{height:auto;}
  .blk-heading h2{font-size:24px;}
}

/* ===== p10 单 Tab 分类标题（Wood/Colour 等，对齐静态稿） ===== */
.prod-cat-title{text-align:center;margin:70px 0;}
.prod-cat-title h2{display:inline-block;font-size:60px;line-height:1em;font-weight:500;color:#666;letter-spacing:2px;font-family:"Montserrat","Microsoft JhengHei",sans-serif;margin:0;}
@media screen and (max-width:1366px){.prod-cat-title h2{font-size:50px;}.prod-cat-title{margin:48px 0;}}
@media screen and (max-width:1024px){.prod-cat-title h2{font-size:40px;}}
@media screen and (max-width:767px){.prod-cat-title{margin:34px 0;}.prod-cat-title h2{font-size:30px;letter-spacing:1px;}}
@media screen and (max-width:480px){.prod-cat-title h2{font-size:26px;}}
/* ===== 联络表单结果弹窗 ===== */
.inquiry-modal{position:fixed;inset:0;z-index:99999;display:none;align-items:center;justify-content:center;background:rgba(0,0,0,.55);padding:20px;}
.inquiry-modal.show{display:flex;}
.inquiry-modal-box{background:#fff;width:420px;max-width:100%;padding:40px 30px 30px;text-align:center;border:1px solid #e9e6e1;}
.inquiry-modal-ic{display:inline-flex;align-items:center;justify-content:center;width:56px;height:56px;font-size:30px;font-weight:700;color:#fff;background:#817156;margin-bottom:18px;}
.inquiry-modal.fail .inquiry-modal-ic{background:#c7503e;}
.inquiry-modal.ok .inquiry-modal-ic{background:#3d8b62;}
.inquiry-modal-msg{font-size:17px;line-height:1.7;color:#2b2b2b;margin-bottom:24px;word-break:break-word;}
.inquiry-modal-ok{min-width:120px;cursor:pointer;}

/* ===== p14 算术验证码：题目胶囊 + 答案框 + 换一题，多语言通用 ===== */
.captcha-box{display:flex;align-items:center;gap:12px;flex-wrap:wrap;}
.captcha-q{display:inline-flex;align-items:center;justify-content:center;min-width:118px;height:50px;padding:0 20px;border-radius:6px;background:#131313;color:#fff;letter-spacing:1px;user-select:none;flex:0 0 auto;}
.captcha-q b{color:#fff;font-size:18px;font-weight:700;font-family:"Montserrat",Arial,sans-serif;}
.captcha-a{width:170px;max-width:100%;height:50px;border:1px solid #131313;border-radius:6px;padding:0 16px;font-size:16px;background:transparent;box-sizing:border-box;}
.captcha-a:focus{outline:none;border-color:#817156;box-shadow:0 0 0 2px rgba(129,113,86,.15);}
.captcha-refresh{flex:0 0 auto;width:50px;height:50px;border:1px solid #131313;border-radius:6px;background:#fff;color:#131313;font-size:20px;line-height:1;cursor:pointer;display:inline-flex;align-items:center;justify-content:center;transition:all .25s ease;}
.captcha-refresh:hover{background:#131313;color:#fff;}
.captcha-refresh.spin{pointer-events:none;opacity:.6;}
.captcha-refresh.spin::before{content:"";}
.captcha-refresh.spin{animation:capSpin .6s linear;}
@keyframes capSpin{from{transform:rotate(0);}to{transform:rotate(360deg);}}
/* 首页下划线风格表单里：题目胶囊改描边浅色，贴合极简风 */
.footer-contact .captcha-q,.home-contact .captcha-q{background:#666;}
@media screen and (max-width:480px){
  .captcha-box{gap:8px;}
  .captcha-q{min-width:104px;height:46px;padding:0 14px;}
  .captcha-a{width:calc(100% - 112px - 46px - 16px);min-width:120px;height:46px;}
  .captcha-refresh{width:46px;height:46px;}
}

/* ===== p15 蜜罐字段强制隐藏（前台表单，防止漏出一条空输入框） ===== */
.hp{position:absolute!important;left:-9999px!important;top:-9999px!important;width:1px!important;height:1px!important;opacity:0!important;pointer-events:none!important;border:0!important;padding:0!important;margin:0!important;}
