:root{--brand:#127a70;--brand-dark:#0f2b2e;--danger:#e0263f;--muted:#888;--gold:#a3762f;--gold-bg:#faf4e9;--gold-line:#ecdcbb}
*{box-sizing:border-box}
body{margin:0;font-family:-apple-system,Segoe UI,Roboto,Arial,sans-serif;background:#f7f8f8;color:#1a1a1a}
a{color:inherit}
.page-wrap{max-width:1000px;margin:0 auto;padding:0 20px}
main{padding:34px 0 60px}
.breadcrumb{font-size:12px;color:var(--muted);margin-bottom:18px}
.breadcrumb a{color:var(--muted);text-decoration:none}
.breadcrumb a:hover{color:var(--brand)}
.pd-layout{display:grid;grid-template-columns:420px 1fr;gap:34px}
@media (max-width:760px){.pd-layout{grid-template-columns:1fr}}
.pd-img{width:100%;aspect-ratio:1/1;background:#fff;border:1px solid #eee;border-radius:12px;overflow:hidden;
  display:flex;align-items:center;justify-content:center;position:relative}
.pd-img img{width:100%;height:100%;object-fit:cover}
.pd-img-placeholder{width:35%;height:35%}
.pd-img-placeholder svg{width:100%;height:100%}
.pd-badge{position:absolute;top:14px;right:14px;background:var(--danger);color:#fff;font-size:11px;
  padding:4px 10px;border-radius:20px;font-weight:600}
.pd-thumbs{display:flex;gap:8px;margin-top:10px}
.pd-thumb{width:64px;height:64px;border-radius:8px;overflow:hidden;border:2px solid transparent;
  background:#f6f6f6;cursor:pointer;flex-shrink:0}
.pd-thumb img{width:100%;height:100%;object-fit:cover;display:block}
.pd-thumb.active{border-color:var(--brand)}
.pd-cat{font-size:12px;letter-spacing:.05em;color:var(--muted);text-transform:uppercase}
.pd-name{font-size:26px;margin:6px 0 14px;line-height:1.25}
.pd-price{display:flex;gap:10px;align-items:baseline;margin-bottom:18px}
.pd-old{font-size:15px;color:#aaa;text-decoration:line-through}
.pd-now{font-size:24px;font-weight:700;color:#111}
.pd-label{font-size:18px;font-weight:700;color:#111}
.pd-desc{font-size:14px;line-height:1.7;color:#444;margin-bottom:24px}
.qty-box{display:flex;align-items:center;border:1px solid #ddd;border-radius:8px;overflow:hidden;width:fit-content;margin-bottom:14px}
.qty-box button{width:34px;height:34px;border:none;background:#fafafa;font-size:16px;cursor:pointer}
.qty-box input{width:44px;text-align:center;border:none;font-size:14px}
.btn{display:inline-block;background:var(--brand);color:#fff;border:none;border-radius:8px;padding:13px 24px;
  font-size:14px;font-weight:700;letter-spacing:.02em;text-decoration:none;text-align:center;cursor:pointer}
.btn:hover{background:#0e615a}
.btn.added{background:#333}
.btn.outline{background:#fff;color:var(--brand-dark);border:1px solid var(--brand)}
.btn.outline:hover{background:#f0f9f7}
.pd-actions{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:14px}
.pd-actions .btn{flex:1;min-width:140px}
.not-found{padding:80px 20px;text-align:center;color:var(--muted)}
.not-found a.btn{margin-top:16px}

/* ---- Professional description block: certifications, tabs, specs ---- */
.pd-details{grid-column:1 / -1;margin-top:10px}
.cert-row{display:flex;gap:10px;flex-wrap:wrap;margin-bottom:22px}
.cert-badge{display:inline-flex;align-items:center;gap:6px;background:var(--gold-bg);
  border:1px solid var(--gold-line);color:var(--gold);font-size:12px;font-weight:700;
  letter-spacing:.02em;padding:6px 12px;border-radius:20px}
.cert-badge svg{width:13px;height:13px;flex:none}
.pd-tabs{display:flex;border-bottom:2px solid #eee;margin-bottom:20px;gap:4px}
.pd-tab-btn{font-size:14px;font-weight:700;background:none;border:none;cursor:pointer;
  padding:11px 16px;color:var(--muted);border-bottom:2px solid transparent;margin-bottom:-2px}
.pd-tab-btn.active{color:var(--brand);border-bottom-color:var(--brand)}
.pd-tab-panel{display:none}
.pd-tab-panel.active{display:block}
.spec-sheet{border:1px solid #eee;border-radius:10px;overflow:hidden;background:#fff}
.spec-row{display:flex;justify-content:space-between;gap:16px;padding:11px 16px;
  border-bottom:1px solid #eee;font-size:13.5px}
.spec-row:last-child{border-bottom:none}
.spec-row:nth-child(even){background:#fafafa}
.spec-label{color:var(--muted);flex:0 0 auto}
.spec-value{font-weight:700;color:#222;text-align:right}
.spec-value.multi{text-align:left;display:flex;flex-direction:column;gap:3px;flex:1}
.spec-value-line{font-weight:700;color:#222}
.spec-value-line:not(:last-child){padding-bottom:3px;border-bottom:1px dashed #eee}
.med-notice{border-left:3px solid var(--brand);background:#eef6f5;padding:13px 16px;
  border-radius:0 8px 8px 0;margin-top:16px;font-size:13.5px;line-height:1.6}
.med-notice.warn{border-left-color:var(--danger);background:#fdeeee}
.med-notice strong{display:block;margin-bottom:4px;color:#222}
ul.usage-list{margin:0;padding-left:18px;font-size:14px;line-height:1.8}

/* ---- Related products (internal links for SEO) ---- */
.pd-related{grid-column:1 / -1;margin-top:40px;border-top:1px solid #eee;padding-top:26px}
.pd-related-title{font-size:18px;margin:0 0 16px;color:#222}
.pd-related-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:16px}
@media (max-width:760px){.pd-related-grid{grid-template-columns:repeat(2,1fr)}}
.pd-rp-card{display:block;text-decoration:none;color:inherit;border:1px solid #eee;
  border-radius:10px;overflow:hidden;background:#fff;transition:box-shadow .15s,transform .15s}
.pd-rp-card:hover{box-shadow:0 4px 14px rgba(0,0,0,.08);transform:translateY(-2px)}
.pd-rp-img{aspect-ratio:1/1;background:#fafafa;display:flex;align-items:center;justify-content:center}
.pd-rp-img img{width:100%;height:100%;object-fit:cover;display:block}
.pd-rp-cat{font-size:10.5px;text-transform:uppercase;letter-spacing:.04em;color:var(--muted);padding:10px 10px 0}
.pd-rp-name{font-size:13px;font-weight:600;padding:4px 10px 12px;line-height:1.4;color:#222}
