/* ==========================================================================
   OpsTitan Public Directory — UI system
   Style: Trust & Authority + Flat/Swiss, OT Portal palette, Jost type
   ========================================================================== */

:root {
    /* Brand — OT Portal palette */
    --pd-accent: #266df0;
    --pd-accent-deep: #215bc4;
    --pd-accent-soft: #ebf2ff;
    --pd-accent-soft-strong: #d8e5ff;
    --pd-accent-ring: rgba(38, 109, 240, .3);

    /* Ink */
    --pd-ink: #242529;
    --pd-ink-2: #4b4d55;
    --pd-ink-3: #6a6d76;
    --pd-ink-4: #9a9ea8;

    /* Surfaces */
    --pd-bg: #ffffff;
    --pd-surface: #ffffff;
    --pd-sky: #ebf2ff;
    --pd-line: #e6e9f1;
    --pd-line-strong: #d0d6e4;

    /* Feedback */
    --pd-success: #1c7a57;
    --pd-success-soft: #e6f5ee;
    --pd-gold: #c07c0a;
    --pd-danger: #c03a2b;
    --pd-danger-soft: #fdecea;

    /* Shape & elevation */
    --pd-radius-s: 4px;
    --pd-radius-m: 6px;
    --pd-radius-l: 8px;
    --pd-radius-xl: 10px;
    --pd-shadow-xs: 0 1px 2px rgba(16, 24, 40, .05);
    --pd-shadow-s: 0 1px 3px rgba(16, 24, 40, .06), 0 1px 2px rgba(16, 24, 40, .04);
    --pd-shadow-m: 0 12px 28px -14px rgba(16, 24, 40, .22);

    /* Layout */
    --pd-shell: 1680px;
    --pd-shell-narrow: 1200px;
    --pd-shell-detail: 1360px;
    --pd-header-h: 56px;
    --pd-tabs-h: 44px;
    color-scheme: light;
}

/* Base ------------------------------------------------------------------- */

/* Keyboard focus visibility for all interactive elements ----------------- */
.pd-page a:focus-visible,
.pd-page button:focus-visible,
.pd-page select:focus-visible,
.pd-page summary:focus-visible,
.pd-page input:focus-visible,
.pd-page textarea:focus-visible {
    outline: 3px solid var(--pd-accent-ring);
    outline-offset: 2px;
    border-radius: var(--pd-radius-s);
}


* { box-sizing: border-box; }

[hidden] { display: none !important; }

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0;
    color: var(--pd-ink);
    background: var(--pd-bg);
    font-family: Jost, "Jost Fallback", sans-serif;
    font-size: 16px;
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
}

body::before {
    display: block;
    height: 3px;
    content: "";
    background: var(--pd-accent);
}

h1, h2, h3, h4 {
    margin: 0;
    font-family: Jost, "Jost Fallback", sans-serif;
    font-weight: 600;
    letter-spacing: -.015em;
    line-height: 1.22;
}

p { margin: 0; }

a { color: inherit; text-decoration: none; }

img { display: block; max-width: 100%; }

a, button, input, select, textarea { font: inherit; }

button { cursor: pointer; }

:focus-visible {
    outline: 3px solid var(--pd-accent-ring);
    outline-offset: 2px;
    border-radius: 4px;
}

.pd-page { display: flex; flex-direction: column; min-height: 100vh; }
.pd-page > main, .pd-page > article { flex: 1 0 auto; }

.pd-shell { width: min(var(--pd-shell), calc(100% - 48px)); margin: 0 auto; }

/* Per-page widths: results/list pages use the full shell, content pages stay narrower. */
.pd-page-home .pd-shell,
.pd-shell.pd-saved-page,
main:has(.pd-hero:not(.pd-hero-compact)) .pd-shell { width: min(var(--pd-shell-narrow), calc(100% - 40px)); }

.pd-detail-page .pd-shell { width: min(var(--pd-shell-detail), calc(100% - 40px)); }

.pd-kicker {
    margin: 0 0 6px;
    color: var(--pd-accent-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .01em;
}

.pd-icon { width: 18px; height: 18px; flex: none; }

.pd-icon-sm { width: 15px; height: 15px; flex: none; }

.pd-visually-hidden {
    position: absolute !important;
    width: 1px; height: 1px;
    margin: -1px; padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    white-space: nowrap;
    border: 0;
}

/* Buttons ---------------------------------------------------------------- */

.pd-primary-button,
.pd-outline-button,
.pd-ghost-button,
.pd-search-submit,
.pd-review-filters button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 40px;
    padding: 8px 14px;
    border: 1px solid transparent;
    border-radius: var(--pd-radius-s);
    font-size: 14px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    transition: background-color .18s ease, border-color .18s ease, color .18s ease, box-shadow .18s ease;
}

.pd-primary-button,
.pd-search-submit,
.pd-review-filters button {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
}

.pd-primary-button:hover,
.pd-search-submit:hover,
.pd-review-filters button:hover {
    border-color: var(--pd-accent-deep);
    background: var(--pd-accent-deep);
}

.pd-outline-button {
    border-color: var(--pd-line-strong);
    background: var(--pd-surface);
    color: var(--pd-ink);
}

.pd-outline-button:hover {
    border-color: var(--pd-accent);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-ghost-button {
    background: transparent;
    color: var(--pd-accent-deep);
}

.pd-ghost-button:hover { background: var(--pd-accent-soft); }

/* Header ----------------------------------------------------------------- */

.pd-site-header {
    position: sticky;
    top: 0;
    z-index: 40;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-header-inner {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto minmax(0, 1fr);
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0 20px;
    min-height: var(--pd-header-h);
    padding: 6px 0;
}

.pd-brand {
    grid-column: 1;
    grid-row: 1;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-right: 0;
    min-width: 0;
    overflow: hidden;
    color: var(--pd-ink);
    font-size: 19px;
    font-weight: 600;
    letter-spacing: -.01em;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.pd-brand > span {
    min-width: 0;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-visitor-context { grid-column: 1; grid-row: 2; display: flex; align-items: center; flex-wrap: wrap; gap: 6px 14px; min-width: 0; color: var(--pd-ink-3); font-size: 12px; line-height: 1.25; }
.pd-visitor-context[hidden] { display: none; }
.pd-visitor-context > [hidden] { display: none !important; }
.pd-visitor-context > span,
.pd-visitor-context > a { display: inline-flex; align-items: center; gap: 5px; min-width: 0; white-space: nowrap; }
.pd-visitor-context .pd-icon-sm { flex: 0 0 auto; color: var(--pd-ink-3); }
.pd-visitor-context time { font-variant-numeric: tabular-nums; }
.pd-visitor-weather .fa-temperature-half { color: var(--pd-ink-3); }
.pd-weather-credit { gap: 4px !important; color: var(--pd-ink-3); font-size: 10px; text-decoration: none; }
.pd-weather-credit img { display: block; width: 48px; height: 24px; object-fit: contain; }
.pd-weather-credit:hover { color: var(--pd-ink); text-decoration: underline; }

.pd-content-categories { grid-column: 2; grid-row: 1 / span 2; justify-content: center; }
.pd-header-actions { grid-column: 3; grid-row: 1 / span 2; display: flex; align-items: center; justify-self: end; gap: 10px; margin-left: 0; }

.pd-header-actions details { position: relative; }

.pd-language-current,
.pd-header-actions summary {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 0 12px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    list-style: none;
}

.pd-flag {
    width: 18px;
    height: 18px;
    flex: none;
    border-radius: 50%;
    background: var(--pd-sky);
}

.pd-header-actions summary::-webkit-details-marker { display: none; }

.pd-header-actions summary::after {
    display: inline-block;
    content: "";
    width: 8px; height: 8px;
    border-right: 1.6px solid var(--pd-ink-3);
    border-bottom: 1.6px solid var(--pd-ink-3);
    transform: translateY(-2px) rotate(45deg);
}

.pd-header-actions summary:hover,
.pd-header-actions details[open] summary {
    border-color: var(--pd-accent);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-language-panel {
    position: absolute;
    top: calc(100% + 6px);
    right: 0;
    z-index: 60;
    display: grid;
    gap: 2px;
    min-width: 170px;
    padding: 8px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-m);
}

.pd-language-panel a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 12px;
    border-radius: var(--pd-radius-s);
    color: var(--pd-ink);
    font-size: 14px;
}

.pd-language-panel a:hover { background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-business-button,
.pd-login,
.pd-signup {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    min-height: 44px;
    padding: 0 16px;
    border-radius: var(--pd-radius-s);
    font-size: 14px;
    font-weight: 600;
    white-space: nowrap;
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.pd-business-button {
    padding: 0 12px;
    border: 1px solid transparent;
    background: transparent;
    color: var(--pd-ink-2);
    font-weight: 500;
}

.pd-business-button:hover {
    border-color: transparent;
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-login {
    order: 2;
    border: 1px solid var(--pd-accent-deep);
    background: var(--pd-accent-deep);
    color: #fff;
}

.pd-login:hover {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
}

.pd-signup {
    order: 1;
    border: 1px solid var(--pd-line-strong);
    background: var(--pd-surface);
    color: var(--pd-accent-deep);
}

.pd-signup:hover {
    border-color: var(--pd-accent);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-account {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    max-width: 190px;
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 600;
}

.pd-account:hover { color: var(--pd-accent-deep); }

.pd-account-menu { position: relative; }
.pd-account-menu > summary { list-style: none; cursor: pointer; }
.pd-account-menu > summary::-webkit-details-marker { display: none; }
.pd-account-menu > summary::after { display: none; }
.pd-account-menu[open] > summary { color: var(--pd-accent-deep); }
.pd-account-chevron { width: 8px; height: 8px; margin-left: 2px; border-right: 1.5px solid currentColor; border-bottom: 1.5px solid currentColor; transform: translateY(-2px) rotate(45deg); transition: transform .16s ease; }
.pd-account-menu[open] .pd-account-chevron { transform: translateY(2px) rotate(225deg); }
.pd-account-menu-panel { position: absolute; top: calc(100% + 6px); right: 0; z-index: 60; display: grid; gap: 2px; min-width: 228px; padding: 8px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); background: var(--pd-surface); box-shadow: var(--pd-shadow-m); }
.pd-account-menu-panel a { display: flex; align-items: center; gap: 10px; min-height: 40px; padding: 8px 10px; border-radius: var(--pd-radius-s); color: var(--pd-ink); font-size: 14px; text-decoration: none; white-space: nowrap; }
.pd-account-menu-panel a:hover, .pd-account-menu-panel a:focus-visible { background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-account-name { max-width: min(18vw, 160px); }

.pd-account-avatar {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    flex: none;
    overflow: hidden;
    border-radius: 50%;
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
    font-size: 12px;
    font-weight: 700;
}

.pd-account-avatar img { width: 100%; height: 100%; object-fit: cover; }
.pd-account-name { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

/* Footer ----------------------------------------------------------------- */

.pd-footer {
    margin-top: 48px;
    padding: 28px 0;
    background: var(--pd-ink);
    color: #fff;
}

.pd-footer > .pd-shell {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.pd-footer strong { color: #fff; font-size: 19px; font-weight: 600; }

.pd-footer p { margin-top: 6px; max-width: 44ch; color: #aeb4c2; font-size: 14px; }

.pd-footer nav { display: flex; gap: 22px; flex-wrap: wrap; }

.pd-footer a,
.pd-footer-link {
    color: #cdd3e0;
    font-size: 14px;
    text-decoration: none;
}

.pd-footer-link {
    appearance: none;
    padding: 0;
    border: 0;
    background: transparent;
    cursor: pointer;
}

.pd-footer a:hover,
.pd-footer-link:hover { color: #fff; text-decoration: underline; text-underline-offset: 3px; }

/* Hero & search ---------------------------------------------------------- */

.pd-hero {
    padding: 20px 0 16px;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-hero-copy { text-align: left; }

.pd-page-home .pd-hero-copy { text-align: center; }

.pd-page-home .pd-hero h1,
.pd-page-home .pd-hero-copy > p:not(.pd-kicker) { margin-inline: auto; }

.pd-hero h1 {
    margin: 0;
    max-width: 34ch;
    font-size: clamp(1.5rem, 2.6vw, 2rem);
}

.pd-hero-copy > p:not(.pd-kicker) {
    max-width: 56ch;
    margin: 10px 0 0;
    color: var(--pd-ink-3);
    font-size: 16px;
}

.pd-search-dock { position: sticky; top: var(--pd-header-h); z-index: 35; padding: 8px 0; border-bottom: 1px solid var(--pd-line); background: var(--pd-surface); }
.pd-search-dock .pd-search { margin: 0 auto; }
.pd-search-dock.is-results .pd-search { width: 100%; }
.pd-page-home .pd-hero,
.pd-page-home .pd-search-dock { border-bottom: 0; }

.pd-search {
    position: relative;
    display: flex;
    align-items: stretch;
    width: min(100%, 960px);
    margin: 24px 0 0;
    padding: 8px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-s);
}

.pd-search-field {
    position: relative;
    display: flex;
    flex: 1 1 0;
    flex-direction: column;
    justify-content: center;
    gap: 2px;
    min-width: 0;
    padding: 6px 12px;
    text-align: left;
}

.pd-search-field + .pd-search-field { border-left: 1px solid var(--pd-line); }

.pd-search-field label {
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 700;
    letter-spacing: .01em;
}

.pd-search-field input {
    width: 100%;
    min-width: 0;
    padding: 2px 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--pd-ink);
    font-size: 15px;
}

.pd-search-field input::placeholder { color: var(--pd-ink-3); }

.pd-search-field input[type="search"]::-webkit-search-cancel-button { display: none; }

.pd-search-where { padding-right: 34px; }

.pd-search-where-chevron {
    position: absolute;
    right: 12px;
    bottom: 12px;
    color: var(--pd-ink-4);
    pointer-events: none;
}

.pd-search-submit { align-self: stretch; padding-inline: 18px; }

/* Location combobox ------------------------------------------------------ */

.pd-location-options,
.pd-name-panel {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 30;
    width: min(440px, calc(100vw - 32px));
    max-height: 320px;
    padding: 8px;
    overflow-y: auto;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-m);
    overscroll-behavior: contain;
}

.pd-location-options button,
.pd-name-options button {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    min-height: 44px;
    padding: 10px 12px;
    border: 0;
    border-radius: var(--pd-radius-s);
    background: transparent;
    color: var(--pd-ink);
    text-align: left;
    cursor: pointer;
}

.pd-location-options button:hover,
.pd-location-options button:focus-visible,
.pd-location-options button[aria-selected="true"],
.pd-name-options button:hover,
.pd-name-options button:focus-visible,
.pd-name-options button[aria-selected="true"] {
    outline: 0;
    background: var(--pd-accent-soft);
}

.pd-location-options button strong,
.pd-name-options button strong { font-size: 15px; font-weight: 500; }

.pd-location-options button small,
.pd-name-options button small {
    flex: 0 0 auto;
    color: var(--pd-ink-3);
    font-size: 13px;
}

.pd-location-no-results {
    padding: 16px;
    color: var(--pd-ink-3);
    font-size: 14px;
    text-align: center;
}

.pd-name-panel [data-name-status] { margin: 0; }

.pd-location-error {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    z-index: 31;
    padding: 8px 12px;
    border: 1px solid #f2c1bb;
    border-radius: var(--pd-radius-s);
    background: var(--pd-danger-soft);
    color: var(--pd-danger);
    font-size: 13px;
}

/* Categories ------------------------------------------------------------- */

.pd-category-strip {
    padding: 36px 0 40px;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-bg);
}

.pd-section-heading,
.pd-result-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 22px;
}

.pd-section-heading h2,
.pd-result-heading h2 { font-size: 24px; }

.pd-category-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 14px;
}

.pd-category-grid a {
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-height: 89px;
    padding: 14px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    color: var(--pd-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pd-category-grid a:hover {
    border-color: var(--pd-accent);
    box-shadow: var(--pd-shadow-m);
}

.pd-category-grid strong { font-size: 17px; font-weight: 600; }

.pd-category-grid small { margin-top: auto; color: var(--pd-ink-3); font-size: 13px; }

/* Results ---------------------------------------------------------------- */

.pd-results { width: min(var(--pd-shell), calc(100% - 48px)); padding: 20px 0 28px; }

.pd-result-heading > span { color: var(--pd-ink-3); font-size: 14px; }

.pd-result-controls {
    display: flex;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.pd-result-toolbar { justify-content: space-between; margin-bottom: 18px; }

.pd-result-controls span { color: var(--pd-ink-3); font-size: 14px; }

.pd-result-controls label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--pd-ink-3);
    font-size: 14px;
}

.pd-result-controls select {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
}

.pd-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 20px;
}

.pd-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    color: var(--pd-ink);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pd-card:hover {
    border-color: var(--pd-accent);
    box-shadow: var(--pd-shadow-m);
}

.pd-card-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-accent-soft);
}

.pd-card-media > img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.pd-card-initial {
    display: grid;
    place-items: center;
    width: 64px;
    height: 64px;
    border-radius: var(--pd-radius-m);
    background: var(--pd-accent-soft-strong);
    color: var(--pd-accent-deep);
    font-size: 1.9rem;
    font-weight: 600;
}

.pd-card-city {
    position: absolute;
    top: 12px;
    left: 12px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    max-width: calc(100% - 24px);
    padding: 5px 10px;
    border: 1px solid var(--pd-line);
    border-radius: 999px;
    background: rgba(255, 255, 255, .94);
    color: var(--pd-ink-2);
    font-size: 12.5px;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pd-card-body {
    display: flex;
    flex: 1;
    flex-direction: column;
    gap: 6px;
    padding: 12px;
}

.pd-card h3 { font-size: 18px; }

.pd-category {
    color: var(--pd-ink-3);
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0;
}

.pd-card-rating {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--pd-ink-3);
    font-size: 14px;
}

.pd-card-rating strong { color: var(--pd-ink); font-weight: 600; }

.pd-card-address {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: var(--pd-ink-3);
    font-size: 14px;
}

.pd-card-address .pd-icon-sm { margin-top: 2px; color: var(--pd-ink-4); }

.pd-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: auto;
    padding-top: 12px;
    color: var(--pd-accent-deep);
    font-size: 14px;
    font-weight: 600;
}

.pd-card:hover .pd-card-link { text-decoration: underline; text-underline-offset: 3px; }
.pd-card-wrap { display: flex; min-width: 0; }
.pd-card-wrap .pd-card { width: 100%; }
.pd-result-title-row, .pd-card-title-row { display: flex; align-items: flex-start; justify-content: space-between; gap: 8px; min-width: 0; }
.pd-result-title-row h3, .pd-card-title-row h3 { flex: 1; min-width: 0; }
.pd-result-title-row h3 a:hover, .pd-card-title-row h3 a:hover { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pd-result-compare, .pd-card-compare, .pd-detail-compare { display: inline-flex; align-items: center; flex: none; gap: 6px; min-height: 32px; padding: 4px 8px; border: 1px solid var(--pd-line); border-radius: 999px; background: var(--pd-surface); color: var(--pd-ink-2); font-size: 12px; font-weight: 600; white-space: nowrap; cursor: pointer; }
.pd-result-compare input, .pd-card-compare input, .pd-detail-compare input { width: 15px; height: 15px; margin: 0; accent-color: var(--pd-accent); }
.pd-result-compare:has(input:checked), .pd-card-compare:has(input:checked), .pd-detail-compare:has(input:checked) { border-color: var(--pd-accent); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-stars {
    display: inline-flex;
    align-items: center;
    gap: 2px;
    color: var(--pd-gold);
}

.pd-stars .pd-icon-sm { width: 14px; height: 14px; }

.pd-star { color: #d7dae2; }

.pd-star.is-filled { color: var(--pd-gold); }

.pd-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 32px 20px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    text-align: center;
}

.pd-empty > .pd-icon {
    width: 28px;
    height: 28px;
    padding: 14px;
    box-sizing: content-box;
    border-radius: 50%;
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-empty h3 { font-size: 20px; }

.pd-empty p { max-width: 42ch; color: var(--pd-ink-3); font-size: 15px; }

.pd-empty a { margin-top: 10px; }

.pd-empty a.pd-primary-button { color: #fff; }

.pd-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 14px;
    padding-top: 36px;
}

.pd-pagination a {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 600;
}

.pd-pagination a:hover {
    border-color: var(--pd-accent);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-pagination span { color: var(--pd-ink-3); font-size: 14px; }

/* Compact hero for result pages ------------------------------------------ */

.pd-hero-compact { padding: 14px 0 16px; }

.pd-hero-compact .pd-hero-copy { text-align: left; }

.pd-hero-compact h1 { margin: 0; max-width: none; font-size: clamp(1.5rem, 2.6vw, 2rem); }

.pd-hero-compact .pd-hero-copy > p:not(.pd-kicker) { max-width: 70ch; margin: 8px 0 0; font-size: 16px; }


/* App-style results layout ----------------------------------------------- */

.pd-listing-layout {
    display: grid;
    grid-template-columns: 264px minmax(0, 1fr);
    align-items: start;
    gap: 18px;
}

.pd-filters {
    position: sticky;
    top: calc(var(--pd-header-h) + 16px);
    padding: 14px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
}

.pd-filters summary { display: none; }

.pd-filter-group + .pd-filter-group {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pd-line);
}

.pd-filter-group > strong { display: block; margin-bottom: 6px; font-size: 15px; }

.pd-filter-list { display: grid; gap: 2px; max-height: 240px; overflow-y: auto; }

.pd-filter-list a {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    min-height: 40px;
    padding: 8px 10px;
    border-radius: var(--pd-radius-s);
    color: var(--pd-ink-2);
    font-size: 14px;
}

.pd-filter-list a:hover { background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-filter-list a[aria-current="page"] { background: var(--pd-accent-soft); color: var(--pd-accent-deep); font-weight: 600; }

.pd-filter-list small { color: var(--pd-ink-3); font-size: 12.5px; }

.pd-filter-button {
    display: flex;
    align-items: center;
    gap: 10px;
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 0;
    border-radius: var(--pd-radius-s);
    background: transparent;
    color: var(--pd-accent-deep);
    font-size: 14px;
    font-weight: 600;
    text-align: left;
}

.pd-filter-button:hover { background: var(--pd-accent-soft); }

.pd-filter-button[disabled] { opacity: .6; cursor: wait; }

.pd-near-me-status { margin: 4px 0 0; color: var(--pd-danger); font-size: 13px; }

.pd-result-list { display: grid; gap: 16px; }

.pd-result-item {
    display: grid;
    grid-template-columns: 236px minmax(0, 1fr);
    gap: 16px;
    padding: 16px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    transition: border-color .18s ease, box-shadow .18s ease;
}

.pd-result-item:hover { border-color: var(--pd-accent); box-shadow: var(--pd-shadow-m); }

.pd-result-media {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    aspect-ratio: 4 / 3;
    border-radius: var(--pd-radius-m);
    background: var(--pd-accent-soft);
}

.pd-result-media img { width: 100%; height: 100%; object-fit: cover; }

.pd-result-body { display: flex; flex-direction: column; gap: 8px; min-width: 0; }

.pd-result-body h3 { font-size: 18px; }

.pd-result-body h3 a:hover { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.pd-result-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    color: var(--pd-ink-3);
    font-size: 14px;
}

.pd-result-meta strong { color: var(--pd-ink); font-weight: 600; }

.pd-result-actions { display: flex; align-items: center; justify-content: flex-start; gap: 8px; flex-wrap: wrap; margin-top: auto; padding-top: 8px; }
.pd-result-item > .pd-result-actions { grid-column: 1 / -1; flex-wrap: nowrap; min-width: 0; gap: 8px; margin-top: 0; padding-top: 12px; overflow-x: auto; overscroll-behavior-x: contain; border-top: 1px solid var(--pd-line); }
.pd-result-item > .pd-result-actions > a { flex: 0 0 auto; padding: 6px 8px; font-size: 13px; }
.pd-result-actions .pd-compare-select { padding-right: 4px; padding-left: 4px; }

.pd-result-actions .pd-outline-button { border-color: transparent; background: transparent; color: var(--pd-ink-3); }
.pd-result-actions .pd-outline-button:hover { border-color: var(--pd-line-strong); background: var(--pd-surface); color: var(--pd-ink); }

/* Applied filter chips --------------------------------------------------- */

.pd-applied-filters { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; margin-bottom: 14px; }

.pd-filter-count { margin-left: auto; padding: 3px 8px; border-radius: 999px; background: var(--pd-accent-soft); color: var(--pd-accent-deep); font-size: 12px; font-weight: 600; }

.pd-clear-filters {
    padding: 6px 4px;
    color: var(--pd-accent-deep);
    font-size: 14px;
    font-weight: 600;
}

.pd-clear-filters:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-chip {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    min-height: 36px;
    padding: 6px 12px;
    border: 1px solid var(--pd-line-strong);
    border-radius: 999px;
    background: var(--pd-surface);
    color: var(--pd-ink-2);
    font-size: 14px;
    font-weight: 500;
}

.pd-chip:hover { border-color: var(--pd-accent); color: var(--pd-accent-deep); }

.pd-chip .pd-icon-sm { color: var(--pd-ink-3); }

/* Results map ------------------------------------------------------------ */

.pd-results-map { min-width: 0; }

.pd-map-toggle {
    display: none;
    gap: 4px;
    margin-bottom: 12px;
    padding: 4px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
}

.pd-map-toggle button {
    flex: 1;
    min-height: 40px;
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--pd-ink-2);
    font-size: 14px;
    font-weight: 600;
}

.pd-map-toggle button[aria-pressed="true"] { background: var(--pd-accent); color: #fff; }

.pd-map-canvas {
    height: min(65vh, 600px);
    min-height: 360px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-accent-soft);
}

.pd-map-canvas .leaflet-container { font: inherit; }

@media (min-width: 1280px) {
    .pd-listing-layout.has-map { grid-template-columns: 232px minmax(0, 1fr) minmax(320px, 380px); }
    .pd-listing-layout.has-map .pd-result-item { grid-template-columns: 180px minmax(0, 1fr); }
    .pd-results-map { position: sticky; top: calc(var(--pd-header-h) + 16px); }
    .pd-listing-layout.has-map[data-result-count="1"] .pd-map-canvas { height: 260px; min-height: 260px; }
    .pd-listing-layout.has-map[data-result-count="2"] .pd-map-canvas { height: 380px; min-height: 360px; }
    .pd-results-map { max-height: min(65vh, 600px); overflow: hidden; border-radius: var(--pd-radius-l); }
}

@media (min-width: 1680px) {
    .pd-listing-layout.has-map .pd-result-list { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
    .pd-listing-layout.has-map .pd-result-item { grid-template-columns: 120px minmax(0, 1fr); gap: 12px; padding: 12px; }
    .pd-result-actions { gap: 6px; }
    .pd-result-actions .pd-primary-button { min-height: 34px; padding: 6px 8px; font-size: 13px; }
}

@media (max-width: 1279px) {
    .pd-results-map { display: none; }
    .pd-listing-layout[data-view="map"] .pd-results-col { display: none; }
    .pd-listing-layout[data-view="map"] .pd-results-map { display: block; }
    .pd-map-toggle { display: flex; grid-column: 1 / -1; }
    .pd-map-canvas { height: 62vh; }
}

/* Breadcrumbs ------------------------------------------------------------ */

.pd-breadcrumbs {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px;
    color: var(--pd-ink-3);
    font-size: 15px;
}

.pd-mobile-breadcrumb { display: none; }

.pd-index-breadcrumbs { padding: 12px 0 0; }

.pd-breadcrumbs a { color: var(--pd-ink-2); }

.pd-breadcrumbs a:hover { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }

.pd-breadcrumbs > span[aria-hidden="true"] { color: var(--pd-ink-4); }

.pd-breadcrumbs [aria-current="page"] { color: var(--pd-ink); font-weight: 600; }
.pd-content-list-page > .pd-breadcrumbs { margin-bottom: 18px; font-size: 14px; }
.pd-events-page > .pd-breadcrumbs { margin-bottom: 12px; }
.pd-forum-page .pd-breadcrumbs { margin: 12px 0 18px; }
.pd-forum-events-page > .pd-breadcrumbs { margin-bottom: 16px; }

/* Detail top ------------------------------------------------------------- */

.pd-detail-page { padding-bottom: 56px; }

.pd-detail-top {
    padding-top: 24px;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-detail-heading {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 16px;
    margin-top: 12px;
}

.pd-detail-heading h1 { margin-top: 2px;     font-size: clamp(1.75rem, 3vw, 2.25rem); }

.pd-detail-meta {
    display: flex;
    align-items: center;
    gap: 7px;
    margin-top: 8px;
    color: var(--pd-ink-3);
    font-size: 15px;
}

.pd-detail-meta .pd-icon-sm { color: var(--pd-ink-4); }

.pd-detail-contact-links { display: flex; flex-wrap: wrap; align-items: center; gap: 8px 18px; margin-top: 8px; }
.pd-detail-contact-links a { display: inline-flex; align-items: center; gap: 6px; min-width: 0; max-width: 100%; color: var(--pd-accent-deep); font-size: 14px; text-decoration: none; }
.pd-detail-contact-links a:hover { color: var(--pd-accent); text-decoration: underline; text-underline-offset: 3px; }
.pd-detail-contact-links .pd-detail-contact-label { color: var(--pd-ink-3); font-weight: 600; }
.pd-detail-contact-value { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.pd-heading-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 10px;
    color: var(--pd-ink-2);
    font-size: 15px;
}

.pd-heading-rating strong { font-weight: 600; }

.pd-initial-mark {
    display: grid;
    place-items: center;
    width: 88px;
    height: 88px;
    flex: none;
    border-radius: var(--pd-radius-l);
    background: var(--pd-accent-soft-strong);
    color: var(--pd-accent-deep);
    font-size: 2.4rem;
    font-weight: 600;
}

/* Gallery ---------------------------------------------------------------- */

.pd-intro-video-wrap {
    position: relative;
    isolation: isolate;
    width: 100%;
    height: 100%;
    min-width: 0;
    min-height: 0;
    overflow: hidden;
    border-radius: var(--pd-radius-m);
    background: #0b1424;
}

.pd-intro-video {
    position: absolute;
    inset: 0;
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: #0b1424;
}

.pd-intro-video-shade {
    position: absolute;
    z-index: 1;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(8, 16, 31, .4), transparent 27%, transparent 53%, rgba(8, 16, 31, .74));
}

.pd-intro-video-topline {
    position: absolute;
    z-index: 2;
    inset: 18px 20px auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.pd-intro-video-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 12px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 999px;
    background: rgba(13, 25, 46, .5);
    color: #fff;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .02em;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pd-intro-video-label .pd-video-play-icon { width: 15px; height: 15px; }

.pd-intro-video-center-toggle,
.pd-intro-video-control {
    display: grid;
    place-items: center;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .3);
    color: #fff;
    cursor: pointer;
    -webkit-backdrop-filter: blur(10px);
    backdrop-filter: blur(10px);
}

.pd-intro-video-center-toggle {
    position: absolute;
    z-index: 3;
    top: 50%;
    left: 50%;
    width: 68px;
    height: 68px;
    border-radius: 50%;
    background: rgba(18, 43, 83, .78);
    box-shadow: 0 8px 28px rgba(0, 0, 0, .24);
    opacity: 0;
    transform: translate(-50%, -44%) scale(.94);
    transition: opacity .18s ease, transform .18s ease, background-color .18s ease;
}

.pd-intro-video-center-toggle:hover { background: var(--pd-accent); }
.pd-intro-video-wrap:focus-within .pd-intro-video-center-toggle,
.pd-intro-video-wrap:not(.is-playing) .pd-intro-video-center-toggle { opacity: 1; transform: translate(-50%, -50%) scale(1); }

@media (hover: hover) {
    .pd-intro-video-wrap:hover .pd-intro-video-center-toggle { opacity: 1; transform: translate(-50%, -50%) scale(1); }
}

.pd-intro-video-controls {
    position: absolute;
    z-index: 3;
    right: 16px;
    bottom: 14px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.pd-intro-video-control {
    flex: none;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(15, 29, 52, .64);
    transition: background-color .18s ease, transform .18s ease;
}

.pd-intro-video-control:hover { background: var(--pd-accent); transform: scale(1.04); }
.pd-intro-video-center-toggle:focus-visible,
.pd-intro-video-control:focus-visible { outline: 3px solid #fff; outline-offset: 3px; }

.pd-video-play-icon,
.pd-video-pause-icon,
.pd-video-muted-icon {
    width: 19px;
    height: 19px;
    fill: currentColor;
}

.pd-intro-video-center-toggle .pd-video-play-icon,
.pd-intro-video-center-toggle .pd-video-pause-icon { width: 27px; height: 27px; }
.pd-intro-video-wrap [hidden] { display: none !important; }
.pd-video-mute-slash { fill: none; stroke: currentColor; stroke-linecap: round; stroke-width: 2; }

.pd-intro-video-time {
    flex: none;
    min-width: 76px;
    color: rgba(255, 255, 255, .9);
    font-size: .78rem;
    font-variant-numeric: tabular-nums;
    white-space: nowrap;
}

.pd-intro-video-progress {
    flex: 1;
    min-width: 40px;
    height: 4px;
    margin: 0;
    border-radius: 999px;
    appearance: none;
    background: linear-gradient(to right, var(--pd-accent) var(--pd-video-progress, 0%), rgba(255, 255, 255, .48) var(--pd-video-progress, 0%));
    cursor: pointer;
}

.pd-intro-video-progress::-webkit-slider-thumb {
    width: 10px;
    height: 10px;
    border: 2px solid #fff;
    border-radius: 50%;
    appearance: none;
    background: var(--pd-accent);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .28);
}

.pd-intro-video-progress::-moz-range-thumb {
    width: 8px;
    height: 8px;
    border: 2px solid #fff;
    border-radius: 50%;
    background: var(--pd-accent);
    box-shadow: 0 1px 5px rgba(0, 0, 0, .28);
}

.pd-intro-video-progress:focus-visible { outline: 2px solid #fff; outline-offset: 5px; }

@media (max-width: 600px) {
    .pd-intro-video-topline { inset: 10px 10px auto; }
    .pd-intro-video-label { padding: 6px 9px; font-size: .7rem; }
    .pd-intro-video-controls { right: 10px; bottom: 9px; left: 10px; gap: 8px; }
    .pd-intro-video-control { width: 32px; height: 32px; }
    .pd-intro-video-time { min-width: 68px; font-size: .7rem; }
    .pd-intro-video-center-toggle { width: 54px; height: 54px; }
}

.pd-photo-gallery {
    position: relative;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    grid-template-rows: repeat(2, minmax(130px, 200px));
    gap: 8px;
    margin-top: 20px;
}

.pd-photo-gallery > img {
    width: 100%;
    height: 100%;
    min-height: 0;
    object-fit: cover;
    border-radius: var(--pd-radius-m);
    background: var(--pd-sky);
    transition: opacity .18s ease;
}

.pd-photo-gallery > img:hover { opacity: .92; }

.pd-photo-gallery .pd-photo-main { grid-row: span 2; }
.pd-photo-gallery { scroll-margin-top: calc(var(--pd-header-h) + 16px); }

.pd-photo-gallery.has-intro-video {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 8 / 3;
}

.pd-photo-gallery.has-intro-video.one-photo {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 80 / 27;
}

.pd-photo-gallery.has-intro-video.two-photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr);
    aspect-ratio: 8 / 3;
}

.pd-photo-gallery.has-intro-video.three-photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    grid-template-rows: repeat(2, minmax(0, 1fr));
    aspect-ratio: 32 / 9;
}

.pd-photo-gallery.has-intro-video.three-photos > img:nth-of-type(3) { grid-column: 2 / 4; }

.pd-photo-gallery.has-intro-video.multiple-photos {
    grid-template-columns: minmax(0, 2fr) minmax(0, 1fr) minmax(0, 1fr);
    aspect-ratio: 32 / 9;
}

.pd-photo-gallery.has-intro-video.video-only {
    grid-template-columns: minmax(0, 1fr);
    grid-template-rows: minmax(0, 1fr);
    aspect-ratio: 16 / 9;
}

.pd-photo-gallery.has-intro-video .pd-photo-main {
    grid-row: span 2;
}

.pd-photo-gallery.has-intro-video.one-photo .pd-photo-main,
.pd-photo-gallery.has-intro-video.video-only .pd-photo-main { grid-row: auto; }

.pd-photo-button {
    position: absolute;
    right: 14px;
    bottom: 14px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    padding: 10px 16px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: rgba(255, 255, 255, .96);
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 600;
    box-shadow: var(--pd-shadow-s);
}

.pd-photo-button:hover { border-color: var(--pd-accent); color: var(--pd-accent-deep); }
.pd-photo-button { text-decoration: none; }

.pd-photo-library-section .pd-section-heading { align-items: center; }
.pd-photo-filters { display: flex; flex-wrap: wrap; gap: 8px; }
.pd-photo-filter { min-height: 38px; padding: 7px 12px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-s); background: #fff; color: var(--pd-ink); font: inherit; cursor: pointer; }
.pd-photo-filter:hover { border-color: var(--pd-accent); }
.pd-photo-filter[aria-pressed="true"] { border-color: var(--pd-accent); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-photo-library { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; }
.pd-photo-library-item { min-width: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); background: #fff; }
.pd-photo-library-item[hidden] { display: none; }
.pd-photo-more { display: flex; width: max-content; margin: 18px auto 0; }
.pd-photo-more[hidden] { display: none; }
.pd-photo-library-open { position: relative; display: block; width: 100%; aspect-ratio: 4 / 3; overflow: hidden; padding: 0; border: 0; background: var(--pd-sky); cursor: zoom-in; }
.pd-photo-library-open img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-photo-library-open.is-video { background: #111; }
.pd-photo-library-open:focus-visible { outline: 3px solid var(--pd-accent); outline-offset: -3px; }
.pd-photo-source { position: absolute; top: 8px; left: 8px; max-width: calc(100% - 16px); padding: 4px 8px; border-radius: var(--pd-radius-s); background: rgba(255,255,255,.96); color: var(--pd-ink); font-size: 12px; font-weight: 600; }
.pd-photo-caption { display: flex; justify-content: space-between; align-items: baseline; gap: 8px; padding: 10px 12px; color: var(--pd-ink); font-size: 13px; }
.pd-photo-caption > span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.pd-photo-caption > a { flex: none; color: var(--pd-accent-deep); font-weight: 600; text-decoration: underline; text-underline-offset: 2px; }

/* Tabs ------------------------------------------------------------------- */

.pd-detail-tabs-bar {
    position: sticky;
    top: var(--pd-header-h);
    z-index: 30;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-detail-sticky-summary { display: flex; align-items: center; gap: 16px; min-width: 0; padding-top: 4px; padding-bottom: 4px; overflow-x: auto; scrollbar-width: none; color: var(--pd-ink-2); font-size: 13px; white-space: nowrap; }
.pd-detail-tabs-bar .pd-detail-sticky-summary { width: min(var(--pd-shell-detail), calc(100% - 40px)); }
.pd-detail-sticky-summary::-webkit-scrollbar { display: none; }
.pd-detail-sticky-summary > * { display: inline-flex; align-items: center; gap: 6px; min-width: 0; flex: 0 0 auto; }
.pd-detail-sticky-summary > strong { max-width: 260px; overflow: hidden; color: var(--pd-accent-deep); font-size: 16px; font-weight: 700; text-overflow: ellipsis; }
.pd-detail-sticky-summary > span { max-width: min(30vw, 320px); overflow: hidden; text-overflow: ellipsis; }
.pd-detail-sticky-contact { max-width: min(36vw, 300px); overflow: hidden; color: var(--pd-ink-2); text-decoration: none; text-overflow: ellipsis; }
.pd-detail-sticky-contact:hover, .pd-detail-sticky-contact:focus-visible { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pd-detail-sticky-summary .pd-sticky-cart { position: relative; display: flex; flex: 0 0 44px; width: 44px; height: 44px; margin-left: auto; margin-right: 392px; transform: translateY(2px); }
.pd-sticky-cart[hidden] { display: none !important; }
.pd-cart-trigger-sticky { flex: 0 0 44px; width: 44px; height: 44px; }

.pd-detail-tabs {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scrollbar-width: none;
}

.pd-detail-tabs::-webkit-scrollbar { display: none; }

.pd-detail-tabs.is-scrollable {
    -webkit-mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
    mask-image: linear-gradient(90deg, #000 calc(100% - 28px), transparent);
}

.pd-detail-tabs a {
    display: inline-flex;
    align-items: center;
    min-height: var(--pd-tabs-h);
    border-bottom: 2px solid transparent;
    color: var(--pd-ink-3);
    font-size: 15px;
    font-weight: 600;
    white-space: nowrap;
}

.pd-detail-tabs a:hover { color: var(--pd-ink); }

.pd-detail-tabs a[aria-current="page"] {
    color: var(--pd-accent-deep);
    border-bottom-color: var(--pd-accent);
}

/* Detail layout ---------------------------------------------------------- */

.pd-detail-layout {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 360px;
    align-items: start;
    gap: 16px;
    padding: 16px 0 0;
}

.pd-detail-main { display: grid; gap: 24px; min-width: 0; }

.pd-detail-section {
    min-width: 0;
    padding: 20px 24px;
    border-bottom: 1px solid var(--pd-line);
    background: transparent;
    scroll-margin-top: calc(var(--pd-header-h) + var(--pd-tabs-h) + 20px);
}

.pd-detail-section h2 { margin-bottom: 14px; font-size: 22px; letter-spacing: -.01em; }

.pd-detail-section > p { margin-top: 10px; max-width: 68ch; color: var(--pd-ink-2); font-size: 16px; }

.pd-description { font-size: 16px; line-height: 1.6; }

.pd-attribute-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 8px;
    margin-top: 12px;
}

.pd-attribute-grid span {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 10px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
    color: var(--pd-ink-2);
    font-size: 14px;
}

.pd-attribute-grid .pd-icon-sm { color: var(--pd-success); }

/* Services --------------------------------------------------------------- */

.pd-service-list { margin-top: 6px; }

.pd-service-list article {
    display: grid;
    grid-template-columns: 32px minmax(0, 1fr) auto;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-top: 1px solid var(--pd-line);
}

.pd-service-list article:first-child { border-top: 0; padding-top: 8px; }

.pd-service-mark {
    display: grid;
    place-items: center;
    width: 32px;
    height: 32px;
    border-radius: var(--pd-radius-m);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-service-list h3 { font-size: 17px; font-weight: 600; }

.pd-service-list p { margin-top: 3px; color: var(--pd-ink-3); font-size: 14px; }

.pd-service-list small {
    display: block;
    margin-top: 6px;
    color: var(--pd-ink-3);
    font-size: 11px;
    font-weight: 600;
    letter-spacing: .05em;
}

.pd-service-list strong { font-size: 17px; font-weight: 700; font-variant-numeric: tabular-nums; white-space: nowrap; }

/* Location & hours ------------------------------------------------------- */

.pd-section-heading { display: flex; align-items: flex-end; justify-content: space-between; gap: 12px; }

.pd-location-grid {
    display: grid;
    grid-template-columns: minmax(0, .85fr) minmax(0, 1.15fr);
    align-items: start;
    gap: 12px;
    margin-top: 12px;
}

.pd-address-card {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 14px;
    border-radius: var(--pd-radius-m);
    background: var(--pd-accent-soft);
    color: var(--pd-ink);
    font-size: 15px;
}

.pd-address-card strong { font-size: 16px; }

.pd-address-card span { color: var(--pd-ink-2); }

.pd-address-card .pd-address-business { color: var(--pd-ink); font-size: 17px; font-weight: 700; }
.pd-address-contact { display: grid; gap: 8px; margin-top: 8px; padding-top: 10px; border-top: 1px solid var(--pd-accent-soft-strong); }
.pd-address-contact-item { display: grid; grid-template-columns: 18px 84px minmax(0, 1fr); align-items: center; gap: 7px; min-width: 0; color: var(--pd-ink-2); }
.pd-address-contact a { text-decoration: none; }
.pd-address-contact a:hover, .pd-address-contact a:focus-visible { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pd-address-contact-item.is-unavailable { color: var(--pd-ink-3); }
.pd-address-contact-label { color: var(--pd-ink-3); font-size: 12px; font-weight: 600; }
.pd-address-contact-value { min-width: 0; overflow-wrap: anywhere; }

.pd-hours { display: grid; align-content: start; }

.pd-hours-row {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 0;
    border-bottom: 1px solid var(--pd-line);
    font-size: 15px;
}

.pd-hours-row:first-child { padding-top: 0; }

.pd-hours-row:last-child { padding-bottom: 0; border-bottom: 0; }

.pd-hours-row strong { font-weight: 500; }

.pd-hours-row span { color: var(--pd-ink-2); font-variant-numeric: tabular-nums; }

.pd-hours-row.is-closed strong,
.pd-hours-row.is-closed span { color: var(--pd-ink-3); }

.pd-hours-empty {
    display: grid;
    place-items: center;
    padding: 16px;
    border: 1px dashed var(--pd-line-strong);
    border-radius: var(--pd-radius-m);
    color: var(--pd-ink-3);
    font-size: 14px;
}

.pd-hours-heading { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

.pd-hours-status {
    display: inline-flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 7px;
    padding: 4px 11px;
    border-radius: 999px;
    background: var(--pd-success-soft);
    color: var(--pd-success);
    font-size: 13px;
    font-weight: 600;
}

.pd-hours-status::before {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: currentColor;
    content: "";
}

.pd-hours-status[data-state="closed"] { background: var(--pd-danger-soft); color: var(--pd-danger); }
.pd-hours-status [data-hours-local-time],
.pd-hours-status [data-hours-close-countdown] { padding-left: 7px; border-left: 1px solid currentColor; font-variant-numeric: tabular-nums; font-weight: 500; }

.pd-hours-row.is-today strong { padding: 4px 8px; border: 1px solid var(--pd-success); border-radius: var(--pd-radius-s); background: var(--pd-success-soft); color: var(--pd-success); font-weight: 600; white-space: nowrap; }

.pd-similar { margin-top: 20px; }

.pd-similar .pd-grid { margin-top: 20px; }

.pd-mobile-cta {
    display: none;
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 35;
    gap: 10px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom, 0px));
    border-top: 1px solid var(--pd-line);
    background: rgba(255, 255, 255, .98);
}

.pd-mobile-cta .pd-primary-button { flex: 1; }

.pd-mobile-cta .pd-outline-button { flex: none; width: 48px; padding: 0; }

.pd-map {
    width: 100%;
    height: 300px;
    margin-top: 16px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
}

/* Reviews ---------------------------------------------------------------- */

.pd-rating-summary {
    display: flex;
    align-items: center;
    gap: 12px;
}

.pd-rating-summary > strong { font-size: 30px; font-weight: 600; line-height: 1; }

.pd-rating-summary > div { display: flex; flex-direction: column; gap: 2px; }

.pd-rating-summary span:last-child { color: var(--pd-ink-3); font-size: 14px; }

.pd-review-filters {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin: 20px 0 4px;
    padding: 14px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
    background: var(--pd-bg);
}

.pd-review-filters input[type="search"],
.pd-review-filters select {
    min-height: 44px;
    padding: 8px 12px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
}

.pd-review-filters input[type="search"] { flex: 1 1 220px; min-width: 0; }

.pd-review-filters label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 44px;
    color: var(--pd-ink-2);
    font-size: 14px;
    cursor: pointer;
}

.pd-review-filters input[type="checkbox"] { width: 18px; height: 18px; accent-color: var(--pd-accent); }

.pd-review-filter-count { margin-top: 10px; color: var(--pd-ink-3); font-size: 14px; }

.pd-review-empty {
    margin-top: 16px;
    padding: 18px;
    border: 1px dashed var(--pd-line-strong);
    border-radius: var(--pd-radius-m);
    color: var(--pd-ink-3);
    text-align: center;
}

.pd-review {
    padding: 16px 0;
    border-top: 1px solid var(--pd-line);
    scroll-margin-top: calc(var(--pd-header-h) + var(--pd-tabs-h) + 20px);
}

.pd-review:first-of-type { margin-top: 12px; }

.pd-review-head {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) auto;
    align-items: center;
    gap: 12px;
}

.pd-review-avatar {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
    font-size: 16px;
    font-weight: 600;
}

.pd-review-identity { display: flex; flex-direction: column; min-width: 0; }

.pd-review-identity strong { font-size: 15px; font-weight: 600; }

.pd-review-identity small { color: var(--pd-ink-3); font-size: 13px; }

.pd-review-rating { display: inline-flex; align-items: center; gap: 2px; }

.pd-review-body { margin-top: 12px; color: var(--pd-ink-2); font-size: 16px; line-height: 1.6; }

.pd-write-review { margin-top: 22px; padding: 18px 0 22px; border-top: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line); }
.pd-write-review-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.pd-write-review-head h3 { margin: 0; font-size: 18px; }
.pd-write-review-head p { margin: 4px 0 0; color: var(--pd-ink-3); font-size: 13px; }
.pd-review-editor { margin-top: 18px; }
.pd-review-aspect-list { display: grid; gap: 12px; }
.pd-review-aspect-block { display: grid; gap: 8px; padding: 12px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); }
.pd-review-aspect-block textarea { min-height: 64px; }
.pd-review-comments { margin-top: 12px; }
.pd-review-editor label { display: flex; flex-direction: column; gap: 6px; color: var(--pd-ink-2); font-size: 13px; font-weight: 600; }
.pd-review-editor select,
.pd-review-editor textarea { width: 100%; border: 1px solid var(--pd-line-strong); border-radius: 8px; padding: 9px 10px; background: #fff; color: var(--pd-ink); font: inherit; font-weight: 400; }
.pd-review-editor select { min-height: 42px; }
.pd-review-editor textarea { min-height: 76px; resize: vertical; }
.pd-review-upload { margin-top: 12px; }
.pd-review-upload input[type="file"] { padding: 8px; border: 1px dashed var(--pd-line-strong); border-radius: 8px; background: #fff; }
.pd-review-upload small { color: var(--pd-ink-3); font-weight: 400; }
.pd-review-status { margin: 12px 0 0; color: var(--pd-ink-3); font-size: 13px; }
.pd-review-status[data-state="success"] { color: #18794e; }
.pd-review-status[data-state="error"] { color: #b42318; }
.pd-review-aspect-summary { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 12px; color: var(--pd-ink-3); font-size: 12px; }
.pd-review-aspect-summary span { padding: 5px 8px; border: 1px solid var(--pd-line); border-radius: 999px; }
.pd-review-aspect-summary strong { color: var(--pd-ink); }
.pd-review-detail-summary { margin-top: 12px; padding-left: 12px; border-left: 2px solid var(--pd-line); color: var(--pd-ink-2); font-size: 13px; line-height: 1.55; }
.pd-review-detail-summary p { margin: 4px 0; }
.pd-review-detail-summary strong { color: var(--pd-ink); }

/* Booking preview (next available times) --------------------------------- */

.pd-detail-side { display: grid; align-content: start; gap: 16px; }

@media (min-width: 981px) {
    .pd-detail-side { position: sticky; top: var(--pd-detail-side-sticky-top, calc(var(--pd-header-h) + var(--pd-tabs-h) + 68px)); }
}

.pd-booking-card {
    position: relative;
    padding: 18px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    scroll-margin-top: calc(var(--pd-header-h) + var(--pd-tabs-h) + 20px);
}

.pd-booking-card-priority {
    padding-top: 0;
    border: 2px solid var(--pd-accent);
    background: var(--pd-accent-soft);
    box-shadow: var(--pd-shadow-m);
}

.pd-booking-section-head { display: flex; align-items: center; justify-content: space-between; gap: 12px; margin-bottom: 8px; }

.pd-booking-section-head h2 { margin: 0; font-size: 22px; letter-spacing: -.01em; }

.pd-booking-card-priority .pd-booking-section-head {
    margin: 0 -18px 12px;
    padding: 13px 18px;
    border-radius: var(--pd-radius-m) var(--pd-radius-m) 0 0;
    background: var(--pd-accent);
    color: #fff;
}

.pd-booking-card-priority .pd-booking-section-head h2 { display: flex; align-items: center; gap: 8px; color: #fff; }

.pd-booking-service { display: grid; gap: 4px; padding-bottom: 10px; border-bottom: 1px solid var(--pd-line); }

.pd-booking-service-label { color: var(--pd-ink-3); font-size: 12px; font-weight: 600; letter-spacing: .02em; }

.pd-booking-service-select {
    width: 100%;
    min-height: 42px;
    padding: 4px 8px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font: inherit;
    font-size: 14px;
    font-weight: 600;
    text-overflow: ellipsis;
}

.pd-booking-service-price { color: var(--pd-ink); font-size: 15px; font-weight: 700; font-variant-numeric: tabular-nums; }

.pd-booking-service p { margin: 2px 0 0; color: var(--pd-ink-3); font-size: 14px; }

.pd-booking-days { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 8px; margin-top: 10px; }

.pd-booking-days:not(.is-expanded) .pd-booking-day:nth-child(n+5) { display: none; }

.pd-booking-day {
    position: relative;
    display: grid;
    gap: 2px;
    justify-items: center;
    min-height: 88px;
    padding: 7px 4px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-s);
    color: var(--pd-ink);
    text-align: center;
    text-decoration: none;
}

.pd-booking-day.is-open { border-color: var(--pd-line-strong); background: var(--pd-surface); }

.pd-booking-day.is-open:hover { border-color: var(--pd-accent); }

.pd-booking-day.is-selected { border-color: var(--pd-accent); background: var(--pd-accent-soft-strong); box-shadow: inset 0 0 0 1px var(--pd-accent); }

.pd-booking-day.is-selected .pd-booking-day-count { color: var(--pd-accent-deep); }

.pd-booking-day.is-closed { color: var(--pd-ink-3); }

.pd-booking-day-today { position: absolute; top: -8px; left: 50%; z-index: 1; padding: 1px 6px; border: 1px solid var(--pd-accent); border-radius: 999px; background: var(--pd-surface); color: var(--pd-accent-deep); font-size: 10px; font-weight: 700; line-height: 1.2; transform: translateX(-50%); }

.pd-booking-day-name { font-size: 12px; font-weight: 600; }

.pd-booking-day-number { font-size: 18px; font-weight: 700; line-height: 1.1; }

.pd-booking-day-month { min-height: 14px; font-size: 12px; font-weight: 600; line-height: 1.2; }

.pd-booking-day-count { font-size: 12px; line-height: 1.2; }

.pd-booking-times { display: grid; gap: 6px; margin-top: 12px; }

.pd-booking-times-label { color: var(--pd-ink); font-size: 14px; font-weight: 600; }

.pd-booking-time-chips { display: flex; flex-wrap: wrap; gap: 8px; }

.pd-booking-time-chips:not(.is-expanded) .pd-slot-chip:nth-child(n+7) { display: none; }

.pd-slot-chip {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    padding: 0 13px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
}

.pd-slot-chip:hover { border-color: var(--pd-accent); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-booking-empty { margin: 10px 0 0; color: var(--pd-ink-3); font-size: 14px; }

.pd-booking-cta { margin-top: 12px; width: 100%; }

.pd-booking-more-link {
    display: inline-flex;
    align-items: center;
    margin-top: 10px;
    color: var(--pd-accent-deep);
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 0;
    padding: 4px 0;
    background: transparent;
    cursor: pointer;
}

.pd-booking-more-link[hidden] { display: none; }

.pd-booking-status { position: absolute; top: 0; left: 0; width: 1px; height: 1px; padding: 0; margin: -1px; overflow: hidden; clip: rect(0, 0, 0, 0); white-space: nowrap; border: 0; }

.pd-booking-feedback { margin: 10px 0 0; padding: 8px 10px; border-radius: var(--pd-radius-s); background: var(--pd-accent-soft); color: var(--pd-ink-2); font-size: 14px; }

.pd-booking-feedback[data-state="error"] { background: var(--pd-danger-soft); color: var(--pd-danger); }

[data-booking-rail].is-updating [data-booking-day-select],
[data-booking-rail].is-updating [data-booking-open],
[data-booking-rail].is-updating [data-booking-more-days],
[data-booking-rail].is-updating [data-booking-more-times] { pointer-events: none; opacity: .55; }

.pd-booking-more-link:hover { text-decoration: underline; text-underline-offset: 3px; }

/* Booking overlay (lazy-loads the widget bundle on first open) ----------- */

html.pd-booking-open,
html.pd-booking-open body { overflow: hidden; }

.pd-booking-overlay {
    position: fixed;
    z-index: 1000;
    inset: 0;
    width: 100%;
    max-width: none;
    height: 100%;
    max-height: none;
    margin: 0;
    padding: 0;
    border: 0;
    border-radius: 0;
    background: var(--pd-bg);
    color: var(--pd-ink);
}

.pd-booking-overlay::backdrop { background: rgba(16, 24, 40, .45); }

.pd-booking-overlay-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    height: 52px;
    padding: 0 12px;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-booking-overlay-title {
    flex: 1;
    min-width: 0;
    overflow: hidden;
    color: var(--pd-ink);
    font-size: 20px;
    font-weight: 700;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.pd-booking-overlay-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    padding: 6px 8px;
    border-radius: var(--pd-radius-s);
    color: var(--pd-ink-2);
    font-size: 13px;
    font-weight: 600;
    text-decoration: none;
}

.pd-booking-overlay-back:hover { background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-booking-overlay-body {
    height: calc(100% - 52px);
    overflow: auto;
    padding: 16px 20px 40px;
}

/* Review drawer ---------------------------------------------------------- */

.pd-review-dialog {
    position: fixed;
    inset: 0 0 0 auto;
    width: min(560px, 100%);
    max-width: 100%;
    height: 100%;
    max-height: 100%;
    margin: 0;
    padding: 0;
    border: 0;
    background: var(--pd-surface);
    color: var(--pd-ink);
    box-shadow: -18px 0 48px rgba(16, 24, 40, .22);
    overflow-y: auto;
    overscroll-behavior: contain;
    transform: translateX(100%);
    transition: transform .22s ease, overlay .22s ease allow-discrete, display .22s ease allow-discrete;
}

.pd-review-dialog[open] { transform: translateX(0); }

@starting-style {
    .pd-review-dialog[open] { transform: translateX(100%); }
}

.pd-review-dialog::backdrop { background: rgba(15, 20, 30, .5); }

.pd-review-dialog-head {
    position: sticky;
    top: 0;
    z-index: 1;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 16px 18px 12px;
    border-bottom: 1px solid var(--pd-line);
    background: var(--pd-surface);
}

.pd-review-dialog-head h3 { margin: 0; font-size: 19px; }

.pd-review-dialog-head p { margin: 4px 0 0; color: var(--pd-ink-3); font-size: 13px; }

.pd-dialog-close {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    flex: none;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
}

.pd-dialog-close:hover { border-color: var(--pd-accent); color: var(--pd-accent-deep); }

.pd-review-dialog .pd-review-editor { margin-top: 0;     padding: 16px 18px 20px; }

.pd-review-dialog-actions { display: flex; align-items: center; justify-content: center; gap: 10px; margin-top: 20px; }

.pd-icon-button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    transition: border-color .18s ease, background-color .18s ease, color .18s ease;
}

.pd-icon-button:hover { border-color: var(--pd-accent); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }

.pd-icon-button-primary {
    border-color: var(--pd-accent);
    background: var(--pd-accent);
    color: #fff;
}

.pd-icon-button-primary:hover { border-color: var(--pd-accent-deep); background: var(--pd-accent-deep); color: #fff; }

.pd-review-media { display: grid; grid-template-columns: repeat(auto-fill, minmax(120px, 180px)); gap: 8px; margin-top: 12px; }

.pd-review-media-item {
    position: relative;
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    overflow: hidden;
    padding: 0;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-s);
    background: #111;
    cursor: zoom-in;
}

.pd-review-media-item img,
.pd-review-media-item video { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-review-media-item:focus-visible { outline: 3px solid var(--pd-accent); outline-offset: 2px; }
.pd-review-video-play { position: absolute; inset: 0; display: grid; place-items: center; pointer-events: none; }
.pd-review-video-play::before { content: ""; width: 0; height: 0; margin-left: 3px; border-top: 8px solid transparent; border-bottom: 8px solid transparent; border-left: 12px solid #fff; filter: drop-shadow(0 1px 2px rgba(0,0,0,.75)); }

.pd-review-media-dialog {
    width: min(1040px, calc(100% - 24px));
    max-width: none;
    max-height: calc(100vh - 24px);
    padding: 12px;
    border: 0;
    border-radius: var(--pd-radius-l);
    background: #111;
}

.pd-review-media-dialog::backdrop { background: rgba(15, 20, 30, .82); }
.pd-review-media-dialog form { display: flex; justify-content: flex-end; margin-bottom: 8px; }
.pd-review-media-dialog form button { display: grid; place-items: center; width: 44px; height: 44px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-s); background: #fff; color: var(--pd-ink); cursor: pointer; }
.pd-review-media-stage { position: relative; width: 100%; }
.pd-review-media-view { display: grid; place-items: center; width: 100%; height: min(76vh, 760px); min-height: 180px; overflow: hidden; border-radius: var(--pd-radius-s); background: #111; }
.pd-review-media-view img,
.pd-review-media-view video { display: block; max-width: 100%; max-height: 100%; object-fit: contain; }
.pd-review-media-nav { position: absolute; top: 50%; z-index: 1; display: grid; place-items: center; width: 44px; height: 44px; padding: 0; border: 1px solid rgba(255,255,255,.7); border-radius: 50%; background: rgba(255,255,255,.94); color: var(--pd-ink); cursor: pointer; transform: translateY(-50%); }
.pd-review-media-nav[hidden] { display: none !important; }
.pd-review-media-nav[data-review-media-previous] { left: 12px; }
.pd-review-media-nav[data-review-media-next] { right: 12px; }
.pd-review-media-nav:hover, .pd-review-media-nav:focus-visible { border-color: var(--pd-accent); background: #fff; color: var(--pd-accent-deep); }

.pd-owner-response {
    margin-top: 14px;
    padding: 14px 16px 14px 18px;
    border: 1px solid var(--pd-line);
    border-left-color: var(--pd-accent);
    border-radius: var(--pd-radius-m);
    background: var(--pd-sky);
}

.pd-owner-response strong {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: var(--pd-accent-deep);
    font-size: 13px;
    font-weight: 600;
    letter-spacing: .02em;
}

.pd-owner-response p {
    margin-top: 6px;
    color: var(--pd-ink-2);
    font-size: 15px;
    line-height: 1.65;
    white-space: pre-wrap;
}

.pd-owner-response small { display: block; margin-top: 6px; color: var(--pd-ink-3); font-size: 12.5px; }

/* Business card ---------------------------------------------------------- */

.pd-business-card {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 10px;
    min-width: 0;
    padding: 24px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-l);
    background: var(--pd-surface);
    box-shadow: var(--pd-shadow-s);
}

.pd-business-card h2 { font-size: 22px; }

.pd-business-card > .pd-primary-button,
.pd-business-card > .pd-outline-button { width: 100%; }

.pd-business-card > .pd-upcoming-action-wrap { position: relative; display: block; width: 100%; }
.pd-business-card > .pd-upcoming-action-wrap > .pd-upcoming-action { width: 100%; }

.pd-upcoming-action-wrap::after {
    position: absolute;
    z-index: 5;
    bottom: calc(100% + 8px);
    left: 50%;
    padding: 6px 9px;
    border-radius: var(--pd-radius-s);
    background: var(--pd-ink);
    color: var(--pd-surface);
    content: attr(data-tooltip);
    font-size: 12px;
    font-weight: 600;
    line-height: 1.2;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, 4px);
    transition: opacity .14s ease, transform .14s ease, visibility .14s ease;
}

.pd-upcoming-action-wrap:hover::after { opacity: 1; visibility: visible; transform: translate(-50%, 0); }

.pd-business-card > .pd-upcoming-action-wrap > .pd-upcoming-action:disabled,
.pd-business-card > .pd-upcoming-action-wrap > .pd-upcoming-action:disabled:hover {
    border-color: var(--pd-line-strong);
    background: var(--pd-surface);
    color: var(--pd-ink-3);
    opacity: .62;
    cursor: not-allowed;
}

.pd-business-card > .pd-primary-button { margin-top: 8px; }

.pd-business-card > .pd-primary-button:not(:first-of-type) {
    border-color: var(--pd-line-strong);
    background: var(--pd-surface);
    color: var(--pd-ink);
}

.pd-business-card > .pd-primary-button:not(:first-of-type):hover {
    border-color: var(--pd-accent);
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
}

.pd-secondary-actions { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; margin-top: 2px; }

.pd-social-actions { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: 8px; }

.pd-social-icon { display: inline-flex; align-items: center; justify-content: center; width: auto; min-height: 42px; gap: 7px; padding: 8px 11px; font-size: 13px; white-space: nowrap; }

.pd-social-action { position: relative; display: inline-flex; align-items: center; }

.pd-social-icon [data-bookmark-label] { overflow: hidden; text-overflow: ellipsis; }

.pd-share-count {
    position: absolute;
    top: -7px;
    right: -7px;
    display: grid;
    min-width: 19px;
    height: 19px;
    padding: 0 4px;
    place-items: center;
    border: 2px solid var(--pd-surface);
    border-radius: 999px;
    background: var(--pd-accent);
    color: #fff;
    font-size: 10px;
    font-variant-numeric: tabular-nums;
    font-weight: 700;
    line-height: 1;
    pointer-events: none;
}

.pd-note-dialog {
    width: min(520px, calc(100vw - 32px));
    max-width: 100%;
    max-height: min(88vh, 720px);
    margin: auto;
    padding: 20px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-m);
    background: var(--pd-surface);
    color: var(--pd-ink);
    box-shadow: var(--pd-shadow-m);
}

.pd-note-dialog::backdrop { background: rgba(15, 20, 30, .5); }

.pd-note-dialog-head { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; margin-bottom: 16px; }

.pd-note-dialog-head h2 { margin: 0; font-size: 20px; }

.pd-note-dialog-head p { margin: 5px 0 0; color: var(--pd-ink-3); font-size: 13px; }

.pd-note-form[hidden] { display: none; }

.pd-note-form { display: grid; gap: 12px; }

.pd-note-form textarea { width: 100%; min-height: 180px; padding: 12px; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-s); background: var(--pd-surface); color: var(--pd-ink); resize: vertical; }

.pd-note-form .pd-note-status { min-height: 18px; margin: 0; color: var(--pd-ink-3); font-size: 13px; }

.pd-note-form .pd-icon-button { justify-self: end; }

.pd-note-preview { display: grid; gap: 8px; margin-top: 12px; padding-top: 12px; border-top: 1px solid var(--pd-line); }
.pd-note-preview-head { display: flex; align-items: center; justify-content: space-between; gap: 10px; color: var(--pd-ink-2); font-size: 13px; }
.pd-note-preview-head .pd-icon-button { flex: 0 0 36px; width: 36px; height: 36px; }
.pd-note-preview p { max-height: 180px; overflow: auto; color: var(--pd-ink); font-size: 14px; white-space: pre-wrap; overflow-wrap: anywhere; }

.pd-secondary-actions [aria-pressed="true"] {
    border-color: var(--pd-success);
    background: var(--pd-success-soft);
    color: var(--pd-success);
}

.pd-claim-panel {
    margin-top: 14px;
    padding: 16px;
    border: 1px solid var(--pd-accent-soft-strong);
    border-radius: var(--pd-radius-m);
    background: var(--pd-accent-soft);
}

.pd-claim-panel p { margin: 0 0 8px; color: var(--pd-ink-3); font-size: 14px; }

.pd-claim-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    min-height: 44px;
    color: var(--pd-accent-deep);
    font-size: 14px;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.pd-claim-pending {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--pd-success);
    font-size: 14px;
    font-weight: 600;
}

/* Suggest dialog --------------------------------------------------------- */

.pd-suggestion-dialog {
    width: min(720px, calc(100% - 32px));
    max-height: calc(100vh - 32px);
    padding: 0;
    border: 0;
    border-radius: var(--pd-radius-l);
    color: var(--pd-ink);
    box-shadow: 0 24px 64px -16px rgba(16, 24, 40, .4);
}

.pd-suggestion-dialog::backdrop { background: rgba(15, 20, 30, .6); }

.pd-dialog-close-form { display: flex; justify-content: flex-end; padding: 12px 12px 0; }

.pd-dialog-close-form button {
    display: grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pd-line);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    cursor: pointer;
}

.pd-dialog-close-form button:hover { border-color: var(--pd-accent); color: var(--pd-accent-deep); }

.pd-suggestion-form { padding: 4px 28px 28px; }

.pd-suggestion-form h2 { font-size: 22px; }

.pd-suggestion-form > p:not(.pd-kicker) { margin-top: 8px; color: var(--pd-ink-3); font-size: 15px; }

.pd-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 22px 0 16px;
}

.pd-form-grid label {
    display: grid;
    gap: 6px;
    color: var(--pd-ink-2);
    font-size: 14px;
    font-weight: 500;
}

.pd-form-grid input,
.pd-form-grid textarea {
    width: 100%;
    min-height: 44px;
    padding: 10px 12px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 15px;
}

.pd-form-grid textarea { min-height: 96px; resize: vertical; }

.pd-form-grid input:focus,
.pd-form-grid textarea:focus { border-color: var(--pd-accent); outline: 3px solid var(--pd-accent-ring); outline-offset: 0; }

.pd-form-wide { grid-column: 1 / -1; }

.pd-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}

.pd-form-status { min-height: 22px; margin-bottom: 6px; color: var(--pd-ink-2); font-size: 14px; }

.pd-form-status[data-state="error"] { color: var(--pd-danger); }

.pd-form-status[data-state="success"] { color: var(--pd-success); }

.pd-suggestion-form button[disabled] { opacity: .55; cursor: wait; }

/* Brand variants --------------------------------------------------------- */

.pd-brand-ocean {
    --pd-accent: #0b7da4;
    --pd-accent-deep: #07546f;
    --pd-accent-soft: #e5f5fb;
    --pd-accent-soft-strong: #d1edf6;
    --pd-accent-ring: rgba(11, 125, 164, .3);
}

.pd-brand-plum {
    --pd-accent: #824e91;
    --pd-accent-deep: #5b2e68;
    --pd-accent-soft: #f4eafa;
    --pd-accent-soft-strong: #ead8ee;
    --pd-accent-ring: rgba(130, 78, 145, .3);
}

.pd-brand-slate {
    --pd-accent: #4b647c;
    --pd-accent-deep: #31465d;
    --pd-accent-soft: #edf2f6;
    --pd-accent-soft-strong: #dfe8ef;
    --pd-accent-ring: rgba(75, 100, 124, .3);
}

.pd-brand-sunset {
    --pd-accent: #b64f3f;
    --pd-accent-deep: #84392f;
    --pd-accent-soft: #fff0e9;
    --pd-accent-soft-strong: #f9ded1;
    --pd-accent-ring: rgba(182, 79, 63, .3);
}

/* Verified badge --------------------------------------------------------- */

.pd-verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 3px 9px;
    border-radius: 999px;
    background: var(--pd-success-soft);
    color: var(--pd-success);
    font-size: 12.5px;
    font-weight: 600;
    white-space: nowrap;
}

.pd-detail-title { display: flex; align-items: center; gap: 12px; flex-wrap: wrap; }

/* Rating breakdown ------------------------------------------------------- */

.pd-rating-breakdown { display: grid; gap: 6px; max-width: 440px; margin-top: 16px; }

.pd-rating-row {
    display: grid;
    grid-template-columns: 44px minmax(0, 1fr) 44px;
    align-items: center;
    gap: 10px;
    color: var(--pd-ink-3);
    font-size: 13px;
}

.pd-rating-row-label { display: inline-flex; align-items: center; gap: 4px; color: var(--pd-ink-2); }

.pd-rating-bar {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: var(--pd-line);
}

.pd-rating-bar > span {
    display: block;
    height: 100%;
    border-radius: 999px;
    background: var(--pd-gold);
}

.pd-rating-row-count { text-align: right; font-variant-numeric: tabular-nums; }

/* Sub-category filter links ---------------------------------------------- */

.pd-filter-list a.pd-filter-child { padding-left: 22px; font-size: 14px; }

/* Filter form ------------------------------------------------------------ */

.pd-filter-form {
    display: grid;
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px solid var(--pd-line);
}

.pd-filter-options { display: grid; gap: 2px; }

.pd-filter-check {
    display: flex;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    padding: 6px 10px;
    border-radius: var(--pd-radius-s);
    color: var(--pd-ink-2);
    font-size: 14px;
    cursor: pointer;
}

.pd-filter-check:hover { background: var(--pd-accent-soft); }

.pd-filter-check input[type="checkbox"],
.pd-filter-check input[type="radio"] {
    width: 17px;
    height: 17px;
    flex: none;
    accent-color: var(--pd-accent);
}

.pd-filter-check:has(input:checked) {
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
    font-weight: 600;
}

.pd-price-range { display: flex; align-items: center; gap: 8px; }

.pd-price-range input {
    width: 100%;
    min-width: 0;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
}

.pd-price-range span { color: var(--pd-ink-3); }

.pd-near-me-active { margin-bottom: 8px; }

.pd-filter-select select {
    width: 100%;
    min-height: 40px;
    padding: 8px 10px;
    border: 1px solid var(--pd-line-strong);
    border-radius: var(--pd-radius-s);
    background: var(--pd-surface);
    color: var(--pd-ink);
    font-size: 14px;
}

.pd-filter-actions { display: flex; align-items: center; gap: 10px; margin-top: 18px; }

.pd-filter-actions .pd-primary-button { flex: 1; }

/* Result map clusters ---------------------------------------------------- */
.pd-map-avatar-icon { border: 0; background: transparent; }
.pd-map-avatar {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    overflow: hidden;
    border: 3px solid #fff;
    border-radius: 50%;
    background: var(--pd-accent-soft);
    color: var(--pd-accent-deep);
    box-shadow: 0 2px 8px rgba(18, 34, 56, .32);
    font-size: 17px;
    font-weight: 700;
}
.pd-map-avatar-initial { display: grid; place-items: center; width: 100%; height: 100%; }
.pd-map-avatar img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.pd-map-canvas .marker-cluster-small,
.pd-map-canvas .marker-cluster-medium,
.pd-map-canvas .marker-cluster-large { background-color: rgba(38, 109, 240, .18); }

.pd-map-canvas .marker-cluster-small div,
.pd-map-canvas .marker-cluster-medium div,
.pd-map-canvas .marker-cluster-large div {
    background-color: var(--pd-accent);
    color: #fff;
    font-weight: 600;
}

/* Saved page & header link ----------------------------------------------- */

.pd-saved-count {
    display: inline-grid;
    place-items: center;
    min-width: 20px;
    height: 20px;
    padding: 0 6px;
    border-radius: 999px;
    background: var(--pd-accent);
    color: #fff;
    font-size: 12px;
    font-weight: 600;
}

.pd-saved-count[hidden] { display: none !important; }
.pd-account-menu-panel .pd-saved-count { margin-left: auto; }

.pd-saved-page { padding-top: 8px; padding-bottom: 64px; }

.pd-saved-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin: 12px 0 20px;
}

.pd-saved-heading h1 { font-size: clamp(1.6rem, 2.8vw, 2.1rem); }

.pd-saved-subheading { margin: 24px 0 12px; font-size: 17px; }

.pd-notes-page { min-height: 60vh; padding-top: 24px; padding-bottom: 48px; }
.pd-notes-page h1 { margin-bottom: 6px; font-size: clamp(1.6rem, 2.6vw, 2rem); }
.pd-notes-intro { margin-bottom: 24px; color: var(--pd-ink-2); }
.pd-notes-list { display: grid; }
.pd-note-card { display: grid; gap: 8px; padding: 18px 0; border-bottom: 1px solid var(--pd-line); }
.pd-note-card-head { display: flex; align-items: baseline; justify-content: space-between; gap: 14px; }
.pd-note-card h2 { min-width: 0; font-size: 18px; }
.pd-note-card h2 a { color: var(--pd-accent-deep); text-decoration: none; }
.pd-note-card h2 a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-note-card time { flex: 0 0 auto; color: var(--pd-ink-3); font-size: 12px; }
.pd-note-card p { max-width: 75ch; white-space: pre-wrap; overflow-wrap: anywhere; }
.pd-notes-empty, .pd-notes-login, .pd-notes-error { padding: 28px 0; color: var(--pd-ink-2); }
.pd-notes-empty h2 { margin: 8px 0; color: var(--pd-ink); font-size: 20px; }
.pd-notes-empty .pd-primary-button, .pd-notes-login .pd-primary-button { margin-top: 14px; }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 1080px) {
    .pd-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-category-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
    .pd-listing-layout { grid-template-columns: 1fr; gap: 16px; }
    .pd-filters { position: static; padding: 0; }
    .pd-filters summary {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 10px;
        min-height: 52px;
        padding: 0 18px;
        cursor: pointer;
        font-weight: 600;
        list-style: none;
    }
    .pd-filter-count { font-size: 13px; }
    .pd-filters summary::-webkit-details-marker { display: none; }
    .pd-filters summary::after {
        width: 9px;
        height: 9px;
        border-right: 2px solid var(--pd-ink-3);
        border-bottom: 2px solid var(--pd-ink-3);
        transform: rotate(45deg) translateY(-2px);
        content: "";
    }
    .pd-filters[open] summary::after { transform: rotate(225deg) translateY(-2px); }
    .pd-filters-body { display: none; padding: 0 18px 18px; }
    .pd-filters[open] .pd-filters-body { display: block; }
    .pd-filters-body .pd-filter-group:first-child { margin-top: 0; padding-top: 0; border-top: 0; }
}

@media (max-width: 1120px) {
    .pd-page { --pd-header-h: 80px; }
    .pd-header-inner { grid-template-columns: minmax(0, 1fr) auto; grid-template-rows: auto auto auto; gap: 4px 12px; padding: 6px 0; }
    .pd-brand { grid-column: 1; grid-row: 1; max-width: 100%; }
    .pd-content-categories { grid-column: 1 / -1; grid-row: 2; justify-content: center; }
    .pd-visitor-context { grid-column: 1 / -1; grid-row: 3; justify-content: center; gap: 3px 10px; margin-right: 0; }
    .pd-header-actions { grid-column: 2; grid-row: 1; align-self: center; }
}

@media (max-width: 980px) {
    .pd-detail-layout { grid-template-columns: 1fr; gap: 20px; }
    .pd-detail-side { position: static; order: -1; }
    .pd-detail-heading { align-items: flex-start; }
    .pd-mobile-cta { display: flex; }
    .pd-detail-page { padding-bottom: 104px; }
    .pd-detail-sticky-summary .pd-sticky-cart { margin-right: 0; }
}

@media (max-width: 720px) {
    .pd-shell { width: min(100% - 32px, var(--pd-shell)); }

    /* Header */
    .pd-page { --pd-header-h: 84px; }
    .pd-header-inner { gap: 6px 8px; }
    .pd-brand { max-width: 100%; font-size: 17px; }
    .pd-visitor-context { gap: 3px 8px; font-size: 11px; }
    .pd-business-button { display: none; }
    .pd-language-current { display: none; }
    .pd-language-name { display: none; }
    .pd-header-actions { gap: 8px; }
    .pd-header-actions summary { padding: 0 10px; }
    .pd-login { width: 44px; padding: 0; }
    .pd-login .pd-btn-label { display: none; }
    .pd-signup { padding: 0 10px; }
    .pd-account { width: 48px; max-width: 48px; justify-content: center; gap: 4px; }
    .pd-account-name { display: none; }
    .pd-account-menu-panel { max-width: calc(100vw - 32px); }

    /* Hero */
    .pd-hero { padding: 20px 0 16px; }
    .pd-hero-compact { padding: 14px 0 16px; }
    .pd-hero-copy > p:not(.pd-kicker) { font-size: 16px; }

    /* Results list */
    .pd-result-item { grid-template-columns: 1fr; gap: 16px; }
    .pd-result-media { aspect-ratio: 16 / 9; }
    .pd-result-body h3 { font-size: 18px; }

    .pd-search { flex-direction: column; padding: 8px; border-radius: var(--pd-radius-m); }
    .pd-search-field { min-height: 52px; padding: 6px 12px; }
    .pd-search-field + .pd-search-field { border-top: 1px solid var(--pd-line); border-left: 0; }
    .pd-search-submit { width: 100%; min-height: 48px; margin-top: 2px; }
    .pd-location-options,
    .pd-name-panel { top: calc(100% + 6px); width: calc(100vw - 48px); }

    /* Categories & results */
    .pd-category-strip { padding: 36px 0 40px; }
    .pd-category-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
    .pd-category-grid a { min-height: 96px; padding: 12px; gap: 8px; }
    .pd-results { padding: 16px 0 24px; }
    .pd-grid { grid-template-columns: 1fr; }
    .pd-result-heading,
    .pd-section-heading { align-items: flex-start; flex-direction: column; gap: 10px; }

    /* Detail */
    .pd-detail-top { padding-top: 16px; padding-bottom: 20px; }
    .pd-detail-heading { flex-direction: column; gap: 16px; }
    .pd-detail-tabs-bar .pd-detail-sticky-summary { width: min(100% - 32px, var(--pd-shell-detail)); }
    .pd-initial-mark { width: 64px; height: 64px; font-size: 1.8rem; }
    .pd-detail-tabs { gap: 18px; }
    .pd-detail-section { padding: 14px 16px; }
    .pd-breadcrumbs > :not(.pd-mobile-breadcrumb) { display: none; }
    .pd-mobile-breadcrumb { display: inline-flex; align-items: center; gap: 8px; max-width: 100%; min-height: 36px; color: var(--pd-accent-deep); font-size: 14px; font-weight: 600; }
    .pd-mobile-breadcrumb span { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
    .pd-location-grid,
    .pd-attribute-grid { grid-template-columns: 1fr; }
    .pd-review-filters { flex-direction: column; align-items: stretch; }
    .pd-review-filters input[type="search"],
    .pd-review-filters select,
    .pd-review-filters button { width: 100%; }
    .pd-review-filters label { width: 100%; }
    .pd-write-review-head { align-items: stretch; flex-direction: column; }
    .pd-write-review-head .pd-outline-button,
    .pd-write-review-head .pd-primary-button { width: 100%; }
    .pd-review-dialog-head { padding: 16px 18px 12px; }
    .pd-review-dialog .pd-review-editor { padding: 16px 18px 24px; }
    .pd-review-head { grid-template-columns: 44px minmax(0, 1fr); }
    .pd-review-rating { grid-column: 2; }
    .pd-review-media { grid-template-columns: repeat(2, minmax(0, 1fr)); }
    .pd-service-list article { grid-template-columns: 40px minmax(0, 1fr); }
    .pd-service-list article > strong { grid-column: 2; }
    .pd-photo-gallery {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: none;
        grid-auto-rows: 108px;
    }
    .pd-photo-gallery .pd-photo-main { grid-column: 1 / -1; grid-row: auto; height: 210px; }
    .pd-photo-gallery.has-intro-video,
    .pd-photo-gallery.has-intro-video.one-photo,
    .pd-photo-gallery.has-intro-video.two-photos,
    .pd-photo-gallery.has-intro-video.three-photos,
    .pd-photo-gallery.has-intro-video.multiple-photos,
    .pd-photo-gallery.has-intro-video.video-only {
        grid-template-columns: minmax(0, 1fr);
        grid-template-rows: auto auto;
        aspect-ratio: auto;
    }
    .pd-photo-gallery.has-intro-video .pd-photo-main {
        grid-column: 1 / -1;
        grid-row: auto;
        height: auto;
        aspect-ratio: 16 / 9;
    }
    .pd-photo-gallery.has-intro-video .pd-photo-button {
        position: static;
        grid-column: 1 / -1;
        grid-row: 2;
        justify-self: end;
        margin-top: 8px;
    }
    .pd-photo-gallery.has-intro-video > img { display: none; }
    .pd-photo-gallery > img:first-child { border-radius: var(--pd-radius-m); }
    .pd-pagination { flex-wrap: wrap; }

    /* Suggest dialog */
    .pd-form-grid { grid-template-columns: 1fr; }
    .pd-form-wide { grid-column: auto; }
    .pd-suggestion-form { padding: 4px 20px 24px; }

    /* Footer */
    .pd-footer { margin-top: 24px; padding: 24px 0; }
    .pd-footer > .pd-shell { flex-direction: column; }
}

@media (max-width: 420px) {
    .pd-category-grid { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after {
        transition-duration: .01ms !important;
        animation-duration: .01ms !important;
        animation-iteration-count: 1 !important;
    }
}

@media (max-width: 720px) {
    .pd-slot-chip,
    .pd-chip,
    .pd-booking-service-select,
    .pd-primary-button,
    .pd-outline-button,
    .pd-ghost-button {
        min-height: 44px;
    }

    .pd-search-field input,
    .pd-review-filters input,
    .pd-review-editor input,
    .pd-review-editor textarea {
        font-size: 16px;
    }

    /* Keep one hero photo on phones; the dialog still shows every photo. */
    .pd-photo-gallery {
        grid-template-columns: 1fr;
        grid-template-rows: minmax(180px, 220px);
    }

    .pd-photo-gallery > img:not(.pd-photo-main) { display: none; }
}

.pd-mobile-cta[hidden] { display: none !important; }

/* Business comparison ---------------------------------------------------- */
.pd-compare-select { display: inline-flex; align-items: center; gap: 7px; min-height: 40px; padding: 0 8px; color: var(--pd-ink-2); font-size: 14px; font-weight: 600; cursor: pointer; }
.pd-compare-select input { width: 16px; height: 16px; margin: 0; accent-color: var(--pd-accent); }
.pd-map-compare { display: flex; min-height: 34px; padding: 0; }
.pd-compare-tray { position: fixed; z-index: 60; right: 50%; bottom: 16px; display: flex; align-items: center; justify-content: space-between; gap: 20px; width: min(600px, calc(100% - 32px)); padding: 14px 16px; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-l); background: var(--pd-surface); box-shadow: var(--pd-shadow-m); transform: translateX(50%); }
.pd-compare-tray[hidden] { display: none; }
.pd-compare-tray > div { display: grid; gap: 3px; }
.pd-compare-tray > div:first-child { flex: 1; min-width: 0; }
.pd-compare-clear { position: absolute; top: 8px; right: 8px; z-index: 1; width: 32px; height: 32px; padding: 0; }
.pd-compare-clear:hover { background: var(--pd-danger-soft); border-color: var(--pd-danger); color: var(--pd-danger); }
.pd-compare-tray > [data-compare-go] { margin-right: 34px; }
.pd-compare-tray strong { color: var(--pd-ink); }
.pd-compare-tray span { color: var(--pd-ink-3); font-size: 13px; }
.pd-compare-tray button:disabled { opacity: .55; cursor: not-allowed; }
.pd-compare-selected-list { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 6px; }
.pd-compare-chip { display: inline-flex; align-items: center; gap: 4px; max-width: 190px; padding: 2px 4px 2px 9px; border: 1px solid var(--pd-line); border-radius: 999px; background: var(--pd-surface); }
.pd-compare-chip > span { overflow: hidden; color: var(--pd-ink-2); font-size: 12px; text-overflow: ellipsis; white-space: nowrap; }
.pd-compare-chip button { display: inline-flex; align-items: center; justify-content: center; flex: 0 0 26px; width: 26px; height: 26px; padding: 0; border: 0; border-radius: 50%; background: transparent; color: var(--pd-ink-3); cursor: pointer; }
.pd-compare-chip button:hover { background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-page.has-compare-selection { padding-bottom: 0; }
.pd-page.has-compare-selection .pd-footer { padding-bottom: 112px; }
.pd-compare-page { width: min(var(--pd-shell-narrow), calc(100% - 40px)); padding-top: 20px; padding-bottom: 48px; }
.pd-compare-heading { position: sticky; top: var(--pd-header-h); z-index: 30; display: grid; gap: 8px; margin: 14px 0 0; padding: 10px 0 8px; background: var(--pd-bg); }
.pd-compare-heading h1 { margin: 0; font-size: clamp(26px, 3vw, 34px); }
.pd-compare-intro { display: flex; align-items: center; justify-content: space-between; gap: 20px; margin: 0 0 16px; padding-bottom: 14px; border-bottom: 1px solid var(--pd-line); }
.pd-compare-intro p { max-width: 68ch; margin: 0; color: var(--pd-ink-3); }
.pd-compare-business-key { display: grid; flex: 1 0 100%; grid-template-columns: 148px repeat(3, minmax(0, 1fr)); min-width: 980px; width: calc(100% - 2px); margin-inline: 1px; gap: 0; overflow-x: auto; padding: 2px 0 3px; overscroll-behavior-x: contain; scrollbar-width: none; }
.pd-compare-business-key::-webkit-scrollbar { display: none; }
.pd-compare-business-key[data-count="2"] { grid-template-columns: 148px repeat(2, minmax(0, 1fr)); }
.pd-compare-business-key[data-count="1"] { grid-template-columns: 148px minmax(0, 1fr); }
.pd-compare-business-key-spacer { position: sticky; left: 0; z-index: 1; background: var(--pd-bg); }
.pd-compare-business-key-item { display: grid; grid-template-columns: 28px minmax(0, 1fr) 28px; align-items: center; gap: 8px; min-width: 0; padding: 7px 9px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-s); background: var(--pd-surface); }
.pd-compare-business-key-link { display: flex; min-width: 0; align-items: center; justify-content: center; color: var(--pd-ink); text-align: center; text-decoration: none; }
.pd-compare-business-key-item strong { overflow: hidden; font-size: 13px; text-overflow: ellipsis; white-space: nowrap; }
.pd-compare-number { display: inline-grid; width: 28px; height: 28px; place-items: center; border-radius: var(--pd-radius-s); background: var(--pd-accent); color: #fff; font-size: 14px; font-weight: 700; }
.pd-compare-notice { margin: 0 0 16px; padding: 12px 16px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-compare-swipe-hint { display: none; }
.pd-compare-scroll { overflow-x: auto; overscroll-behavior-x: contain; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); }
.pd-compare-table { width: 100%; min-width: 980px; border-collapse: separate; border-spacing: 0; table-layout: fixed; }
.pd-compare-label-column { width: 148px; }
.pd-compare-table th, .pd-compare-table td { padding: 14px; border-right: 1px solid var(--pd-line); border-bottom: 1px solid var(--pd-line); text-align: left; vertical-align: top; overflow-wrap: anywhere; }
.pd-compare-table thead th { border-top: 1px solid var(--pd-line); background: var(--pd-surface); }
.pd-compare-table tr > :first-child { position: sticky; left: 0; z-index: 2; background: var(--pd-surface); font-weight: 600; }
.pd-compare-table thead tr > :first-child { z-index: 3; }
.pd-compare-table th:last-child, .pd-compare-table td:last-child { border-right: 0; }
.pd-compare-table tbody th { color: var(--pd-ink); font-size: 14px; font-weight: 700; }
.pd-compare-business-header { display: grid; gap: 8px; }
.pd-compare-image-wrap { position: relative; min-width: 0; }
.pd-compare-image { display: flex; align-items: center; justify-content: center; width: 100%; height: 118px; overflow: hidden; border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); }
.pd-compare-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-compare-verified { position: absolute; top: 8px; left: 8px; z-index: 1; width: max-content; max-width: calc(100% - 16px); padding: 3px 7px; border-radius: var(--pd-radius-s); font-size: 11px; }
.pd-compare-business-header h2 { margin: 0; font-size: 20px; }
.pd-compare-business-header h2 a:hover { color: var(--pd-accent-deep); text-decoration: underline; }
.pd-compare-business-header .pd-result-meta { gap: 8px; }
.pd-compare-muted { color: var(--pd-ink-3); font-size: 14px; }
.pd-compare-status { display: inline-flex; align-items: center; gap: 6px; font-size: 14px; font-weight: 600; }
.pd-compare-status .pd-icon-sm { flex: 0 0 auto; margin-top: 0; }
.pd-compare-status.is-available { color: var(--pd-success); }
.pd-compare-status.is-unavailable { color: var(--pd-danger); }
.pd-compare-remove { display: inline-flex; align-items: center; justify-content: center; width: 28px; height: 28px; padding: 0; border: 1px solid var(--pd-danger); border-radius: var(--pd-radius-s); background: var(--pd-danger); color: #fff; cursor: pointer; }
.pd-compare-remove:hover { filter: brightness(.9); }
.pd-compare-offerings { display: grid; gap: 8px; margin: 0; padding: 0; list-style: none; }
.pd-compare-offerings li { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pd-compare-offerings strong { white-space: nowrap; }
.pd-compare-actions { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.pd-compare-actions > a { width: max-content; min-width: 176px; max-width: 100%; min-height: 42px; justify-content: center; padding: 8px 12px; text-align: center; white-space: normal; }
.pd-compare-table tbody tr:last-child > * { border-bottom: 0; }

@media (max-width: 720px) {
    .pd-compare-page { width: min(100% - 32px, var(--pd-shell)); padding-top: 12px; padding-bottom: 36px; }
    .pd-compare-heading { top: 112px; }
    .pd-compare-intro { align-items: flex-start; flex-direction: column; gap: 12px; }
    .pd-compare-business-key { grid-template-columns: 100px repeat(3, minmax(0, 1fr)); min-width: 760px; }
    .pd-compare-business-key[data-count="2"] { grid-template-columns: 100px repeat(2, minmax(0, 1fr)); min-width: 540px; }
    .pd-compare-business-key[data-count="1"] { grid-template-columns: 100px minmax(0, 1fr); min-width: 320px; }
    .pd-compare-business-key-item { grid-template-columns: 24px minmax(0, 1fr) 24px; gap: 6px; min-width: 0; padding: 6px; }
    .pd-compare-business-key-item .pd-compare-number { width: 24px; height: 24px; }
    .pd-compare-business-key-item strong { font-size: 11px; }
    .pd-compare-swipe-hint { display: block; margin: 0 0 10px; color: var(--pd-ink-3); font-size: 13px; }
    .pd-compare-table { min-width: 760px; }
    .pd-compare-table[data-count="2"] { min-width: 540px; }
    .pd-compare-table[data-count="1"] { min-width: 320px; }
    .pd-compare-label-column { width: 100px; }
    .pd-compare-table th, .pd-compare-table td { padding: 10px; }
    .pd-compare-image { height: 110px; }
    .pd-compare-business-header h2 { font-size: 18px; }
    .pd-compare-tray { right: 50%; bottom: 8px; align-items: stretch; flex-direction: column; gap: 10px; padding: 12px; }
    .pd-compare-tray > [data-compare-go] { width: 100%; margin-right: 0; }
    .pd-compare-tray > div:first-child { padding-right: 36px; }
    .pd-compare-actions > a { min-height: 44px; }
    .pd-page.has-compare-selection .pd-footer { padding-bottom: 132px; }
}

@media (max-width: 360px) {
    .pd-page { --pd-header-h: 96px; }
    .pd-brand { font-size: 15px; }
    .pd-header-actions { gap: 4px; }
    .pd-signup { width: 44px; padding: 0; }
    .pd-signup .pd-btn-label { display: none; }
}
.pd-content-categories { display: flex; flex-wrap: wrap; align-items: center; gap: .65rem 2rem; }
.pd-content-categories a { color: inherit; text-decoration: none; }
.pd-content-categories a[aria-current="page"] { color: var(--pd-accent-deep); font-weight: 600; text-decoration: underline; text-decoration-color: var(--pd-accent); text-decoration-thickness: 2px; text-underline-offset: 5px; }
.pd-content-categories a:hover { text-decoration: underline; }
.pd-article-home { width: 100%; max-width: 1160px; margin: 28px auto 0; }
.pd-article-lead { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); align-items: stretch; gap: 30px; }
.pd-article-featured { position: relative; display: flex; min-width: 0; flex-direction: column; overflow: hidden; border-radius: 12px; background: #f1f1f1; color: inherit; text-decoration: none; }
.pd-article-featured-media { display: block; aspect-ratio: 1.45; overflow: hidden; background: #f1f1f1; }
.pd-article-featured-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-article-featured-body { display: flex; min-height: 205px; flex: 1 1 auto; flex-direction: column; gap: 8px; padding: 20px 24px 24px; }
.pd-article-meta { display: flex; min-width: 0; flex-wrap: wrap; align-items: center; gap: 6px; color: var(--pd-ink-3); font-size: 12px; line-height: 1.4; }
.pd-article-meta time { white-space: nowrap; }
.pd-article-category-chip, .pd-article-latest-category { color: #1666c2; font-size: 14px; font-weight: 600; text-decoration: none; }
.pd-article-category-chip:hover, .pd-article-category-chip:focus-visible { text-decoration: underline; text-underline-offset: 3px; }
.pd-article-featured-title { margin: 0; font-size: 24px; font-weight: 600; line-height: 1.25; }
.pd-article-featured-title a, .pd-article-latest-item h3 a, .pd-article-card h3 a { color: var(--pd-ink); text-decoration: none; }
.pd-article-featured-title a::after, .pd-article-latest-item h3 a::after, .pd-article-card h3 a::after { position: absolute; z-index: 1; inset: 0; content: ""; }
.pd-article-featured .pd-article-category-chip { position: relative; z-index: 2; }
.pd-article-featured-title a:hover, .pd-article-latest-item h3 a:hover, .pd-article-card h3 a:hover { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pd-article-excerpt { display: -webkit-box; overflow: hidden; margin: 0; color: var(--pd-ink-2); font-size: 16px; line-height: 1.55; -webkit-box-orient: vertical; -webkit-line-clamp: 5; }
.pd-article-author, .pd-article-card-author { color: var(--pd-ink-3); font-size: 13px; }
.pd-article-latest { min-width: 0; padding-left: 20px; }
.pd-article-latest > h2 { margin: 0; color: var(--pd-ink); font-size: 28px; font-weight: 600; line-height: 1.35; }
.pd-article-latest-list { margin-top: 8px; }
.pd-article-latest-item { position: relative; padding: 16px 0; border-bottom: 1px solid #d9e2ee; }
.pd-article-latest-item:last-child { border-color: #cbd5e1; }
.pd-article-latest-item h3 { margin: 5px 0 4px; font-size: 16px; font-weight: 500; line-height: 1.35; }
.pd-article-divider { height: 1px; margin: 30px 0 25px; background: #cbd5e1; }
.pd-article-category-section > header { display: flex; align-items: center; gap: 8px; margin-bottom: 12px; }
.pd-article-category-section > header h2 { margin: 0; font-size: 16px; font-weight: 600; }
.pd-article-category-section > header a { color: #1666c2; text-decoration: none; }
.pd-article-category-section > header a:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-article-card-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px 16px; }
.pd-article-card { position: relative; min-width: 0; }
.pd-article-card-media { display: block; aspect-ratio: 1.55; overflow: hidden; border-radius: 12px; background: #f1f1f1; }
.pd-article-card-media img { display: block; width: 100%; height: 100%; object-fit: cover; }
.pd-article-card-body { padding-top: 10px; }
.pd-article-card-body .pd-article-meta { justify-content: space-between; gap: 4px 8px; margin-bottom: 8px; }
.pd-article-card h3 { margin: 0; font-size: 16px; font-weight: 500; line-height: 1.35; }
.pd-forum-table tbody tr[data-forum-row-href] { cursor: pointer; }
.pd-articles-page .pd-article-home a:focus-visible { border-radius: 3px; outline: 3px solid var(--pd-accent-ring); outline-offset: 3px; }
@media (max-width: 991.98px) {
    .pd-article-lead { grid-template-columns: minmax(0, 1fr); gap: 24px; }
    .pd-article-featured-media { aspect-ratio: 1.75; }
    .pd-article-latest { padding-left: 0; }
    .pd-article-card-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 575.98px) {
    .pd-article-home { margin-top: 20px; }
    .pd-article-featured-body { min-height: 0; padding: 16px; }
    .pd-article-featured-title { font-size: 21px; }
    .pd-article-latest > h2 { font-size: 24px; }
    .pd-article-card-grid { grid-template-columns: minmax(0, 1fr); gap: 22px; }
    .pd-article-card-media { aspect-ratio: 1.7; }
}

@media (min-width: 721px) and (max-width: 1280px) {
    .pd-header-actions { gap: 4px; min-width: 0; }
    .pd-language-current,
    .pd-header-actions summary,
    .pd-business-button,
    .pd-signup,
    .pd-login { padding-inline: 10px; }
}
.pd-content-detail { max-width: 52rem; margin-top: 1.5rem; }
.pd-content-detail h1 { line-height: 1.2; }
.pd-content-summary { font-size: 1.2rem; line-height: 1.6; }
main.pd-shell:has(> .pd-event-detail) { width: min(var(--pd-shell-narrow), calc(100% - 40px)); }
.pd-event-detail { max-width: none; }
.pd-event-about .pd-content-body { max-width: 75ch; }
.pd-event-gallery { display: grid; grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); gap: 12px; margin-bottom: 24px; }
.pd-event-gallery a { display: block; overflow: hidden; border-radius: var(--pd-radius-l); background: var(--pd-accent-soft); aspect-ratio: 16 / 10; }
.pd-event-gallery img { width: 100%; height: 100%; object-fit: cover; }
.pd-event-heading h1 { margin: 8px 0 10px; }
.pd-event-detail-tags { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 12px; }
.pd-event-detail-tag { display: inline-flex; align-items: center; gap: 6px; padding: 5px 10px; border: 1px solid var(--pd-line); border-radius: 999px; background: var(--pd-surface); color: var(--pd-ink-2); font-size: 13px; text-decoration: none; }
.pd-event-detail-tag:hover { border-color: var(--pd-accent); color: var(--pd-accent-deep); text-decoration: none; }
.pd-event-facts { display: grid; grid-template-columns: repeat(auto-fit, minmax(min(100%, 240px), 1fr)); gap: 1px; margin: 24px 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-line); }
.pd-event-fact { display: flex; align-items: flex-start; gap: 12px; min-width: 0; padding: 18px; background: var(--pd-accent-soft); }
.pd-event-fact > .pd-icon { flex: 0 0 auto; color: var(--pd-accent); }
.pd-event-fact h2 { margin: 0 0 6px; font-size: 14px; }
.pd-event-fact time, .pd-event-fact strong, .pd-event-fact a { color: var(--pd-ink); font-size: 14px; font-weight: 600; }
.pd-event-fact small { display: block; margin-top: 5px; color: var(--pd-ink-3); font-size: 12px; }
.pd-event-about, .pd-event-tickets { margin-top: 28px; }
.pd-event-about h2, .pd-event-tickets h2 { margin-bottom: 14px; font-size: 20px; }
.pd-event-price { display: flex; justify-content: space-between; gap: 16px; margin: 20px 0; padding: 14px 16px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); background: var(--pd-surface); }
.pd-event-price strong { color: var(--pd-accent-deep); }
.pd-event-ticket { display: flex; align-items: flex-start; justify-content: space-between; gap: 20px; padding: 16px 0; border-top: 1px solid var(--pd-line); }
.pd-event-ticket h3 { margin: 0 0 6px; font-size: 16px; }
.pd-event-ticket > strong { flex: 0 0 auto; }
.pd-event-ticket-description { color: var(--pd-ink-3); font-size: 14px; line-height: 1.5; }
.pd-event-registration { display: grid; gap: 18px; margin-top: 32px; padding: 20px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); }
.pd-event-registration-heading h2 { margin: 0; font-size: 20px; }
.pd-event-registration-heading p { margin: 5px 0 0; color: var(--pd-ink-3); }
.pd-event-registration-form { display: grid; gap: 18px; }
.pd-event-ticket-choices h3, .pd-event-attendee-section h3, .pd-event-payment-step h3, .pd-event-registration-success h3 { margin: 0; font-size: 17px; }
.pd-event-ticket-choice { display: grid; grid-template-columns: minmax(0, 1fr) auto auto; align-items: center; gap: 16px; padding: 14px 0; border-top: 1px solid var(--pd-line); }
.pd-event-ticket-choice-info { min-width: 0; }
.pd-event-ticket-choice h4 { margin: 0 0 5px; font-size: 15px; }
.pd-event-ticket-choice small { display: block; margin-top: 5px; color: var(--pd-ink-3); }
.pd-event-ticket-price { white-space: nowrap; }
.pd-event-ticket-quantity { display: flex; align-items: center; gap: 8px; }
.pd-event-ticket-quantity button { display: grid; width: 36px; height: 36px; place-items: center; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-s); background: var(--pd-surface); color: var(--pd-accent-deep); cursor: pointer; }
.pd-event-ticket-quantity button:disabled { opacity: .45; cursor: default; }
.pd-event-ticket-quantity output { min-width: 24px; text-align: center; font-weight: 700; }
.pd-event-ticket-total { display: flex; justify-content: space-between; gap: 12px; margin: 0; padding-top: 8px; }
.pd-event-registration-note { margin: 12px 0; color: var(--pd-ink-3); }
.pd-event-attendee-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-event-attendees { display: grid; gap: 12px; margin-top: 12px; }
.pd-event-attendee { min-width: 0; margin: 0; padding: 14px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); }
.pd-event-attendee legend { float: none; width: auto; margin: 0; padding: 0; font-weight: 700; }
.pd-event-attendee-card-heading { display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.pd-event-guest { display: flex; align-items: center; gap: 7px; margin-left: auto; color: var(--pd-ink-2); font-size: 13px; }
.pd-event-attendee-fields { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; margin-top: 12px; }
.pd-event-attendee-fields label { display: grid; min-width: 0; gap: 5px; color: var(--pd-ink-2); font-size: 13px; font-weight: 600; }
.pd-event-attendee-fields input { width: 100%; min-height: 42px; padding: 8px 10px; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-s); background: var(--pd-surface); color: var(--pd-ink); font: inherit; font-size: 14px; }
.pd-event-attendee-fields input:focus { border-color: var(--pd-accent); outline: 3px solid var(--pd-accent-ring); }
.pd-event-recaptcha { display: flex; justify-content: center; min-height: 78px; }
.pd-event-registration-error { margin: 0; padding: 10px 12px; border: 1px solid var(--pd-danger); border-radius: var(--pd-radius-m); background: var(--pd-danger-soft); color: #8f271d; font-size: 14px; }
.pd-event-submit-row { display: flex; align-items: center; justify-content: flex-end; gap: 10px; color: var(--pd-ink-2); font-size: 14px; font-weight: 600; }
.pd-event-submit { display: grid; width: 48px; height: 48px; justify-self: end; place-items: center; padding: 0; }
.pd-event-submit[disabled] { opacity: .6; cursor: wait; }
.pd-event-payment-step { display: grid; gap: 14px; }
.pd-event-payment-step .pd-event-price { margin: 0; }
.pd-event-stripe-checkout { min-height: 420px; }
.pd-event-registration-success { display: grid; justify-items: center; gap: 8px; padding: 28px 16px; color: var(--pd-ink-2); text-align: center; }
.pd-event-registration-success > .pd-icon { color: var(--pd-success, #14804a); }
.pd-event-registration-success p { margin: 0; }
.pd-event-organizer { display: flex; align-items: center; gap: 8px; width: fit-content; margin: 18px 0; padding: 10px 14px; border: 1px solid var(--pd-accent-soft-strong); border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); color: var(--pd-ink-2); }
.pd-event-organizer a { color: var(--pd-accent-deep); font-weight: 700; }
.pd-content-detail nav { display: flex; flex-wrap: wrap; gap: .5rem; margin: 1rem 0; }
.pd-content-body { line-height: 1.7; overflow-wrap: anywhere; }
.pd-content-breadcrumb { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 18px; color: var(--pd-ink-3); font-size: 14px; }
.pd-content-breadcrumb a { color: inherit; text-decoration: none; }
.pd-content-breadcrumb a:hover { color: var(--pd-accent-deep); text-decoration: underline; text-underline-offset: 3px; }
.pd-content-breadcrumb [aria-current="page"] { color: var(--pd-ink); font-weight: 600; }
.pd-content-list-page { padding-block: 2rem 4rem; }
.pd-events-page { padding-block: 1.25rem 2.5rem; }
.pd-events-page .pd-content-breadcrumb { margin-bottom: 12px; }
.pd-events-page .pd-content-heading { margin-bottom: 12px; }
.pd-events-page .pd-content-heading h1 { margin: 0 0 6px; font-size: clamp(28px, 4vw, 40px); line-height: 1.12; }
.pd-events-page .pd-content-heading p { margin: 0; color: var(--pd-ink-2); font-size: 16px; }
.pd-event-categories { justify-content: flex-start; gap: 8px; margin: 12px 0 10px; }
.pd-event-categories a { padding: 7px 12px; border: 1px solid var(--pd-line); border-radius: 999px; background: var(--pd-surface); text-decoration: none; }
.pd-event-categories a[aria-current="page"] { border-color: var(--pd-accent); background: var(--pd-accent-soft); color: var(--pd-accent-deep); text-decoration: none; }
.pd-event-filters { display: grid; grid-template-columns: minmax(220px, 1fr) minmax(0, 2fr); align-items: end; gap: 10px; margin: 12px 0 6px; padding: 10px 12px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); }
.pd-event-search { display: flex; align-items: center; gap: 9px; min-width: 0; min-height: 44px; padding: 0 12px; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-s); background: #fff; color: var(--pd-ink-3); }
.pd-event-search:focus-within { border-color: var(--pd-accent); box-shadow: 0 0 0 3px var(--pd-accent-ring); }
.pd-event-search input { flex: 1; min-width: 0; border: 0; outline: 0; background: transparent; color: var(--pd-ink); font: inherit; }
.pd-event-search input::placeholder { color: var(--pd-ink-3); opacity: 1; }
.pd-event-filter-fields { display: flex; flex-wrap: wrap; align-items: end; gap: 8px; }
.pd-event-filter { display: grid; flex: 1 1 115px; min-width: 0; gap: 4px; color: var(--pd-ink-2); font-size: 12px; font-weight: 600; }
.pd-event-filter select { width: 100%; min-height: 44px; padding: 0 28px 0 10px; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-s); background: #fff; color: var(--pd-ink); font-family: inherit; font-size: 14px; font-weight: 500; }
.pd-event-filter-submit { flex: 0 0 44px; }
.pd-event-clear { display: inline-flex; align-items: center; min-height: 44px; padding: 0 4px; color: var(--pd-accent-deep); font-size: 13px; font-weight: 600; text-decoration: none; }
.pd-event-clear:hover { text-decoration: underline; text-underline-offset: 3px; }
.pd-event-results { margin: 8px 2px 10px; color: var(--pd-ink-3); font-size: 13px; }
.pd-event-list { display: grid; grid-template-columns: 1fr; gap: 10px; }
.pd-event-card { display: grid; grid-template-columns: 56px minmax(0, 1fr); align-items: start; gap: 12px; min-width: 0; padding: 13px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); color: var(--pd-ink); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.pd-event-card:hover, .pd-event-card:focus-visible { border-color: var(--pd-accent); box-shadow: 0 2px 8px rgba(38, 109, 240, .1); color: var(--pd-accent-deep); }
.pd-event-card h2 { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; }
.pd-event-card h2 .pd-event-arrow { flex: 0 0 auto; margin-top: 3px; color: var(--pd-accent-deep); }
.pd-event-date { display: grid; place-content: center; justify-items: center; width: 56px; height: 60px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-event-date > span { font-size: 12px; font-weight: 700; line-height: 1.2; }
.pd-event-date > strong { font-size: 23px; line-height: 1.1; }
.pd-event-date > .pd-icon-sm { color: var(--pd-accent-deep); }
.pd-event-card-body { display: block; min-width: 0; }
.pd-event-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 7px; }
.pd-event-tag { display: inline-flex; align-items: center; gap: 4px; padding: 3px 8px; border-radius: 999px; background: var(--pd-accent-soft); color: var(--pd-accent-deep); font-size: 11px; font-weight: 600; }
.pd-event-card h2 { margin: 0 0 5px; color: var(--pd-ink); font-size: 19px; line-height: 1.28; overflow-wrap: anywhere; }
.pd-event-summary { display: -webkit-box; overflow: hidden; color: var(--pd-ink-2); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; -webkit-box-orient: vertical; -webkit-line-clamp: 2; }
.pd-event-meta { display: flex; flex-wrap: wrap; gap: 6px 16px; margin-top: 9px; color: var(--pd-ink-2); font-size: 13px; }
.pd-event-meta > span { display: inline-flex; align-items: flex-start; gap: 5px; min-width: 0; }
.pd-event-meta .pd-icon-sm { flex: 0 0 auto; margin-top: 2px; color: var(--pd-ink-3); }
.pd-event-empty { display: grid; justify-items: center; gap: 12px; padding: 44px 16px; border-block: 1px solid var(--pd-line); color: var(--pd-ink-2); text-align: center; }
.pd-event-empty .pd-icon { color: var(--pd-accent-deep); }
.pd-event-empty p { margin: 0; }
.pd-event-empty a { color: var(--pd-accent-deep); font-weight: 600; text-decoration: none; }
.pd-event-empty a:hover { text-decoration: underline; text-underline-offset: 3px; }

@media (min-width: 1080px) {
    .pd-event-list { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 900px) {
    .pd-event-filters { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
    .pd-content-list-page { padding-block: 1.25rem 2.5rem; }
    .pd-event-filter-fields { display: grid; grid-template-columns: 1fr 1fr; }
    .pd-event-filter-submit { justify-self: start; }
    .pd-event-clear { justify-self: start; }
    .pd-event-facts { grid-template-columns: 1fr; }
    .pd-event-registration { padding: 16px; }
    .pd-event-ticket-choice { grid-template-columns: minmax(0, 1fr) auto; gap: 10px; }
    .pd-event-ticket-price { grid-column: 1; grid-row: 2; }
    .pd-event-ticket-quantity { grid-column: 2; grid-row: 1 / span 2; }
    .pd-event-attendee-fields { grid-template-columns: 1fr; }
    .pd-event-card { grid-template-columns: 50px minmax(0, 1fr); gap: 10px; padding: 11px; }
    .pd-event-date { width: 50px; height: 58px; }
    .pd-event-date > strong { font-size: 20px; }
    .pd-event-card h2 { font-size: 16px; }
    .pd-event-meta { gap: 6px; }
}

/* Listing-specific event links remain crawlable, even without client-side scripts. */
.pd-listing-events { display: grid; gap: 12px; grid-template-columns: repeat(auto-fit, minmax(min(100%, 280px), 1fr)); }
.pd-listing-event-card { display: flex; align-items: flex-start; gap: 14px; min-width: 0; padding: 18px; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); color: var(--pd-ink); text-decoration: none; transition: border-color .18s ease, box-shadow .18s ease; }
.pd-listing-event-card:hover, .pd-listing-event-card:focus-visible { border-color: var(--pd-accent); box-shadow: var(--pd-shadow-s); }
.pd-listing-event-icon { display: grid; flex: 0 0 36px; place-items: center; width: 36px; height: 36px; border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); color: var(--pd-accent-deep); }
.pd-listing-event-content { min-width: 0; flex: 1; }
.pd-listing-event-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 12px; color: var(--pd-ink); font-size: 17px; line-height: 1.3; }
.pd-listing-event-heading strong { min-width: 0; overflow-wrap: anywhere; }
.pd-listing-event-heading .pd-icon-sm { margin-top: 3px; color: var(--pd-accent-deep); }
.pd-listing-event-meta { display: flex; flex-wrap: wrap; gap: 4px 14px; margin-top: 8px; color: var(--pd-ink-2); font-size: 13px; }
.pd-listing-event-meta > span { display: inline-flex; align-items: flex-start; gap: 5px; min-width: 0; overflow-wrap: anywhere; }
.pd-listing-event-meta .pd-icon-sm { margin-top: 2px; color: var(--pd-ink-3); }
.pd-listing-event-card p { margin-top: 10px; color: var(--pd-ink-2); font-size: 14px; line-height: 1.45; overflow-wrap: anywhere; }
.pd-listing-articles { display: grid; grid-template-columns: minmax(0, 1fr); gap: 12px; }
.pd-listing-articles [data-load-more-item][hidden],
.pd-listing-events [data-load-more-item][hidden],
.pd-service-list [data-load-more-item][hidden],
.pd-load-more-button[hidden] { display: none !important; }
.pd-load-more-wrap { display: flex; justify-content: center; margin-top: 12px; }
.pd-load-more-button { width: 44px; min-width: 44px; height: 44px; padding: 0; justify-content: center; }
.pd-listing-article-card { min-width: 0; overflow: hidden; border: 1px solid var(--pd-line); border-radius: var(--pd-radius-l); background: var(--pd-surface); }
.pd-listing-article-link { display: grid; grid-template-columns: minmax(180px, 28%) minmax(0, 1fr); min-height: 180px; color: var(--pd-ink); text-decoration: none; }
.pd-listing-article-link.is-text-only { grid-template-columns: minmax(0, 1fr); }
.pd-listing-article-link:hover, .pd-listing-article-link:focus-visible { border-color: var(--pd-accent); box-shadow: var(--pd-shadow-s); }
.pd-listing-article-image { display: block; width: 100%; min-height: 180px; object-fit: cover; background: #f1f1f1; }
.pd-listing-article-content { padding: 16px; }
.pd-listing-article-category { color: var(--pd-accent-deep); font-size: 12px; font-weight: 600; }
.pd-listing-article-content h3 { margin: 5px 0 8px; font-size: 17px; line-height: 1.35; }
.pd-listing-article-content p { margin: 0 0 10px; color: var(--pd-ink-2); font-size: 14px; line-height: 1.45; }
.pd-listing-article-meta { color: var(--pd-ink-3); font-size: 12px; }
@media (max-width: 640px) {
    .pd-listing-article-link { grid-template-columns: minmax(0, 1fr); }
    .pd-listing-article-image { height: 180px; min-height: 0; }
}

/* Directory cart --------------------------------------------------------- */
.pd-purchase-actions { display: flex; align-items: center; gap: 10px; }
.pd-cart-add { color: var(--pd-accent-deep); }
.pd-cart-trigger[hidden] { display: none !important; }
.pd-cart-trigger {
    position: relative;
    z-index: 1;
    display: grid;
    place-items: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    border: 1px solid var(--pd-accent-deep);
    border-radius: 50%;
    background: var(--pd-accent);
    color: #fff;
    box-shadow: var(--pd-shadow-m);
    cursor: pointer;
}
.pd-cart-trigger:hover { background: var(--pd-accent-deep); }
.pd-cart-trigger.is-bumped { animation: pd-cart-bump 850ms cubic-bezier(.2, .75, .25, 1); }
@keyframes pd-cart-bump {
    0%, 100% { transform: scale(1); box-shadow: var(--pd-shadow-m); }
    35% { transform: scale(1.16); box-shadow: 0 0 0 8px var(--pd-accent-soft-strong), var(--pd-shadow-m); }
    65% { transform: scale(.96); box-shadow: var(--pd-shadow-m); }
}
.pd-cart-count { position: absolute; top: -4px; right: -4px; display: grid; place-items: center; min-width: 22px; height: 22px; padding: 0 5px; border: 2px solid #fff; border-radius: 999px; background: var(--pd-danger); color: #fff; font-size: 12px; font-weight: 700; line-height: 1; }
.pd-cart-feedback { position: absolute; z-index: 59; top: 50%; right: calc(100% + 8px); max-width: min(260px, calc(100vw - 32px)); padding: 9px 12px; border-radius: var(--pd-radius-m); background: var(--pd-ink); color: #fff; box-shadow: var(--pd-shadow-m); font-size: 13px; line-height: 1.3; opacity: 0; transform: translate(6px, -50%); pointer-events: none; transition: opacity .2s, transform .2s; }
.pd-cart-feedback.is-visible { opacity: 1; transform: translate(0, -50%); }
.pd-cart-flight { position: fixed; z-index: 70; display: flex; align-items: center; gap: 8px; height: 40px; padding: 7px 10px; overflow: hidden; border: 1px solid var(--pd-line-strong); border-radius: var(--pd-radius-m); background: var(--pd-surface); color: var(--pd-ink); box-shadow: var(--pd-shadow-m); font-size: 13px; font-weight: 600; pointer-events: none; }
.pd-cart-flight svg { flex: 0 0 auto; color: var(--pd-accent); }
.pd-cart-flight > span { min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
@media (prefers-reduced-motion: reduce) {
    .pd-cart-feedback { transition: none; transform: translateY(-50%); }
    .pd-cart-trigger.is-bumped { animation: none; outline: 3px solid var(--pd-accent-ring); outline-offset: 2px; }
}
.pd-cart-dialog { position: fixed; inset: 0 0 0 auto; width: min(460px, 100vw); max-width: none; height: 100dvh; max-height: none; margin: 0; padding: 0; overflow: hidden; border: 0; background: var(--pd-surface); color: var(--pd-ink); box-shadow: var(--pd-shadow-m); }
.pd-cart-dialog[open] { display: block; }
.pd-cart-dialog::backdrop { background: rgba(23, 32, 48, .42); }
.pd-cart-panel { display: flex; flex-direction: column; height: 100%; min-height: 0; }
.pd-cart-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 18px 20px 14px; border-bottom: 1px solid var(--pd-line); }
.pd-cart-header h2 { margin: 0; font-size: 22px; }
.pd-cart-progress { overflow-x: auto; padding: 14px 20px 6px; scrollbar-width: none; }
.pd-cart-progress::-webkit-scrollbar { display: none; }
.pd-cart-progress ol { display: flex; min-width: 440px; gap: 3px; margin: 0; padding: 0; list-style: none; }
.pd-cart-progress li { flex: 1; min-width: 0; }
.pd-cart-progress-segment { display: flex; width: 100%; height: 36px; align-items: center; justify-content: center; padding: 0 16px; overflow: hidden; background: #f2f2f2; color: #333; font-size: 12px; font-weight: 500; text-align: center; text-decoration: none; text-overflow: ellipsis; white-space: nowrap; clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%, 14px 50%); }
.pd-cart-progress li:first-child .pd-cart-progress-segment { clip-path: polygon(0 0, calc(100% - 14px) 0, 100% 50%, calc(100% - 14px) 100%, 0 100%); }
.pd-cart-progress li:last-child .pd-cart-progress-segment { clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 14px 50%); }
.pd-cart-progress li.is-current .pd-cart-progress-segment { background: var(--pd-accent); color: #fff; }
.pd-cart-business { display: flex; align-items: center; gap: 8px; margin: 8px 20px 10px; padding: 12px 14px; border: 1px solid var(--pd-accent-soft-strong); border-left: 4px solid var(--pd-accent); border-radius: var(--pd-radius-m); background: var(--pd-accent-soft); color: var(--pd-accent-deep); font-size: 14px; }
.pd-cart-business strong { color: var(--pd-ink); font-size: 15px; }
.pd-cart-error { margin: 12px 20px 0; padding: 10px 12px; border: 1px solid var(--pd-danger); border-radius: var(--pd-radius-m); background: var(--pd-danger-soft); color: #8f271d; font-size: 14px; }
.pd-cart-loading,
.pd-cart-empty { margin: auto; padding: 24px; color: var(--pd-ink-3); text-align: center; }
.pd-cart-lines { flex: 1; min-height: 0; overflow-y: auto; overscroll-behavior: contain; padding: 0 20px; }
.pd-cart-line { padding: 16px 0; border-bottom: 1px solid var(--pd-line); }
.pd-cart-line-heading { display: flex; align-items: flex-start; justify-content: space-between; gap: 16px; }
.pd-cart-line-heading strong:first-child { min-width: 0; overflow-wrap: anywhere; }
.pd-cart-line-price { margin-top: 5px; color: var(--pd-ink-3); font-size: 14px; }
.pd-cart-line-controls { display: flex; align-items: center; gap: 8px; margin-top: 12px; }
.pd-cart-line-controls > span { min-width: 22px; color: var(--pd-ink); font-weight: 600; text-align: center; }
.pd-cart-control { width: 36px; height: 36px; }
.pd-cart-line-controls > button:last-child { margin-left: auto; color: var(--pd-danger); }
.pd-cart-footer { display: grid; gap: 10px; padding: 16px 20px max(20px, env(safe-area-inset-bottom)); border-top: 1px solid var(--pd-line); background: var(--pd-surface); }
.pd-cart-total-row { display: flex; align-items: center; justify-content: space-between; gap: 16px; color: var(--pd-ink-2); font-size: 14px; }
.pd-cart-grand-total { padding-top: 10px; border-top: 1px solid var(--pd-line); color: var(--pd-ink); font-size: 17px; font-weight: 700; }
.pd-cart-checkout { display: flex; justify-content: center; width: 100%; min-height: 48px; margin-top: 4px; }
.pd-cart-checkout[aria-disabled="true"] { opacity: .55; pointer-events: none; }
.pd-cart-dialog button:focus-visible,
.pd-cart-trigger:focus-visible,
.pd-cart-checkout:focus-visible { outline: 3px solid var(--pd-accent-ring); outline-offset: 2px; }
@media (max-width: 720px) {
    .pd-cart-progress ol { min-width: 360px; }
    .pd-cart-progress-segment { padding: 0 12px; font-size: .72rem; }
    .pd-service-list .pd-purchase-item { grid-template-columns: 40px minmax(0, 1fr) auto; }
    .pd-purchase-actions { gap: 6px; }
    .pd-purchase-actions .pd-icon-button { width: 40px; height: 40px; }
}

/* Directory article detail mirrors the existing Article Info page layout. */
.pd-content-detail-page .container-article-detail { width: min(1160px, 100%); max-width: 1160px; margin-inline: auto; }
.pd-content-detail-page { --pd-content-breadcrumb-offset: 40px; --pd-sticky-header-adjust: 0px; }
.pd-content-detail-page > .pd-breadcrumbs,
.pd-content-detail-page .container-article-detail > .pd-breadcrumbs {
    position: sticky;
    top: calc(var(--pd-header-h, 56px) + var(--pd-sticky-header-adjust));
    z-index: 30;
    flex-wrap: nowrap;
    overflow-x: auto;
    margin-bottom: 16px;
    padding-block: 8px;
    background: var(--pd-bg);
    white-space: nowrap;
    scrollbar-width: none;
}
.pd-content-detail-page > .pd-breadcrumbs::-webkit-scrollbar,
.pd-content-detail-page .container-article-detail > .pd-breadcrumbs::-webkit-scrollbar { display: none; }
.pd-content-detail-page .row-article-detail { display: grid; grid-template-columns: minmax(0, 3fr) minmax(250px, 1fr); gap: 30px; align-items: start; }
.pd-content-detail-page .article-detail-body { min-width: 0; }
.pd-content-detail-page .article-detail-header { position: sticky; top: calc(var(--pd-header-h, 60px) + var(--pd-sticky-header-adjust) + var(--pd-content-breadcrumb-offset)); z-index: 10; padding: 24px 0 10px; background: #fff; }
.pd-content-detail-page .article-meta { display: flex; flex-wrap: wrap; align-items: center; gap: 8px; margin-bottom: 16px; }
.pd-content-detail-page .article-meta .meta-date { color: #696868; font-size: 1rem; font-weight: 500; }
.pd-content-detail-page .article-meta-divider { color: #a6acb2; }
.pd-content-detail-page .article-meta .meta-category { color: #1666c2; font-size: 14px; font-weight: 600; text-decoration: none; }
.pd-content-detail-page .article-meta .meta-category:hover { text-decoration: underline; }
.pd-content-detail-page .article-detail-body .article-title { margin: 0 0 16px; color: #010101; font-size: 32px; font-weight: 700; line-height: 1.2; }
.pd-content-detail-page .article-detail-body .article-summary { max-height: 200px; margin: 1rem 0 16px; color: #696868; font-size: 14px; line-height: 1.6; opacity: 1; transition: opacity .3s ease-out; }
.pd-content-detail-page .article-detail-body .article-summary.hidden { max-height: 0; margin-top: 0; overflow: hidden; opacity: 0; }
.pd-content-detail-page .article-detail-body .content-section { color: #090a0c; }
.pd-content-detail-page .article-detail-body .content-section img { width: 100% !important; height: auto; }
.pd-content-detail-page .article-detail-body .content-section h2,
.pd-content-detail-page .article-detail-body .content-section .h2 { margin: 1.5rem 0 .5rem; font-size: 20px; font-weight: 600; }
.pd-content-detail-page .article-detail-body .content-section p,
.pd-content-detail-page .article-detail-body .content-section ul { color: #090a0c; font-size: 14px; line-height: 24px; }
.pd-content-detail-page .article-detail-body .content-section ul { padding-left: 1.5rem; }
.pd-content-detail-page .article-sidebar { position: sticky; top: var(--pd-header-h, 60px); height: calc(100vh - var(--pd-header-h, 60px)); overflow-y: auto; }
.pd-content-detail-page .article-sidebar .sidebar-inner { padding-top: 24px; }
.pd-content-detail-page .article-sidebar .sidebar-section { margin-bottom: 38px; }
.pd-content-detail-page .article-sidebar .section-title { margin: 0 0 12px; color: #696868; font-size: 14px; font-weight: 500; line-height: 1.4; }
.pd-content-detail-page .article-sidebar .section-content h3 { margin: 0 0 12px; color: #090a0c; font-size: 14px; font-weight: 400; }
.pd-content-detail-page .article-sidebar .section-content .author-name { margin: 0; color: #010101; font-size: 18px; font-weight: 500; line-height: 24px; letter-spacing: -.28px; }
.pd-content-detail-page .article-sidebar .share-buttons { display: flex; gap: 12px; }
.pd-content-detail-page .article-sidebar .share-btn { display: inline-flex; width: 40px; height: 40px; align-items: center; justify-content: center; border: 0; border-radius: 50%; background: #ebebeb; color: #000; cursor: pointer; }
.pd-content-detail-page .article-sidebar .share-btn:hover,
.pd-content-detail-page .article-sidebar .share-btn:focus-visible { background: #e0e0e0; outline: 2px solid #266df0; outline-offset: 2px; }
.pd-content-detail-page .article-sidebar .toc-list { margin: 0; padding: 0; list-style: none; }
.pd-content-detail-page .article-sidebar .toc-list li { margin-bottom: 12px; }
.pd-content-detail-page .article-sidebar .toc-list a { color: #090a0c; font-size: 14px; text-decoration: none; }
.pd-content-detail-page .article-sidebar .toc-list a:hover,
.pd-content-detail-page .article-sidebar .toc-list a:focus-visible { color: #266df0; text-decoration: underline; text-underline-offset: 3px; }
.pd-content-detail-page .related-articles { margin-top: 48px; padding-bottom: 24px; }
.pd-content-detail-page .related-articles-header { display: flex; align-items: center; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.pd-content-detail-page .related-articles-header h3 { margin: 0; color: #010101; font-size: 24px; font-weight: 700; }
.pd-content-detail-page .related-articles-header a { color: #1666c2; text-decoration: none; }
.pd-content-detail-page .related-articles-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.pd-content-detail-page .related-article-card { min-width: 0; overflow: hidden; border: 1px solid #e0e0e0; border-radius: 6px; background: #fff; }
.pd-content-detail-page .related-article-image { display: block; height: 166px; overflow: hidden; background: #f1f1f1; }
.pd-content-detail-page .related-article-image img { width: 100%; height: 100%; object-fit: cover; }
.pd-content-detail-page .related-article-meta { display: flex; align-items: center; gap: 8px; padding: 12px 12px 0; color: #696868; font-size: 12px; }
.pd-content-detail-page .related-article-meta a { color: #1666c2; font-weight: 600; text-decoration: none; }
.pd-content-detail-page .related-article-card h5 { margin: 8px 12px; font-size: 16px; line-height: 1.35; }
.pd-content-detail-page .related-article-card h5 a { color: #141416; text-decoration: none; }
.pd-content-detail-page .related-article-card h5 a:hover { color: #1666c2; }
.pd-content-detail-page .related-article-summary { display: -webkit-box; margin: 0 12px 14px; overflow: hidden; color: #696868; font-size: 13px; line-height: 1.5; -webkit-box-orient: vertical; -webkit-line-clamp: 3; }

@media (max-width: 1120px) {
    .pd-content-detail-page { --pd-sticky-header-adjust: 24px; }
}

@media (max-width: 991px) {
    .pd-content-detail-page .article-detail-header { position: static; }
    .pd-content-detail-page .row-article-detail { grid-template-columns: minmax(0, 1fr); gap: 0; }
    .pd-content-detail-page .article-sidebar { position: static; height: auto; overflow: visible; }
    .pd-content-detail-page .article-sidebar .sidebar-inner { padding-top: 16px; }
    .pd-content-detail-page .related-articles-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 600px) {
    .pd-content-detail-page { --pd-content-breadcrumb-offset: 52px; }
    .pd-content-detail-page .container-article-detail { width: 100%; }
    .pd-content-detail-page .article-detail-body .article-title { font-size: 26px; }
    .pd-content-detail-page .related-articles-grid { grid-template-columns: minmax(0, 1fr); }
}
