/* Post details page (pd-*) — builds on the dt-* / bp-* styles in somahat-browse.css */
.pd-wrap{padding-top:20px}
.pd-gallery{padding:0;overflow:hidden}
.pd-gallery .pg{margin:0}

/* header card */
.pd-head{padding:24px 24px 20px}
.pd-tags{display:flex;gap:8px;flex-wrap:wrap;align-items:center;margin-bottom:12px}
.pd-new{background:#dcfce7;color:#15803d}
.pd-title{font-size:clamp(22px,3vw,30px);font-weight:800;line-height:1.3;margin:0 0 12px;color:#111827;overflow-wrap:anywhere}
.pd-meta{display:flex;flex-wrap:wrap;gap:6px 20px;color:var(--bp-mut,#6b7280);font-size:14px}
.pd-meta a,.pd-meta span{color:inherit;display:inline-flex;align-items:center}
.pd-meta a:hover{color:var(--bp-brand,#e11d48)}
.pd-meta i{margin-right:7px;color:#a78bfa;width:14px;text-align:center}

.pd-pricebar{display:flex;align-items:center;justify-content:space-between;gap:14px;margin-top:18px;padding:16px 18px;border-radius:14px;
  background:linear-gradient(135deg,#faf5ff 0%,#fff1f2 100%);border:1px solid #f3e8ff}
.pd-pricebar small{display:block;font-size:12.5px;font-weight:700;color:var(--bp-mut,#6b7280)}
.pd-pricebar strong{font-size:clamp(24px,4vw,32px);font-weight:800;color:var(--bp-brand,#e11d48);line-height:1.2}
.pd-ico{width:42px;height:42px;border-radius:12px;border:1px solid #e5e7eb;background:#fff;color:#6d28d9;cursor:pointer;transition:.15s}
.pd-ico:hover{background:#6d28d9;color:#fff;border-color:#6d28d9}

.pd-specs{list-style:none;margin:16px 0 0;padding:0;display:grid;grid-template-columns:repeat(auto-fit,minmax(110px,1fr));gap:10px}
.pd-specs li{background:#f8f8fc;border-radius:12px;padding:12px 10px;text-align:center;display:flex;flex-direction:column;gap:2px}
.pd-specs i{color:#8b5cf6;font-size:18px;margin-bottom:4px}
.pd-specs b{font-size:15.5px;color:#111827}
.pd-specs span{font-size:12px;color:var(--bp-mut,#6b7280);font-weight:700}

/* description */
.pd-desc{font-size:16px;line-height:1.8;color:#374151;white-space:pre-line;overflow-wrap:anywhere;position:relative}
.pd-desc.is-clamped{max-height:15.5em;overflow:hidden}
.pd-desc.is-clamped::after{content:"";position:absolute;left:0;right:0;bottom:0;height:5em;background:linear-gradient(rgba(255,255,255,0),#fff)}
.pd-readmore{margin-top:8px;border:0;background:none;color:#6d28d9;font-weight:800;font-size:14.5px;cursor:pointer;padding:4px 0}
.pd-readmore i{font-size:11px;margin-left:4px}
.pd-link{margin:14px 0 0}.pd-link i{color:#a78bfa;margin-right:6px}
.pd-sharebar{display:flex;align-items:center;gap:14px;flex-wrap:wrap;margin-top:20px;padding-top:16px;border-top:1px solid var(--bp-line,#e8eaf0)}
.pd-sharebar>span{font-weight:800;font-size:14px;color:#374151}
.pd-related-h{margin:26px 2px 14px}

/* sidebar */
.pd-contact{border:1px solid #f3e8ff}
.pd-sidelabel{display:block;color:var(--bp-mut,#6b7280);font-size:13px;font-weight:700}
.pd-sideprice{font-size:27px;font-weight:800;color:var(--bp-brand,#e11d48);line-height:1.2}
.pd-hint{margin:12px 0 0;font-size:12.5px;color:var(--bp-mut,#6b7280);line-height:1.5}
.pd-hint i{color:#a78bfa;margin-right:4px}
.pd-seller{list-style:none;margin:14px 0 0;padding:12px 0 0;border-top:1px solid var(--bp-line,#e8eaf0);font-size:14px;color:#4b5563}
.pd-seller li{padding:4px 0}.pd-seller i{width:22px;color:#a78bfa}.pd-seller b{color:#111827;margin-left:4px}
.pd-allposts{display:block;text-align:center;margin-top:14px}
.pd-sm{font-size:15.5px!important}
.pd-info{margin:0;font-size:14px}
.pd-info div{display:flex;justify-content:space-between;gap:10px;padding:8px 0;border-bottom:1px dashed var(--bp-line,#e8eaf0)}
.pd-info div:last-child{border:0}
.pd-info dt{font-weight:600;color:var(--bp-mut,#6b7280)}.pd-info dd{margin:0;font-weight:800;color:#111827}

/* mobile action bar */
.pd-mbar{display:none}
@media(max-width:991px){
  .pd-page{padding-bottom:84px}
  .pd-mbar{display:flex;gap:8px;position:fixed;left:0;right:0;bottom:0;z-index:900;background:#fff;padding:10px 12px calc(10px + env(safe-area-inset-bottom));
    box-shadow:0 -4px 20px rgba(15,23,42,.12)}
  .pd-mbar a{flex:1;display:flex;align-items:center;justify-content:center;gap:8px;border-radius:12px;padding:12px 8px;font-weight:800;font-size:14.5px;color:#fff;text-decoration:none}
  .pd-mbar .call{background:linear-gradient(135deg,#6d28d9,#a21caf 55%,#e11d48)}
  .pd-mbar .wa{background:#22c55e}
  .pd-mbar .cm{background:#f3f4f8;color:#374151}
}
@media(max-width:575px){
  .pd-head{padding:18px 16px}
  .pd-pricebar{padding:14px}
}
