#product-dialog.home-product-dialog{width:min(1080px,96vw);max-height:92vh;background:#fffefa;color:#3d3b34;padding:0;border:1px solid #ded3c0;border-radius:7px}#product-dialog.home-product-dialog .dialog-head{position:sticky;top:0;z-index:3;background:#fffefa;border-bottom:1px solid #e7dfd1;padding:16px 26px}#product-dialog .home-detail-content{padding:25px 28px 10px}.home-detail-source{display:grid;grid-template-columns:280px minmax(0,1fr);gap:32px}.home-detail-photo{border:1px solid #e6dfd3;border-radius:4px;background:white;padding:12px;align-self:start;width:100%}.home-detail-photo img{display:block;width:100%;height:255px;object-fit:contain}.home-detail-photo small{display:block;font-size:10px;color:#9c845a;padding:8px}.home-detail-source h2{font-size:25px;line-height:1.35;font-weight:500;margin:6px 0 15px}.home-detail-source .eyebrow{color:#927951;font-size:10px}.home-price-line{font-size:15px;font-weight:500;margin:12px 0}.home-price-line small{font-size:11px;color:#8e7a59;font-weight:400}.home-carton-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:15px 22px;padding:17px 0;margin:8px 0;border-block:1px solid #e7ddcc}.home-carton-grid div{min-width:0}.home-carton-grid dt{font-size:10px;color:#958568}.home-carton-grid dd{font-size:14px;margin:4px 0 0;font-variant-numeric:tabular-nums}.home-source-add{display:flex;gap:10px;align-items:center;margin-top:16px}.home-source-add label{font-size:11px;display:flex;align-items:center;gap:10px}.home-source-add input{width:75px;padding:9px;border:1px solid #ddcfb7;background:white;border-radius:3px}.home-source-add button,.home-detail-footer button{font-size:12px;border:1px solid #d6c6a9;border-radius:3px;padding:10px 18px;background:#f1eadc;color:#493f2f}.home-source-add button,.home-detail-footer button.home-primary{background:#584b36;color:white;border-color:#584b36}.home-source-description{margin:12px 0;font-size:11px;color:#8b7c65}.home-source-description summary{cursor:pointer;padding:6px 0}.home-source-description p{font-size:11px;line-height:1.8}.home-detail-section{margin-top:27px;padding-top:21px;border-top:1px solid #e6ddcd}.home-detail-section h3{font-size:19px;font-weight:500;margin:0}.home-detail-section>p{font-size:11px;color:#94836a;margin:8px 0 15px}.home-match-grid{display:grid;grid-template-columns:repeat(6,minmax(0,1fr));gap:20px 14px}.home-match-card{min-width:0}.home-match-photo{width:100%;aspect-ratio:1;border:1px solid #e9e1d3;background:#fff;border-radius:3px;padding:6px}.home-match-photo img{width:100%;height:100%;object-fit:contain}.home-match-card small{font-size:9px;color:#9d855d;display:block;margin:7px 0 4px}.home-match-card h4{font-size:11px;line-height:1.5;min-height:34px;margin:0;font-weight:500;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;overflow:hidden}.home-match-card p{font-size:10px;margin:6px 0;color:#8b7a60}.home-match-card label{display:flex;align-items:center;gap:6px;font-size:10px;padding:9px 0;border-top:1px solid #e7dece}.home-match-card input{accent-color:#8f7549}.home-match-reason{min-height:28px;color:#a18c69!important}.home-detail-note{font-size:10px;line-height:1.8;color:#95846c;margin:17px 0}.home-detail-footer{display:flex;position:sticky;bottom:0;z-index:2;background:#fffefa;align-items:center;gap:10px;border-top:1px solid #e6ddcd;padding:14px 28px}.home-detail-footer>span{font-size:11px;color:#8f7d60;margin-right:auto}.home-more-button{margin:15px 0;font-size:11px;border:0;background:none;color:#8d7145}.home-recommend-empty{font-size:12px;padding:20px 0;color:#8f7d60}#home-product-photo-dialog{width:min(760px,94vw)}#home-product-photo-dialog img{width:100%;max-height:75vh;object-fit:contain}.home-detail-footer button:disabled{opacity:.45;cursor:default}
@media(max-width:760px){#product-dialog .home-detail-content{padding:17px}.home-detail-source{grid-template-columns:120px minmax(0,1fr);gap:16px}.home-detail-photo{padding:4px}.home-detail-photo img{height:125px}.home-detail-source h2{font-size:18px}.home-carton-grid{grid-template-columns:1fr 1fr;gap:12px}.home-carton-grid dd{font-size:12px}.home-price-line{font-size:13px}.home-source-add{flex-wrap:wrap}.home-match-grid{grid-template-columns:repeat(3,minmax(0,1fr));gap:19px 12px}.home-detail-footer{padding:12px 17px;flex-wrap:wrap}.home-detail-footer button{padding:9px 11px;font-size:10px}.home-detail-footer>span{flex-basis:100%}.home-source-add button{font-size:11px;padding:9px}.home-source-add input{width:58px}.home-detail-photo small{font-size:9px}.home-detail-section h3{font-size:17px}}
@media(max-width:450px){.home-detail-source{display:block}.home-detail-photo{width:150px;margin:0 auto 16px}.home-detail-photo img{height:140px}.home-match-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.home-carton-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
