/* Command Catalogue full-screen service PDP — lazy companion to cc-service-pdp.js */
#serviceDetailOverlay.cc-cat-pdp-mode {
  align-items: stretch;
  justify-content: stretch;
  background: #111827;
  backdrop-filter: none;
}
#serviceDetailOverlay.cc-cat-pdp-mode #serviceDetailPanel {
  max-width: none !important;
  max-height: none !important;
  width: 100% !important;
  height: 100% !important;
  border-radius: 0 !important;
  margin: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden !important;
  background: #111827 !important;
  color: #f3f4f6;
}
#serviceDetailOverlay.cc-cat-pdp-mode .sticky.top-0,
#serviceDetailOverlay.cc-cat-pdp-mode .sticky.bottom-0 {
  background: #111827 !important;
  border-color: #374151 !important;
}
#serviceDetailOverlay.cc-cat-pdp-mode .sticky.bottom-0 {
  position: relative;
  flex: 0 0 auto;
  z-index: 1;
}
#serviceDetailOverlay.cc-cat-pdp-mode #svcDetailBody {
  flex: 1 1 auto;
  min-height: 0;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  padding: 0 0 24px;
}
.cc-pdp-receipt {
  flex: 0 0 auto;
  margin: 0;
  padding: 10px 16px;
  background: #065f46;
  color: #ecfdf5;
  font-size: 13px;
  font-weight: 600;
  z-index: 5;
}
.cc-pdp-receipt[hidden] { display: none !important; }
.cc-pdp-receipt.is-error {
  background: #7f1d1d;
  color: #fef2f2;
}
.cc-pdp-hero {
  width: 100%;
  aspect-ratio: 16 / 9;
  max-height: 220px;
  background: linear-gradient(145deg, #064e3b 0%, #111827 70%);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-size: 4rem;
}
.cc-pdp-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.cc-pdp-pad { padding: 16px 18px 0; }
.cc-pdp-kicker {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #34d399;
  margin-bottom: 6px;
}
.cc-pdp-title {
  font-size: 22px;
  font-weight: 800;
  line-height: 1.25;
  color: #f8fafc;
  margin: 0 0 6px;
}
.cc-pdp-fee {
  font-size: 18px;
  font-weight: 700;
  color: #34d399;
}
.cc-pdp-fee--quote {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px 10px;
}
.cc-pdp-fee-list {
  font-size: 15px;
  font-weight: 600;
  color: #9ca3af;
  text-decoration: line-through;
  text-decoration-thickness: 1.5px;
}
.cc-pdp-fee-now {
  font-size: 22px;
  font-weight: 800;
  color: #34d399;
  letter-spacing: -0.02em;
}
.cc-pdp-muted { font-size: 12px; color: #9ca3af; }
.cc-pdp-section {
  margin-top: 20px;
  padding: 0 18px;
}
.cc-pdp-h {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #e5e7eb;
  margin: 0 0 10px;
}
.cc-pdp-card {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 12px;
  padding: 12px 14px;
  margin-bottom: 10px;
}
.cc-pdp-card h4 {
  font-size: 14px;
  font-weight: 700;
  color: #f3f4f6;
  margin: 0 0 4px;
}
.cc-pdp-card p,
.cc-pdp-card .cc-pdp-body {
  font-size: 13px;
  line-height: 1.45;
  color: #d1d5db;
  margin: 0;
}
.cc-pdp-stars { color: #fbbf24; letter-spacing: 1px; font-size: 14px; }
.cc-pdp-summary-row {
  display: flex;
  gap: 14px;
  align-items: center;
  margin-bottom: 12px;
}
.cc-pdp-avg {
  font-size: 32px;
  font-weight: 800;
  color: #f8fafc;
  line-height: 1;
}
.cc-pdp-review {
  border-top: 1px solid #374151;
  padding: 12px 0;
}
.cc-pdp-review:first-of-type { border-top: 0; }
.cc-pdp-review-head {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  align-items: flex-start;
  margin-bottom: 4px;
}
.cc-pdp-review-name { font-weight: 700; font-size: 13px; color: #f3f4f6; }
.cc-pdp-review-meta { font-size: 11px; color: #9ca3af; }
.cc-pdp-photos {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 8px;
}
.cc-pdp-photos img {
  width: 72px;
  height: 72px;
  object-fit: cover;
  border-radius: 10px;
  background: #111827;
}
.cc-pdp-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}
.cc-pdp-vis {
  display: inline-block;
  margin-top: 8px;
  border-radius: 999px;
  padding: 3px 8px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.02em;
  border: 1px solid #4b5563;
  background: transparent;
  color: #d1d5db;
  cursor: pointer;
}
.cc-pdp-vis.is-customer {
  border-color: #34d399;
  color: #6ee7b7;
}
.cc-pdp-vis.is-internal {
  border-color: #9ca3af;
  color: #9ca3af;
}
.cc-pdp-btn {
  border-radius: 8px;
  padding: 6px 10px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid #4b5563;
  background: transparent;
  color: #e5e7eb;
  cursor: pointer;
}
.cc-pdp-btn--danger {
  border-color: #f87171;
  color: #fca5a5;
}
.cc-pdp-btn--primary {
  background: #00A854;
  border-color: #00A854;
  color: #fff;
}
.cc-pdp-form label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  margin: 8px 0 4px;
}
.cc-pdp-form input,
.cc-pdp-form textarea,
.cc-pdp-form select {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #f3f4f6;
  padding: 8px 10px;
  font-size: 13px;
}
.cc-pdp-form textarea { min-height: 88px; resize: vertical; }
.cc-pdp-skeleton {
  height: 14px;
  border-radius: 6px;
  background: linear-gradient(90deg, #1f2937, #374151, #1f2937);
  background-size: 200% 100%;
  animation: ccPdpShimmer 1.2s ease-in-out infinite;
  margin-bottom: 8px;
}
@keyframes ccPdpShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.cc-pdp-blocked {
  opacity: 0.55;
  outline: 1px dashed #f87171;
  border-radius: 8px;
  padding: 8px;
}
.cc-pdp-faq details {
  background: #1f2937;
  border: 1px solid #374151;
  border-radius: 10px;
  padding: 10px 12px;
  margin-bottom: 8px;
}
.cc-pdp-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 13px;
  color: #f3f4f6;
}
.cc-pdp-faq p {
  margin: 8px 0 0;
  font-size: 13px;
  color: #d1d5db;
  line-height: 1.45;
}
.cc-pdp-lazy { min-height: 48px; }
.cc-pdp-edit-toggle {
  margin: 12px 18px 0;
}
.cc-pdp-edit {
  margin: 12px 18px 20px;
}
.cc-pdp-hero {
  position: relative;
}
.cc-pdp-cover-btn {
  position: absolute;
  right: 12px;
  bottom: 12px;
  z-index: 2;
}
.cc-pdp-cover-btn[data-busy="1"] {
  opacity: 0.85;
  pointer-events: none;
}
.cc-pdp-cover-preview {
  width: 100%;
  max-height: 160px;
  object-fit: cover;
  border-radius: 10px;
  margin-top: 8px;
  display: none;
}
.cc-pdp-cover-preview.is-on { display: block; }
.cc-pdp-docs-assigned {
  list-style: none;
  margin: 0 0 10px;
  padding: 0;
  border: 1px solid #374151;
  border-radius: 10px;
  overflow: hidden;
  background: #0f172a;
}
.cc-pdp-docs-empty {
  padding: 12px;
  font-size: 12px;
  color: #9ca3af;
}
.cc-pdp-doc-row {
  padding: 10px 12px;
  border-bottom: 1px solid #1f2937;
}
.cc-pdp-doc-row:last-child { border-bottom: 0; }
.cc-pdp-doc-row-top {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.cc-pdp-doc-label {
  flex: 1 1 140px;
  min-width: 0;
  font-size: 13px;
  font-weight: 600;
  color: #f3f4f6;
}
.cc-pdp-doc-row select {
  width: auto;
  min-width: 110px;
  margin: 0;
  padding: 6px 8px;
  font-size: 12px;
}
.cc-pdp-doc-remove {
  border: 0;
  background: transparent;
  color: #f87171;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  padding: 4px 0;
}
.cc-pdp-doc-condition {
  display: block;
  margin-top: 8px;
}
.cc-pdp-doc-condition[hidden] { display: none !important; }
.cc-pdp-docs-add {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
}
@media (min-width: 520px) {
  .cc-pdp-docs-add {
    grid-template-columns: 1fr 1.2fr auto;
    align-items: end;
  }
}
.cc-pdp-pencil {
  border: 0;
  background: rgba(255, 255, 255, 0.08);
  color: #86efac;
  width: 32px;
  height: 32px;
  border-radius: 999px;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  flex-shrink: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.cc-pdp-pencil:hover { background: rgba(0, 168, 84, 0.25); color: #bbf7d0; }
.cc-pdp-editable {
  position: relative;
  padding-right: 44px;
}
.cc-pdp-editable > .cc-pdp-pencil {
  position: absolute;
  top: 10px;
  right: 10px;
}
.cc-pdp-h .cc-pdp-pencil {
  margin-left: 8px;
  vertical-align: middle;
}
.cc-pdp-title-row,
.cc-pdp-inline-field {
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.cc-pdp-title-row .cc-pdp-title { flex: 1; min-width: 0; }
.cc-pdp-inline-field--block { margin-top: 4px; }
.cc-pdp-inline-field--block > [data-cc-field] { flex: 1; min-width: 0; }
.cc-pdp-inline-editor label {
  display: block;
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  margin: 6px 0 4px;
}
.cc-pdp-inline-input,
.cc-pdp-inline-editor input,
.cc-pdp-inline-editor textarea {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #4b5563;
  background: #111827;
  color: #f3f4f6;
  padding: 8px 10px;
  font-size: 13px;
}
.cc-pdp-inline-editor textarea { min-height: 88px; resize: vertical; }
.cc-pdp-inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.cc-pdp-editable.is-editing { padding-right: 12px; }

/* Customer/read mode: hide leaked staff chrome. Staff buttons stay in Command DOM. */
#serviceDetailOverlay.cc-pdp-customer .cc-pdp-pencil,
#serviceDetailOverlay.cc-pdp-customer [data-cc-pdp-edit-open],
#serviceDetailOverlay.cc-pdp-customer [data-cc-pdp-cover-open],
#serviceDetailOverlay.cc-pdp-customer [data-cc-pdp-cover-choose],
#serviceDetailOverlay.cc-pdp-customer [data-cc-pdp-cover-remove] {
  display: none !important;
}
#serviceDetailOverlay.cc-pdp-customer #acctBizPdpActions {
  display: flex;
}
#serviceDetailOverlay.cc-pdp-customer #acctBizPdpGetStarted {
  background: #059669;
  color: #fff;
}
