:root{
  --g1:#16A34A; --g2:#22C55E; --g3:#14532D;
  --bg:#F6FBF7; --card:#FFFFFF; --text:#111827; --muted:#6B7280;
  --line:#DCFCE7; --shadow:0 14px 34px rgba(20,83,45,.10);
  --warn:#F59E0B; --danger:#EF4444;
}
.product-page{background:var(--bg)}
.wrap-wide{width:min(1280px,calc(100% - 24px));margin:0 auto}
.detail-shell{display:grid;grid-template-columns:1.05fr .95fr;gap:18px}
.card{background:#fff;border-radius:24px;padding:18px;box-shadow:var(--shadow);border:1px solid #ecfdf5}
.gallery-main{aspect-ratio:1/1;border-radius:22px;overflow:hidden;background:#f8fafc;border:1px solid #dcfce7}
.gallery-main img{width:100%;height:100%;object-fit:cover;display:block}
.thumb-row{display:grid;grid-template-columns:repeat(4,1fr);gap:10px;margin-top:12px}
.thumb{aspect-ratio:1/1;border-radius:16px;overflow:hidden;border:1px solid #dcfce7;background:#f8fafc}
.thumb img{width:100%;height:100%;object-fit:cover;display:block}
.badge{display:inline-block;padding:8px 10px;border-radius:999px;font-size:11px;font-weight:800}
.badge.hot{background:#fef2f2;color:#991b1b}
.badge.green{background:#dcfce7;color:#166534}
.title{font-size:36px;font-weight:800;line-height:1.1;margin:10px 0}
.desc{color:var(--muted);line-height:1.8}
.price-box{background:#f0fdf4;border:1px solid #bbf7d0;border-radius:20px;padding:16px;margin-top:16px}
.price-label{font-size:12px;color:#15803d;text-transform:uppercase;font-weight:800}
.price{font-size:40px;font-weight:800;color:#166534;margin-top:6px}
.meta-list{display:grid;gap:10px;margin-top:16px}
.meta-item{display:flex;justify-content:space-between;gap:12px;padding:12px 0;border-bottom:1px solid #ecfdf5}
.meta-item:last-child{border-bottom:none}
.action-row{display:flex;gap:12px;flex-wrap:wrap;margin-top:18px}
.btn-main,.btn-ghost{display:inline-flex;align-items:center;justify-content:center;padding:14px 18px;border-radius:16px;font-weight:800;text-decoration:none}
.btn-main{background:linear-gradient(90deg,var(--g1),var(--g2));color:#fff}
.btn-ghost{background:#fff;border:1px solid #bbf7d0;color:#166534}
.info-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:12px;margin-top:18px}
.info-card{background:#fff;border-radius:18px;padding:14px;border:1px solid #ecfdf5}
.info-card .label{font-size:12px;color:var(--muted);text-transform:uppercase;font-weight:700}
.info-card .value{font-size:18px;font-weight:800;color:#166534;margin-top:6px}
.section{margin-top:22px}
.section-head{display:flex;justify-content:space-between;align-items:flex-end;gap:12px;margin-bottom:14px;flex-wrap:wrap}
.section-head h2{margin:0;font-size:22px}
.section-head a{color:#16A34A;font-weight:800;text-decoration:none}
.related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
.product-card{background:#fff;border-radius:24px;box-shadow:var(--shadow);overflow:hidden;border:1px solid #ecfdf5}
.product-thumb{aspect-ratio:1/1;background:#f8fafc;position:relative}
.product-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.hot-badge{position:absolute;left:10px;top:10px;background:var(--danger);color:#fff;padding:6px 8px;border-radius:999px;font-size:10px;font-weight:800}
.product-body{padding:14px}
.product-title{font-size:15px;font-weight:800;min-height:38px}
.product-desc{font-size:12px;color:var(--muted);line-height:1.5;min-height:36px;margin-top:6px}
.product-price{font-size:28px;font-weight:800;color:#15803D;margin-top:12px}
.meta-row{display:flex;justify-content:space-between;gap:10px;align-items:center;color:var(--muted);font-size:12px;margin-top:8px}
.btn-row{display:flex;gap:8px;flex-wrap:wrap;margin-top:12px}
.seller-card{background:linear-gradient(135deg,#14532D,#166534);color:#fff}
.seller-card .label{color:#dcfce7}
.seller-card .value{color:#fff}
@media(max-width:980px){
  .detail-shell{grid-template-columns:1fr}
  .related-grid{grid-template-columns:repeat(2,1fr)}
}
@media(max-width:640px){
  .related-grid,.info-grid,.thumb-row{grid-template-columns:1fr 1fr}
  .title{font-size:28px}
}
