/* Zocdoc-style public doctor profile */
.zd-page {
  --zd-yellow: #ffef4b;
  --zd-yellow-day: #fff59a;
  --zd-yellow-hover: #f5e63a;
  --zd-green: #1f7a4c;
  --zd-green-bg: #e8f6ee;
  --zd-bg: #f7f5f2;
  --zd-surface: #fff;
  --zd-border: #e5e3df;
  --zd-text: #1a1a1a;
  --zd-muted: #6b6b6b;
  --zd-link: #1557d6;
  --zd-star: #f5b400;
  margin: 0;
  background: var(--zd-bg);
  color: var(--zd-text);
  font-family: "DM Sans", system-ui, sans-serif;
  min-height: 100vh;
}

.zd-shell {
  max-width: 1180px;
  margin: 0 auto;
  padding: 24px 20px 96px;
}

.zd-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 380px;
  gap: 32px;
  align-items: start;
}

.zd-hero {
  background: transparent;
  margin-bottom: 8px;
}

.zd-hero-row {
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr) auto;
  gap: 20px;
  align-items: start;
}

.zd-photo {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  background: #ddd;
}

.zd-photo-fallback {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #2f6fed;
  color: #fff;
  font-size: 32px;
  font-weight: 700;
}

.zd-name {
  margin: 0 0 4px;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.2;
}

.zd-specialty {
  margin: 0 0 6px;
  font-size: 16px;
  color: #444;
}

.zd-address {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.zd-hero-actions {
  display: flex;
  gap: 8px;
}

.zd-icon-btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  border: 1px solid #d8d5d0;
  background: #fff;
  border-radius: 999px;
  padding: 8px 14px;
  font: inherit;
  font-size: 13px;
  font-weight: 600;
  cursor: pointer;
  color: #222;
}

.zd-icon-btn.is-saved {
  border-color: #e11;
  color: #c00;
}

.zd-rating-card {
  margin-top: 20px;
  display: grid;
  grid-template-columns: 120px minmax(0, 1fr);
  gap: 16px;
  background: #fff;
  border: 1px solid var(--zd-border);
  border-radius: 12px;
  padding: 16px 18px;
}

.zd-rating-num {
  font-size: 36px;
  font-weight: 700;
  line-height: 1;
}

.zd-stars { color: var(--zd-star); letter-spacing: 1px; font-size: 14px; margin-top: 6px; }

.zd-quote {
  margin: 0 0 8px;
  font-size: 14px;
  line-height: 1.5;
  color: #333;
}

.zd-see-reviews {
  color: var(--zd-link);
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
}

.zd-tabs {
  display: flex;
  gap: 4px;
  overflow-x: auto;
  border-bottom: 1px solid var(--zd-border);
  margin: 20px 0 0;
  position: sticky;
  top: 0;
  background: var(--zd-bg);
  z-index: 30;
}

.zd-tab {
  flex-shrink: 0;
  padding: 14px 12px;
  color: #555;
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  border-bottom: 3px solid transparent;
}

.zd-tab.is-active {
  color: #111;
  border-bottom-color: #111;
}

.zd-section {
  background: #fff;
  border: 1px solid var(--zd-border);
  border-radius: 12px;
  padding: 24px;
  margin-top: 16px;
}

.zd-h2 {
  margin: 0 0 14px;
  font-size: 22px;
  font-weight: 700;
}

.zd-h2-spaced { margin-top: 28px; }

.zd-h3 {
  margin: 16px 0 8px;
  font-size: 15px;
  font-weight: 700;
}

.zd-body, .zd-section p {
  font-size: 15px;
  line-height: 1.6;
  color: #333;
}

.zd-muted { color: var(--zd-muted); font-size: 14px; }

.zd-highlights {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 18px;
}

.zd-highlights li {
  display: grid;
  grid-template-columns: 28px minmax(0, 1fr);
  gap: 12px;
  align-items: start;
}

.zd-hi-ico { font-size: 20px; line-height: 1.2; }

.zd-highlights strong {
  display: block;
  font-size: 15px;
  margin-bottom: 2px;
}

.zd-highlights p {
  margin: 0;
  font-size: 14px;
  color: #555;
}

.zd-highlights a {
  color: var(--zd-link);
}

.zd-label-muted {
  margin: -6px 0 10px;
  font-size: 13px;
  color: var(--zd-muted);
}

.zd-ins-field {
  display: grid;
  grid-template-columns: auto 1fr 1fr;
  gap: 8px;
  align-items: center;
  border: 1px solid #ccc;
  border-radius: 8px;
  padding: 8px 10px;
  background: #fff;
  margin-bottom: 10px;
}

.zd-ins-check {
  color: var(--zd-green);
  font-weight: 700;
  font-size: 16px;
}

.zd-ins-select {
  border: none;
  font: inherit;
  font-size: 14px;
  background: transparent;
  min-width: 0;
}

.zd-ins-select:focus { outline: none; }

.zd-in-network {
  margin: 0 0 8px;
  color: var(--zd-green);
  font-size: 14px;
  font-weight: 600;
}

.zd-social-proof {
  margin: 0 0 14px !important;
  color: var(--zd-green) !important;
  font-size: 14px !important;
  font-weight: 600;
}

.zd-ins-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px 24px;
}

.zd-ins-item {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
}

.zd-ins-logo {
  width: 28px;
  height: 28px;
  border-radius: 6px;
  background: #f0f0f0;
  border: 1px solid #ddd;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 12px;
  font-weight: 700;
  color: #444;
}

.zd-more-plans {
  margin-top: 14px !important;
  font-size: 14px !important;
}

.zd-text-link, .zd-text-btn {
  appearance: none;
  border: none;
  background: none;
  color: var(--zd-link);
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}

.zd-reasons {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 28px;
  margin-bottom: 12px;
}

.zd-reason {
  font-size: 14px;
  color: #222;
  display: flex;
  gap: 8px;
  align-items: flex-start;
}

.zd-reason span { font-weight: 700; }

.zd-location {
  display: grid;
  grid-template-columns: 1.4fr 1fr;
  gap: 18px;
  align-items: start;
}

.zd-map {
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--zd-border);
  min-height: 220px;
  background: #eee;
}

.zd-map iframe {
  width: 100%;
  height: 240px;
  border: 0;
  display: block;
}

.zd-location-copy strong {
  display: block;
  margin-bottom: 6px;
  font-size: 15px;
}

.zd-location-copy p { margin: 0 0 4px; font-size: 14px; color: #444; }

.zd-phone {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 10px;
  color: #111;
  font-weight: 600;
  text-decoration: none;
}

.zd-phone:hover {
  color: var(--zd-link);
}

.zd-list { margin: 0; padding-left: 18px; color: #444; }

.zd-reviews-score {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 6px;
}

.zd-trust { margin-bottom: 16px !important; }

.zd-review {
  padding: 16px 0;
  border-top: 1px solid #eee;
}

.zd-review-top {
  display: flex;
  gap: 10px;
  align-items: center;
  margin-bottom: 8px;
}

.zd-review-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #e8e8e8;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.zd-faq {
  border-top: 1px solid #eee;
  padding: 12px 0;
}

.zd-faq summary {
  cursor: pointer;
  font-weight: 600;
  font-size: 14px;
}

.zd-faq p {
  margin: 8px 0 0;
  color: #555;
  font-size: 14px;
}

/* Booking sidebar */
.zd-sidebar { position: sticky; top: 88px; }

.zd-book {
  background: #fff;
  border: 1px solid var(--zd-border);
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.06);
}

.zd-book-title {
  margin: 0 0 6px;
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
}

.zd-book-sub {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--zd-muted);
  line-height: 1.4;
}

.zd-call-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  box-sizing: border-box;
  background: var(--zd-yellow);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 15px;
  padding: 14px 16px;
  border-radius: 10px;
  margin-bottom: 10px;
  transition: background 0.15s ease;
}

.zd-call-btn:hover {
  background: var(--zd-yellow-hover);
}

.zd-book-call-hint {
  margin: 0 0 18px;
  font-size: 13px;
  color: var(--zd-muted);
  line-height: 1.45;
}

.zd-book-readonly-panel {
  border-top: 1px solid var(--zd-border);
  padding-top: 16px;
  opacity: 0.55;
  pointer-events: none;
  user-select: none;
}

.zd-select-readonly {
  color: var(--zd-muted);
  background: #f5f5f5 !important;
  cursor: default;
}

.zd-patient-type-readonly {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  margin-bottom: 12px;
}

.zd-patient-type-readonly .zd-ptype {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  background: #fff;
}

.zd-book-readonly-note {
  margin: 0;
  font-size: 12px;
  color: var(--zd-muted);
  line-height: 1.4;
}

.zd-icon-btn-call {
  text-decoration: none;
  color: inherit;
}

.zd-book-section {
  margin: 0 0 10px;
  font-size: 15px;
  font-weight: 700;
}

.zd-field-label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  margin: 0 0 6px;
}

.zd-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  margin-bottom: 12px;
  background: #fff;
}

select.zd-select {
  padding-right: 36px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
}

.zd-book-ins {
  margin-bottom: 10px;
}

.zd-book-ins-row {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  border: none;
  background: transparent;
  padding: 4px 0 8px;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
  color: #222;
}

.zd-book-ins-check {
  display: inline-flex;
  flex-shrink: 0;
  width: 16px;
  height: 16px;
}

.zd-book-ins-label {
  line-height: 1.35;
}

.zd-book-ins-add {
  text-decoration: underline;
  text-underline-offset: 2px;
}

.zd-book-ins-picker {
  padding-bottom: 4px;
}

.zd-book-ins-picker .zd-select {
  margin-bottom: 8px;
}

.zd-book-ins-status {
  background: #dff5e6;
  color: #0f6b45;
  font-size: 14px;
  font-weight: 600;
  padding: 12px 14px;
  border-radius: 4px;
  border-left: 4px solid #0f6b45;
  margin: 0 0 16px;
  text-align: center;
}

.zd-patient-type {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  margin-bottom: 18px;
  border: 1px solid #c8c8c8;
  border-radius: 8px;
  overflow: hidden;
}

.zd-ptype {
  appearance: none;
  border: none;
  background: #fff;
  border-radius: 0;
  padding: 14px 10px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  color: #333;
  position: relative;
}

.zd-ptype + .zd-ptype {
  border-left: 1px solid #c8c8c8;
}

.zd-ptype-check {
  display: none;
  margin-right: 4px;
}

.zd-ptype.is-active {
  border: none;
  box-shadow: inset 0 0 0 2px #111;
  z-index: 1;
}

.zd-ptype.is-active .zd-ptype-check { display: inline; }

.zd-date-range {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 10px;
  font-size: 13px;
  font-weight: 600;
}

.zd-range-nav {
  display: flex;
  align-items: center;
  gap: 4px;
}

.zd-range-arrow {
  appearance: none;
  border: none;
  background: transparent;
  width: 28px;
  height: 28px;
  border-radius: 4px;
  cursor: pointer;
  font-size: 20px;
  line-height: 1;
  color: #333;
}

.zd-range-arrow:hover { background: #f3f3f3; }
.zd-range-arrow:disabled {
  opacity: 0.35;
  cursor: default;
}

.zd-days {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  gap: 6px;
  margin-bottom: 10px;
}

.zd-day {
  appearance: none;
  border: 1px solid transparent;
  background: #f3f3f3;
  border-radius: 6px;
  padding: 8px 2px 6px;
  cursor: pointer;
  font: inherit;
  text-align: center;
  min-height: 70px;
}

.zd-day.has-appts {
  background: #fff568;
  color: #111;
}

.zd-day.no-appts {
  color: #b0b0b0;
  background: #f5f5f5;
  cursor: default;
}

.zd-day.is-active {
  outline: 2px solid #111;
  outline-offset: 0;
}

.zd-day-name {
  display: block;
  font-size: 11px;
  font-weight: 600;
}

.zd-day-date {
  display: block;
  font-size: 12px;
  font-weight: 700;
  margin: 2px 0;
  white-space: nowrap;
}

.zd-day-count {
  display: block;
  font-size: 10px;
  line-height: 1.2;
}

.zd-more-avail {
  display: inline-block;
  margin: 2px 0 14px;
  color: var(--zd-link);
  font-size: 14px;
  font-weight: 500;
  text-decoration: underline;
  text-underline-offset: 2px;
  appearance: none;
  border: none;
  background: none;
  padding: 0;
  cursor: pointer;
  font: inherit;
}

.zd-dialog-slot.is-selected {
  outline: 2px solid #111;
  outline-offset: 1px;
}

.zd-book-dialog {
  border: none;
  border-radius: 14px;
  padding: 0;
  width: min(440px, calc(100vw - 24px));
  max-height: min(92vh, 860px);
  height: fit-content;
  margin: auto;
  position: fixed;
  inset: 0;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.28);
  background: transparent;
  overflow: visible;
}

.zd-book-dialog::backdrop {
  background: rgba(0, 0, 0, 0.45);
}

.zd-book-dialog-panel {
  background: #fff;
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  max-height: min(92vh, 860px);
  overflow: hidden;
}

.zd-book-dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 18px 20px 12px;
  border-bottom: 1px solid #eee;
  flex-shrink: 0;
}

.zd-book-dialog-head h2 {
  margin: 0;
  font-size: 22px;
  font-weight: 700;
}

.zd-book-dialog-close {
  appearance: none;
  border: none;
  background: transparent;
  font-size: 28px;
  line-height: 1;
  cursor: pointer;
  color: #444;
  padding: 0 4px;
}

.zd-book-dialog-body {
  overflow: auto;
  padding: 16px 20px 22px;
}

.zd-book-dialog-doctor {
  display: grid;
  grid-template-columns: 64px minmax(0, 1fr);
  gap: 14px;
  align-items: start;
  margin-bottom: 20px;
}

.zd-book-dialog-photo {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  object-fit: cover;
  background: #eee;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
}

.zd-book-dialog-name {
  font-size: 16px;
  font-weight: 700;
  line-height: 1.3;
}

.zd-book-dialog-spec {
  font-weight: 500;
  color: #555;
}

.zd-book-dialog-rating,
.zd-book-dialog-loc,
.zd-book-dialog-network {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-top: 4px;
  font-size: 13px;
  color: #444;
}

.zd-book-dialog-network {
  color: #1f7a4c;
  font-weight: 600;
}

.zd-book-dialog-section {
  margin-bottom: 22px;
}

.zd-book-dialog-section h3 {
  margin: 0 0 4px;
  font-size: 18px;
  font-weight: 700;
}

.zd-book-dialog-hint {
  margin: 0 0 12px;
  font-size: 13px;
  color: var(--zd-muted);
}

.zd-dialog-field {
  position: relative;
  margin-bottom: 10px;
}

.zd-dialog-field-icon {
  position: absolute;
  left: 12px;
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none;
  display: flex;
}

.zd-dialog-select {
  width: 100%;
  box-sizing: border-box;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 12px 36px 12px 40px;
  font: inherit;
  font-size: 14px;
  appearance: none;
  background: #fff url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1.5 6 6.5 11 1.5' stroke='%23666' stroke-width='1.6' fill='none' stroke-linecap='round'/%3E%3C/svg%3E") right 12px center / 12px no-repeat;
}

.zd-dialog-ins {
  width: 100%;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  gap: 10px;
  border: 1px solid #cfcfcf;
  border-radius: 8px;
  padding: 12px 14px;
  background: #fff;
  font: inherit;
  font-size: 14px;
  text-align: left;
  cursor: pointer;
}

.zd-dialog-ins-check {
  display: inline-flex;
  flex-shrink: 0;
}

.zd-dialog-appts {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.zd-dialog-day-label {
  font-size: 15px;
  font-weight: 700;
  margin-bottom: 8px;
}

.zd-dialog-slot-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.zd-dialog-slot {
  appearance: none;
  border: 1px solid #e6e000;
  background: #fff568;
  color: #111;
  border-radius: 6px;
  padding: 10px 14px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  min-width: 88px;
}

.zd-dialog-slot:hover {
  background: #ffe94a;
}

.zd-dialog-empty {
  margin: 0;
  font-size: 14px;
  color: #9a9a9a;
}

.zd-dialog-more {
  width: 100%;
  margin-top: 16px;
  appearance: none;
  border: 1px solid #111;
  background: #fff;
  border-radius: 8px;
  padding: 12px;
  font: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
}

.zd-dialog-more-label {
  margin: 8px 0 4px;
  font-size: 15px;
  font-weight: 700;
}

.zd-slots,
.zd-slot {
  display: none;
}

.zd-patient-form {
  border-top: 1px solid #eee;
  padding-top: 12px;
}

.zd-optional { font-weight: 400; color: #999; }

.zd-book-btn {
  width: 100%;
  border: none;
  border-radius: 8px;
  background: var(--zd-yellow);
  color: #111;
  font: inherit;
  font-size: 15px;
  font-weight: 700;
  padding: 14px;
  cursor: pointer;
}

.zd-book-btn:hover { background: var(--zd-yellow-hover); }

.zd-book-note {
  margin: 10px 0 0;
  padding: 10px;
  border-radius: 8px;
  background: var(--zd-green-bg);
  color: var(--zd-green);
  font-size: 12px;
}

.zd-book-note.is-error {
  background: #fdecec;
  color: #a11;
}

.zd-sticky-bar {
  position: fixed;
  left: 0;
  right: 0;
  top: 0;
  z-index: 120;
  background: #fff;
  border-bottom: 1px solid var(--zd-border);
  box-shadow: 0 4px 16px rgba(0,0,0,.06);
}

.zd-sticky-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  gap: 12px;
}

.zd-sticky-photo {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.zd-sticky-meta {
  display: grid;
  gap: 2px;
  font-size: 13px;
  flex: 1;
  min-width: 0;
}

.zd-sticky-cta {
  background: var(--zd-yellow);
  color: #111;
  text-decoration: none;
  font-weight: 700;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 8px;
  white-space: nowrap;
}

@media (max-width: 1100px) {
  .zd-days { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

@media (max-width: 920px) {
  .zd-layout { grid-template-columns: 1fr; }
  .zd-sidebar { position: static; }
  .zd-hero-row { grid-template-columns: 96px minmax(0, 1fr); }
  .zd-hero-actions { grid-column: 1 / -1; }
  .zd-rating-card { grid-template-columns: 100px 1fr; }
  .zd-location { grid-template-columns: 1fr; }
  .zd-reasons, .zd-ins-grid { grid-template-columns: 1fr; }
  .zd-tabs { top: 0; }
}

@media (max-width: 640px) {
  .zd-name { font-size: 22px; }
  .zd-ins-field { grid-template-columns: auto 1fr; }
  .zd-ins-plan { grid-column: 1 / -1; }
  .zd-days { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

/* Media-heavy profile */
.zd-gallery-strip-wrap {
  position: relative;
  margin: 0 0 20px;
}
.zd-gallery-strip {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(160px, 1fr);
  gap: 8px;
  overflow-x: auto;
  padding-bottom: 0;
  scroll-snap-type: x mandatory;
  scroll-behavior: smooth;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/legacy Edge */
}
.zd-gallery-strip::-webkit-scrollbar {
  display: none; /* Chrome/Safari */
}
.zd-gallery-seek {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 2;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(0, 0, 0, 0.08);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.95);
  display: grid;
  place-items: center;
  cursor: pointer;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.12);
}
.zd-gallery-seek img {
  width: 18px;
  height: 18px;
  display: block;
  pointer-events: none;
}
.zd-gallery-seek:hover {
  background: #fff;
}
.zd-gallery-seek:disabled {
  opacity: 0.35;
  cursor: default;
  box-shadow: none;
}
.zd-gallery-seek-prev { left: 8px; }
.zd-gallery-seek-next { right: 8px; }
.zd-gallery-item {
  margin: 0;
  scroll-snap-align: start;
  border-radius: 12px;
  overflow: hidden;
  background: #e8e4df;
  aspect-ratio: 4 / 3;
}
.zd-gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.zd-gallery-item .zd-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
}
.zd-hero-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 6px;
}
.zd-practice-logo {
  width: 36px;
  height: 36px;
  object-fit: contain;
  border-radius: 8px;
  background: #fff;
  border: 1px solid var(--zd-border);
}
.zd-practice-name {
  font-size: 13px;
  font-weight: 600;
  color: var(--zd-muted);
  letter-spacing: 0.01em;
}
.zd-social {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 10px;
}
.zd-social-link {
  font-size: 12px;
  font-weight: 600;
  color: var(--zd-link);
  text-decoration: none;
  padding: 4px 0;
}
.zd-social-link:hover { text-decoration: underline; }
.zd-video { margin-top: 20px; }
.zd-video-list {
  display: grid;
  gap: 16px;
  justify-items: center;
}
.zd-video-item {
  margin: 0;
  width: 100%;
  max-width: 720px;
}
.zd-video-item:has(.plyr.is-portrait),
.zd-video-item:has(video.is-portrait) {
  max-width: 360px;
}
.zd-video-caption {
  margin: 8px 0 0;
  font-size: 14px;
  color: #5a6f67;
}
.zd-video-frame {
  position: relative;
  width: 100%;
  padding-top: 56.25%;
  border-radius: 12px;
  overflow: hidden;
  background: #111;
}
.zd-video-frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}
.zd-video-player {
  width: 100%;
  height: auto;
  max-height: none;
  border-radius: 12px;
  background: #111;
  object-fit: contain;
}
.zd-video-item .plyr {
  --plyr-color-main: #1a7a4c;
  border-radius: 12px;
  overflow: hidden;
  width: 100%;
}
.zd-video-item .plyr,
.zd-video-item .plyr__video-wrapper {
  background: #111;
}
.zd-video-item .plyr video {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.zd-video-item .plyr.is-portrait,
.zd-video-item .plyr:has(video.is-portrait) {
  max-width: 360px;
  margin-inline: auto;
}
.zd-gallery-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
  gap: 12px;
  margin: 8px 0 20px;
}
.zd-gallery-card {
  margin: 0;
  border-radius: 12px;
  overflow: hidden;
  background: #efecea;
}
.zd-gallery-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.zd-gallery-card figcaption {
  padding: 8px 10px;
  font-size: 12px;
  color: var(--zd-muted);
}
.zd-review-photo {
  display: block;
  margin-top: 10px;
  max-width: 220px;
  border-radius: 10px;
  overflow: hidden;
}
.zd-review-photo img {
  width: 100%;
  height: auto;
  display: block;
}

.zd-lightbox-trigger {
  display: block;
  width: 100%;
  height: 100%;
  padding: 0;
  margin: 0;
  border: 0;
  background: transparent;
  cursor: pointer;
  text-align: left;
}
.zd-gallery-item .zd-lightbox-trigger,
.zd-gallery-card .zd-lightbox-trigger {
  height: auto;
}
.zd-gallery-card .zd-lightbox-trigger img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  display: block;
}
.zd-review-photo.zd-lightbox-trigger {
  cursor: pointer;
  border: 0;
  background: transparent;
  padding: 0;
}
body.zd-lightbox-open { overflow: hidden; }
.zd-lightbox {
  position: fixed;
  inset: 0;
  z-index: 2000;
  display: grid;
  place-items: center;
  padding: 24px;
}
.zd-lightbox[hidden] { display: none !important; }
.zd-lightbox-backdrop {
  position: absolute;
  inset: 0;
  border: 0;
  background: rgba(20, 20, 20, 0.78);
  cursor: pointer;
}
.zd-lightbox-panel {
  position: relative;
  z-index: 1;
  max-width: min(960px, 96vw);
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.zd-lightbox-img {
  display: block;
  max-width: 100%;
  max-height: calc(90vh - 48px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 12px;
  background: #111;
  box-shadow: 0 16px 48px rgba(0,0,0,0.35);
}
.zd-lightbox-caption {
  margin: 0;
  color: #fff;
  font-size: 14px;
  text-align: center;
  max-width: 40rem;
}
.zd-lightbox-close {
  position: absolute;
  top: -8px;
  right: -8px;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: 0;
  background: #fff;
  color: #1a1a1a;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(0,0,0,0.25);
}
.zd-lightbox-close:hover { background: #f3f3f3; }
