/* ==========================================================================
   Product Details — page-specific styles
   ========================================================================== */

.pd-grid { display: grid; grid-template-columns: 0.9fr 1.1fr 0.85fr; gap: 22px; align-items: start; }
@media (max-width: 992px) { .pd-grid { grid-template-columns: 1fr; } }

.pd-gallery-card { display: flex; flex-direction: column; gap: 10px; }
.pd-gallery-card-frame {
  background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); overflow: hidden;
  box-shadow: var(--shadow-xs); aspect-ratio: 1/1;
}
.pd-gallery-card-frame img { width: 100%; height: 100%; object-fit: cover; }

.pd-specs-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; }
.pd-title { font-size: 22px; font-weight: 800; color: var(--navy); line-height: 1.3; margin-bottom: 10px; }
.pd-price { font-size: 26px; font-weight: 800; color: var(--orange); margin-bottom: 18px; }
.pd-spec-list { list-style: none; margin: 0 0 18px; padding: 0; border-top: 1px dashed var(--border); }
.pd-spec-list li { display: flex; justify-content: space-between; font-size: 13.5px; padding: 11px 0; border-bottom: 1px dashed var(--border); }
.pd-spec-list li span { color: var(--text-muted); }
.pd-spec-list li strong { color: var(--navy); font-weight: 700; }
.pd-note { font-size: 13px; color: var(--text-muted); line-height: 1.6; margin-bottom: 20px; }

.pd-supplier-card { background: #fff; border: 1px solid var(--border); border-radius: var(--radius-lg); padding: 26px; text-align: center; }
.pd-supplier-card .supplier-avatar { margin: 0 auto 14px; }
.pd-seller-name { font-size: 15.5px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pd-seller-name a { color: inherit; }
.pd-seller-name a:hover { color: var(--orange); }
.pd-seller-loc { font-size: 12.5px; color: var(--text-muted); margin-bottom: 10px; }
.pd-seller-gst { font-size: 11.5px; color: var(--text-faint); margin-bottom: 4px; }
.pd-seller-call { font-size: 15px; font-weight: 700; color: var(--navy); margin-bottom: 14px; }
.pd-seller-tags { display: flex; flex-wrap: wrap; gap: 6px; justify-content: center; margin-bottom: 18px; }
.pd-seller-tags span { font-size: 11px; font-weight: 600; background: var(--bg); border: 1px solid var(--border); padding: 5px 10px; border-radius: var(--radius-pill); color: var(--text-muted); }

.pd-modal-flex { display: grid; grid-template-columns: 1fr 1.3fr; gap: 22px; }
@media (max-width: 700px) { .pd-modal-flex { grid-template-columns: 1fr; } }
.pd-modal-summary { background: var(--bg); border-radius: var(--radius-md); padding: 16px; text-align: center; }
.pd-modal-summary img { width: 100%; border-radius: var(--radius-sm); margin-bottom: 12px; aspect-ratio: 1/1; object-fit: cover; }
.pd-modal-summary h5 { font-size: 14px; font-weight: 700; color: var(--navy); margin-bottom: 4px; }
.pd-modal-summary p { font-size: 12px; color: var(--text-muted); margin: 2px 0; }

.pd-highlight { display: flex; flex-direction: column; gap: 3px; }
.pd-highlight-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.04em; color: var(--text-muted); }
.pd-highlight strong { font-size: 13.5px; color: var(--navy); display: flex; align-items: center; gap: 6px; }
.pd-highlight i { color: var(--orange); }
.pd-verified-chip { font-size: 11px; font-weight: 700; color: #16A34A; background: #ECFDF5; padding: 2px 8px; border-radius: 999px; display: inline-flex; align-items: center; gap: 3px; }

.pd-lead-form { margin-top: 14px; padding-top: 14px; border-top: 1px dashed var(--border); }
.pd-lead-form h6 { font-size: 13.5px; font-weight: 800; color: var(--navy); margin-bottom: 2px; }
.pd-lead-form p { font-size: 11.5px; color: var(--text-muted); margin-bottom: 10px; }

.view-all-link { font-size: 13px; font-weight: 700; color: #1A5FB4; display: inline-flex; align-items: center; gap: 6px; text-decoration: none; }
.view-all-link:hover { color: var(--orange); }

.pd-also-viewed-row { display: flex; gap: 14px; overflow-x: auto; padding-bottom: 6px; }
.pd-also-viewed-card { flex: 0 0 220px; border: 1px solid var(--border); border-radius: var(--radius-md); overflow: hidden; background: #fff; }
.pd-also-viewed-card .product-media { height: 140px; }
.pd-also-viewed-card .product-media img { width: 100%; height: 100%; object-fit: cover; }
.pd-also-viewed-card .product-body { padding: 12px; }
.pd-also-viewed-company { display: block; font-size: 11.5px; color: var(--text-muted); margin: 2px 0 6px; }
.pd-also-viewed-actions { display: flex; gap: 6px; margin-top: 8px; }
.pd-also-viewed-actions .sup-btn-call, .pd-also-viewed-actions .sup-btn-solid { font-size: 11.5px; padding: 8px 6px; }

.pd-also-viewed-actions .sup-btn-call { border: none; background: #16A34A; color: #fff; border-radius: var(--radius-sm); text-align: center; font-weight: 700; }
.pd-also-viewed-actions .sup-btn-call:hover { background: #128A3C; color: #fff; }
.pd-also-viewed-actions .sup-btn-solid { border: none; background: #1A5FB4; color: #fff; border-radius: var(--radius-sm); font-weight: 700; cursor: pointer; }
.pd-also-viewed-actions .sup-btn-solid:hover { background: #164E93; color: #fff; }

.pd-thumb-row { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 10px; }
.pd-thumb { border: 2px solid transparent; border-radius: var(--radius-sm); padding: 0; cursor: pointer; overflow: hidden; width: 56px; height: 56px; background: var(--bg); }
.pd-thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.pd-thumb.active { border-color: var(--orange); }

.pd-sub-head { font-size: 13px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--navy); margin: 18px 0 8px; }

#pdSecDetails { scroll-margin-top: 90px; }

.pd-whatsapp-strip {
  display: flex; flex-wrap: wrap; gap: 16px; align-items: center; justify-content: space-between;
  background: #ECFDF5; border: 1px solid #A7F3D0; border-radius: var(--radius-lg); padding: 16px 22px; max-width: 1000px;
}
.pd-whatsapp-strip-send { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 260px; }
.pd-whatsapp-strip-send i { color: #25D366; font-size: 22px; flex-shrink: 0; }
.pd-whatsapp-strip-send input { flex: 1; border: 1px solid var(--border); border-radius: var(--radius-pill); padding: 10px 16px; font-size: 13px; background: #fff; }
.pd-whatsapp-strip-send input:focus { outline: none; border-color: #25D366; }
.pd-whatsapp-strip-send .btn-orange { padding: 10px 18px; white-space: nowrap; }
.pd-whatsapp-strip-connect { display: flex; flex-direction: column; gap: 6px; align-items: flex-start; }
.pd-whatsapp-strip-connect span { font-size: 11.5px; font-weight: 700; color: var(--navy); text-transform: uppercase; letter-spacing: 0.03em; }
.pd-whatsapp-strip-connect .listing-btn-call, .pd-whatsapp-strip-connect .listing-btn-whatsapp { padding: 9px 16px; }
@media (max-width: 700px) { .pd-whatsapp-strip { flex-direction: column; align-items: stretch; } }

.pd-message-form-grid { display: grid; grid-template-columns: 1fr 220px; gap: 26px; align-items: center; }
@media (max-width: 700px) { .pd-message-form-grid { grid-template-columns: 1fr; } }
.pd-message-form-aside {
  display: flex; flex-direction: column; align-items: center; justify-content: center; text-align: center; gap: 4px;
  background: var(--bg); border: 1px dashed var(--border); border-radius: var(--radius-md); padding: 22px 14px;
}
.pd-message-form-aside i { font-size: 30px; color: var(--orange); margin-bottom: 6px; }
.pd-message-form-aside strong { font-size: 13px; color: var(--navy); }
.pd-message-form-aside span { font-size: 12px; color: var(--text-muted); }
