/* 商品頁（從 index.html 拆出，載入順序不可調換） */
/* 商品頁 */
.pd{max-width:1014px;margin:0 auto;padding:62px 0 0;display:flex;gap:68px}
.gal{width:516px;flex:none}
.gal .big{position:relative;width:516px;height:516px;display:flex;align-items:center;justify-content:center;background:#fff;overflow:hidden}
.gal .big img{max-width:100%;max-height:100%;object-fit:contain}
.gal .big .ar{position:absolute;top:50%;transform:translateY(-50%);width:36px;height:36px;background:#fffc;display:flex;align-items:center;justify-content:center;font-size:18px}
.gal .big .ar.l{left:0}.gal .big .ar.r{right:0}
.ths{display:flex;gap:8px;margin-top:12px;justify-content:center}
.ths div{width:72px;height:72px;cursor:pointer;border-bottom:3px solid transparent;display:flex;align-items:center;justify-content:center;overflow:hidden}
.ths div.on{border-color:var(--o)}
.ths img{max-width:100%;max-height:100%}
.info{width:416px;flex:none}
.info h1{font-size:24px;font-weight:700;line-height:1.55;min-height:75px}
.info .price{color:var(--red);font-size:28px;font-weight:900;margin-top:65px;line-height:44px}
.info .stock{font-size:14px;font-weight:700;margin-top:24px}.info .stock.ok{color:#2e7d32}
.info .lb{font-size:14px;font-weight:700;margin-top:24px}
.info select{width:100%;border:0;border-bottom:1px solid #d9d9d9;font:inherit;font-size:14px;padding:10px 0;margin-top:6px;background:none}
.btns{display:flex;gap:12px;margin-top:40px}
.btns button,.btns a{flex:1;height:48px;border-radius:100px;font-size:16px;font-weight:700;display:flex;align-items:center;justify-content:center}
.btns .add{border:1px solid var(--o);color:var(--o)}
.btns .buy{background:var(--o);color:#000}
.info h3{font-size:16px;font-weight:700;margin-top:56px}
.info .desc{font-size:14px;line-height:1.75;margin-top:18px;white-space:pre-line}
.rec{margin:110px auto 60px;max-width:1014px;text-align:center}
.rec h2{font-size:24px;font-weight:400;color:#5c5c5c;margin-bottom:70px}
.rgrid{display:grid;grid-template-columns:repeat(4,235px);justify-content:center;gap:50px 12px}
.rgrid .card{width:235px}
.rgrid .card .im{width:235px;height:235px}
.rgrid .card .nm{text-align:center;font-size:14px;color:rgba(0,0,0,.65);height:44px;line-height:22px}
.rgrid .card .pr{color:#000;margin-top:20px}
.toast{position:fixed;left:50%;top:120px;transform:translateX(-50%);background:#000c;color:#fff;padding:12px 26px;border-radius:4px;font-size:15px;z-index:60;display:none}

