/* India Diamond Directory: independent advertiser detail page (v2.3). */
.ipd-profile {
  --ipd-bg: #141517;
  --ipd-panel: #202124;
  --ipd-raised: #282a2e;
  --ipd-border: #3b3c41;
  --ipd-text: #f5f5f5;
  --ipd-muted: #b7b8bf;
  --ipd-yellow: #ffe54c;
  --ipd-green: #61dba0;
  background: var(--ipd-bg);
  color: var(--ipd-text);
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  font-size: 15px;
  line-height: 1.58;
  overflow: clip;
  width: 100%;
  min-height: 75vh;
}
.ipd-profile *, .ipd-profile *::before, .ipd-profile *::after { box-sizing: border-box; }
.ipd-profile a { color: inherit; text-decoration: none; }
.ipd-profile a:hover { color: var(--ipd-yellow); }
.ipd-profile button, .ipd-profile input, .ipd-profile select, .ipd-profile textarea { font: inherit; }
.ipd-profile :is(button,a,summary,input,select,textarea):focus-visible { outline: 2px solid var(--ipd-yellow); outline-offset: 3px; }
.ipd-profile-wrap { width: 100%; max-width: none; padding: 12px clamp(12px, 2.2vw, 44px) 44px; margin: 0 auto; }
.ipd-no-results { padding: 40px; text-align: center; }

.ipd-breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; color: var(--ipd-muted); font-size: 12px; padding: 4px 0 12px; }
.ipd-breadcrumb a:hover { color: var(--ipd-yellow); }
.ipd-breadcrumb span:last-child { color: #e2e3e7; }
.ipd-profile-heading { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 4px 0 17px; }
.ipd-kicker { display: block; margin: 0 0 5px; font-size: 10px; font-weight: 800; letter-spacing: .17em; color: var(--ipd-yellow); text-transform: uppercase; }
.ipd-profile-heading h1 { color: var(--ipd-text); font-size: clamp(25px, 2.6vw, 38px); font-weight: 800; letter-spacing: -.032em; line-height: 1.14; margin: 0 0 9px; text-transform: none; }
.ipd-intro-meta { display: flex; align-items: center; flex-wrap: wrap; gap: 7px 13px; color: #d4d5d8; font-size: 13px; }
.ipd-intro-meta > span { display: inline-flex; align-items: center; gap: 5px; }
.ipd-intro-meta .ipd-diamond { background: var(--ipd-yellow); border-radius: 999px; color: #18191b; padding: 2px 10px; font-weight: 800; }
.ipd-intro-meta .ipd-verified { color: var(--ipd-green); font-weight: 700; }
.ipd-head-side { display: grid; align-content: center; text-align: right; color: #c8c8ce; font-size: 12px; white-space: nowrap; }
.ipd-head-side small { color: var(--ipd-muted); }

.ipd-actions { display: flex; flex-wrap: wrap; gap: 8px; align-items: center; position: sticky; top: var(--wp-admin--admin-bar--height, 0px); z-index: 30; margin-bottom: 17px; padding: 10px; background: rgba(36, 37, 40, .96); border: 1px solid var(--ipd-border); border-radius: 13px; box-shadow: 0 8px 22px #0004; backdrop-filter: blur(12px); }
.ipd-actions .ipd-action { display: inline-flex; align-items: center; justify-content: center; gap: 8px; min-height: 40px; padding: 8px 14px; font-size: 13px; font-weight: 750; color: var(--ipd-yellow); background: #303136; border: 1px solid transparent; border-radius: 8px; transition: background .18s, border-color .18s, transform .18s; }
.ipd-actions .ipd-action:hover { background: #3a3b40; border-color: #67615a; color: #fff; transform: translateY(-1px); }
.ipd-actions .ipd-action-primary { color: #141517; background: var(--ipd-yellow); }
.ipd-actions .ipd-action-primary:hover { background: #fff1a0; color: #141517; }
.ipd-action > span { font-size: 16px; line-height: 1; }

.ipd-profile-columns { display: grid; grid-template-columns: minmax(260px, .33fr) minmax(0, .67fr); gap: clamp(12px, 1.5vw, 26px); align-items: start; width: 100%; }
.ipd-profile-columns > * { min-width: 0; }
.ipd-gallery-col { position: sticky; top: 94px; }
.ipd-gallery-card { background: var(--ipd-panel); border: 1px solid var(--ipd-border); padding: 9px; border-radius: 14px; box-shadow: 0 16px 28px #0002; }
.ipd-primary-photo { position: relative; display: grid; place-items: center; background: #101112; border-radius: 9px; overflow: hidden; aspect-ratio: 4 / 4.4; min-height: 320px; max-height: min(66vh, 680px); }
.ipd-primary-photo > img { display: block; width: 100%; height: 100%; object-fit: contain; object-position: center; }
.ipd-expand-photo { position: absolute; bottom: 12px; right: 12px; display: grid; place-items: center; width: 38px; height: 38px; padding: 0; border: 1px solid #fff7; border-radius: 10px; color: #17181a; background: var(--ipd-yellow); font-size: 24px; cursor: pointer; }
.ipd-photo-count { position: absolute; bottom: 12px; left: 12px; padding: 4px 9px; border-radius: 8px; background: #0c0c0cbd; color: #fff; font-size: 12px; }
.ipd-photo-thumbs { display: grid; grid-auto-columns: minmax(64px, 1fr); grid-auto-flow: column; gap: 8px; padding-top: 9px; overflow-x: auto; scrollbar-width: thin; overscroll-behavior-x: contain; }
.ipd-thumb { display: block; width: 100%; min-width: 64px; max-width: 110px; aspect-ratio: 1 / 1; padding: 0; background: #101112; border: 2px solid transparent; border-radius: 9px; overflow: hidden; cursor: pointer; }
.ipd-thumb img { display: block; width: 100%; height: 100%; object-fit: cover; }
.ipd-thumb.is-active { border-color: var(--ipd-yellow); }
.ipd-thumb:hover { border-color: #faf4bc; }
.ipd-photo-missing { display: flex; min-height: 320px; flex-direction: column; align-items: center; justify-content: center; background: #222326; border: 1px dashed #505157; border-radius: 10px; color: var(--ipd-muted); }
.ipd-photo-missing span { color: var(--ipd-yellow); font-size: 76px; line-height: 1; }
.ipd-photo-missing p { margin: 0; }
.ipd-gallery-hint { padding: 10px 8px; font-size: 11px; color: var(--ipd-muted); text-align: center; line-height: 1.5; }

.ipd-profile-main { display: grid; gap: 13px; min-width: 0; }
.ipd-panel { background: var(--ipd-panel); border: 1px solid var(--ipd-border); border-radius: 14px; padding: clamp(15px, 1.45vw, 25px); min-width: 0; }
.ipd-section-title { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; padding-bottom: 11px; border-bottom: 1px solid #44454a; }
.ipd-section-title h2 { margin: 0; color: #fff; font-size: clamp(19px, 1.55vw, 25px); letter-spacing: -.018em; font-weight: 800; line-height: 1.25; }
.ipd-description { color: #ebebef; font-size: clamp(15px, 1.04vw, 16px); line-height: 1.75; overflow-wrap: anywhere; }
.ipd-description > * { max-width: 95ch; }
.ipd-description :is(p,ul,ol) { margin: 0 0 14px; }
.ipd-description :is(ul,ol) { padding-left: 23px; }
.ipd-description li { margin-bottom: 7px; }
.ipd-description a, .ipd-site-line a { color: var(--ipd-yellow); text-decoration: underline; text-underline-offset: 3px; }
.ipd-description img, .ipd-description video, .ipd-description iframe { display: block; max-width: 100%; height: auto; }
.ipd-description table { max-width: 100%; display: block; overflow-x: auto; }

.ipd-rate-summary { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 8px; }
.ipd-rate-summary > div { display: flex; flex-direction: column; gap: 4px; min-width: 0; padding: 15px 18px; border-radius: 12px; background: #303137; border: 1px solid #56504a; }
.ipd-rate-summary span { color: #cccdd1; font-size: 12px; }
.ipd-rate-summary strong { color: var(--ipd-yellow); font-size: clamp(18px, 1.65vw, 27px); letter-spacing: -.025em; overflow-wrap: anywhere; line-height: 1.24; }
.ipd-spec-grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 0 20px; margin: 0; }
.ipd-spec-grid > div { display: flex; align-items: baseline; justify-content: space-between; gap: 12px; padding: 11px 0; border-bottom: 1px solid #3c3e42; }
.ipd-spec-grid dt { font-size: 13px; color: #bdbec5; font-weight: 600; }
.ipd-spec-grid dd { text-align: right; font-size: 13px; color: #fff; font-weight: 650; margin: 0; max-width: 63%; overflow-wrap: anywhere; }
.ipd-table-scroll { width: 100%; overflow-x: auto; }
.ipd-rates-table { width: 100%; border-collapse: collapse; text-align: left; min-width: 360px; }
.ipd-rates-table :is(th,td) { padding: 11px 15px; border-bottom: 1px solid #404147; font-size: 13px; }
.ipd-rates-table thead th { color: var(--ipd-yellow); font-size: 12px; background: #2d2f33; }
.ipd-rates-table tbody th { color: #f2f2f5; font-weight: 650; }
.ipd-rates-table tbody td { color: #e8e8ec; }
.ipd-fineprint, .ipd-site-line { color: var(--ipd-muted); font-size: 12px; line-height: 1.5; }
.ipd-fineprint { margin: 12px 0 0; }
.ipd-site-line { padding: 0 8px 10px; }
.ipd-service-pills { display: flex; flex-wrap: wrap; gap: 8px; }
.ipd-service-pills span { display: inline-flex; max-width: 100%; padding: 7px 11px; background: #313238; border: 1px solid #4a4b51; border-radius: 999px; font-size: 12px; color: #f3f3f4; }
.ipd-tour-list { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 9px; }
.ipd-tour-list > div { padding: 10px 12px; border-radius: 10px; border: 1px solid #44464c; display: grid; gap: 4px; }
.ipd-tour-list strong { color: #fff; }
.ipd-tour-list span { font-size: 12px; color: var(--ipd-muted); }

.ipd-feedback { margin-top: 17px; background: var(--ipd-panel); border: 1px solid var(--ipd-border); border-radius: 14px; padding: clamp(13px, 1.6vw, 26px); scroll-margin-top: 100px; }
.ipd-tab-list { display: flex; gap: 8px; border-bottom: 1px solid #44454a; }
.ipd-tab-list button { cursor: pointer; border: 1px solid transparent; border-bottom: 0; color: var(--ipd-yellow); border-radius: 10px 10px 0 0; background: transparent; padding: 13px 20px; font-size: clamp(16px, 1.4vw, 23px); font-weight: 750; }
.ipd-tab-list button[aria-selected='true'] { color: #fff; border-color: #505157; background: #313237; }
.ipd-tab-list button span { font-size: 12px; padding: 2px 7px; margin-left: 5px; border-radius: 999px; background: #494a50; color: #e2e2e6; }
.ipd-tab-panel { padding: 14px 4px 3px; }
.ipd-tab-panel[hidden] { display: none !important; }
.ipd-empty-feedback { color: #d5d5dc; padding: 0 2px; }
.ipd-feedback-list { display: grid; gap: 9px; margin-bottom: 14px; }
.ipd-feedback-card { padding: 14px; background: #2b2c30; border: 1px solid #46474d; border-radius: 10px; }
.ipd-feedback-card header { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; }
.ipd-feedback-card header strong { color: #fff; font-size: 14px; }
.ipd-review-stars { color: var(--ipd-yellow); letter-spacing: 1px; }
.ipd-feedback-card time { color: var(--ipd-muted); font-size: 12px; margin-left: auto; }
.ipd-feedback-card p { margin: 10px 0 0; line-height: 1.65; overflow-wrap: anywhere; }
.ipd-feedback-form-wrap { display: inline-block; width: 100%; }
.ipd-feedback-form-wrap summary { color: var(--ipd-yellow); font-weight: 750; cursor: pointer; width: fit-content; padding: 8px 0; }
.ipd-feedback-form-wrap[open] { display: block; }
.ipd-feedback-form { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: start; gap: 12px; padding: 16px 0 12px; }
.ipd-feedback-form label { display: grid; gap: 5px; color: #ebebed; font-size: 13px; font-weight: 650; }
.ipd-feedback-form :is(input,select,textarea) { min-width: 0; width: 100%; padding: 11px 12px; color: #fff; border: 1px solid #63646a; background: #2b2c30; border-radius: 8px; }
.ipd-feedback-form :is(input,select,textarea):focus { border-color: var(--ipd-yellow); }
.ipd-feedback-form textarea { resize: vertical; }
.ipd-feedback-form .ipd-field-wide { grid-column: 1 / -1; }
.ipd-feedback-form .ipd-honeypot { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.ipd-form-explanation { color: var(--ipd-muted); grid-column: 1 / -1; margin: 0; font-size: 12px; }
.ipd-feedback-form .ipd-submit { justify-self: start; padding: 11px 22px; border: 0; border-radius: 8px; background: var(--ipd-yellow); font-size: 14px; font-weight: 800; color: #171819; cursor: pointer; }
.ipd-feedback-form .ipd-submit:hover { background: #fff3ae; }
.ipd-form-notice { color: #172e24; background: #bcebd0; border-radius: 8px; padding: 10px 15px; font-weight: 650; }
.ipd-report { border-top: 1px solid #46474b; margin-top: 16px; padding-top: 13px; }
.ipd-report summary { color: #cdd0d6; font-size: 13px; cursor: pointer; width: fit-content; }
.ipd-report summary:hover { color: var(--ipd-yellow); }
.ipd-report > p { margin: 10px 0 0; color: var(--ipd-muted); font-size: 13px; }

.ipd-photo-dialog { --ipd-yellow: #ffe54c; border: 1px solid #515257; padding: 12px; background: #141518; box-shadow: 0 25px 100px #000a; border-radius: 12px; max-width: 93vw; max-height: 92vh; }
.ipd-photo-dialog::backdrop { background: #000b; }
.ipd-photo-dialog img { display: block; max-width: 88vw; max-height: 82vh; width: auto; height: auto; object-fit: contain; }
.ipd-dialog-close { float: right; display: grid; place-items: center; width: 35px; height: 35px; margin: 0 0 7px 10px; padding: 0; background: var(--ipd-yellow); border: 0; border-radius: 7px; color: #171819; font-size: 24px; cursor: pointer; }

@media (min-width: 1600px) {
  .ipd-profile-columns { grid-template-columns: minmax(330px, .28fr) minmax(0, .72fr); }
  .ipd-spec-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 0 26px; }
}
@media (max-width: 1030px) {
  .ipd-profile-columns { grid-template-columns: minmax(240px, .37fr) minmax(0, .63fr); }
  .ipd-rate-summary > div { padding: 12px; }
  .ipd-rate-summary strong { font-size: 18px; }
  .ipd-spec-grid { gap: 0 12px; }
}
@media (max-width: 820px) {
  .ipd-profile-wrap { padding: 9px 12px 24px; }
  .ipd-profile-columns { grid-template-columns: 1fr; gap: 12px; }
  .ipd-gallery-col { position: static; }
  .ipd-primary-photo { aspect-ratio: 4 / 3.5; max-height: 540px; min-height: 260px; }
  .ipd-actions { top: var(--wp-admin--admin-bar--height, 0px); margin-bottom: 12px; }
  .ipd-head-side { display: none; }
}
@media (max-width: 540px) {
  .ipd-profile-wrap { padding: 7px 8px 20px; }
  .ipd-breadcrumb { padding-left: 5px; font-size: 11px; }
  .ipd-profile-heading { padding: 8px 5px 11px; }
  .ipd-profile-heading h1 { font-size: 28px; }
  .ipd-intro-meta { font-size: 12px; gap: 5px 10px; }
  .ipd-actions { flex-wrap: nowrap; overflow-x: auto; scrollbar-width: none; padding: 7px; gap: 5px; border-radius: 9px; }
  .ipd-actions::-webkit-scrollbar { display: none; }
  .ipd-actions .ipd-action { flex: 0 0 auto; min-height: 41px; padding: 9px 12px; font-size: 12px; }
  .ipd-gallery-card { padding: 5px; border-radius: 10px; }
  .ipd-primary-photo { aspect-ratio: 4 / 4.1; max-height: 510px; min-height: 280px; border-radius: 7px; }
  .ipd-photo-thumbs { padding-top: 5px; gap: 5px; }
  .ipd-thumb { min-width: 64px; width: 74px; }
  .ipd-gallery-hint { padding: 8px; }
  .ipd-panel { padding: 14px 13px; border-radius: 10px; }
  .ipd-section-title h2 { font-size: 19px; }
  .ipd-description { font-size: 15px; line-height: 1.69; }
  .ipd-rate-summary { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 6px; }
  .ipd-rate-summary > div:first-child { grid-column: 1 / -1; }
  .ipd-rate-summary > div { padding: 12px; }
  .ipd-rate-summary strong { font-size: 20px; }
  .ipd-spec-grid { grid-template-columns: 1fr; }
  .ipd-spec-grid > div { padding: 10px 3px; }
  .ipd-feedback { padding: 12px 10px; border-radius: 10px; }
  .ipd-tab-list button { padding: 11px 12px; font-size: 17px; }
  .ipd-feedback-form { grid-template-columns: 1fr; gap: 10px; }
  .ipd-feedback-form .ipd-field-wide, .ipd-form-explanation { grid-column: auto; }
}
@media (prefers-reduced-motion: reduce) {
  .ipd-profile *, .ipd-profile *::before, .ipd-profile *::after { animation-duration: .01ms !important; transition-duration: .01ms !important; scroll-behavior: auto !important; }
}
