:root {
    --g-primary: #ef6c00;
    --g-primary-dark: #d95f00;
    --g-ink: #1a1a1a;
    --g-muted: #77716b;
    --g-line: #f0e4d8;
    --g-bg: #fffcf8;
    --g-warm: #fff8f0;
    --g-card: #ffffff;
    --g-radius: 18px;
    --g-shadow: 0 10px 26px rgba(122, 72, 22, .12);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--g-bg);
    color: var(--g-ink);
    font-family: "Noto Sans TC", "PingFang TC", "Microsoft JhengHei", sans-serif;
    text-size-adjust: 100%;
}

body {
    margin: 0;
    background: var(--g-bg);
}

body.preview-frame {
    min-height: 100vh;
    overflow: auto;
    background: #f0f0f0;
}

.phone {
    position: relative;
    display: flex;
    width: 375px;
    height: 812px;
    flex-direction: column;
    margin: 20px auto;
    overflow: hidden;
    border-radius: 44px;
    background: #fffcf8;
    box-shadow: 0 0 0 3px #1a1a1a, 0 0 0 6px #333, 0 16px 48px rgba(0, 0, 0, .10), 0 4px 12px rgba(0, 0, 0, .04);
}

.status-bar {
    position: relative;
    z-index: 120;
    display: flex;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: space-between;
    padding: 12px 28px 0;
    background: #fff;
}

.status-bar .time {
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0;
}

.status-bar .icons {
    display: flex;
    align-items: center;
    gap: 5px;
}

.status-bar .icons svg {
    width: 16px;
    height: 16px;
}

.phone-screen {
    position: relative;
    min-height: 0;
    flex: 1;
    overflow: hidden;
    background: #fffcf8;
}

.preview-frame .g-page-shell {
    height: 100%;
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

.preview-frame .g-page-shell::-webkit-scrollbar {
    display: none;
}

.preview-frame .g-bottom-nav {
    position: absolute;
    right: 0;
    bottom: 0;
    left: 0;
}

.preview-frame .floating-consult {
    position: absolute;
    right: 14px;
    bottom: calc(104px + env(safe-area-inset-bottom));
}

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

button {
    font: inherit;
}

.g-page-shell {
    min-height: 100vh;
    max-width: 430px;
    margin: 0 auto;
    padding-bottom: calc(86px + env(safe-area-inset-bottom));
    background: var(--g-bg);
}

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

.g-hero__top,
.g-section__head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.g-logo img {
    display: block;
    height: 40px;
    object-fit: contain;
}

.g-lang {
    display: flex;
    padding: 3px;
    border: 1px solid rgba(239, 108, 0, .22);
    border-radius: 999px;
    background: #fff;
    box-shadow: 0 4px 14px rgba(239, 108, 0, .08);
}

.g-lang__button {
    min-width: 48px;
    min-height: 32px;
    border: 0;
    border-radius: 999px;
    background: transparent;
    color: var(--g-muted);
    cursor: pointer;
}

.g-lang__button.is-active {
    background: var(--g-primary);
    color: #fff;
    font-weight: 700;
}

.g-hero-card {
    position: relative;
    overflow: hidden;
    margin-top: 14px;
    min-height: 212px;
    border-radius: 24px;
    background: #f7d9b6;
    box-shadow: var(--g-shadow);
}

.g-hero-card__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.g-hero-card__content {
    position: relative;
    z-index: 1;
    padding: 22px 20px;
    color: #fff;
    text-shadow: 0 2px 14px rgba(77, 40, 9, .35);
}

.g-badge {
    display: inline-flex;
    align-items: center;
    min-height: 28px;
    margin: 0 0 10px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(255, 255, 255, .92);
    color: var(--g-primary-dark);
    font-size: 12px;
    font-weight: 700;
    text-shadow: none;
}

.g-hero-card h1 {
    margin: 0;
    color: #fff;
    font-size: 38px;
    line-height: 1.08;
    letter-spacing: 0;
}

.g-hero-card__text {
    max-width: 220px;
    margin: 12px 0 0;
    font-size: 14px;
    line-height: 1.55;
}

.g-section {
    padding: 22px 16px 0;
}

.g-subhead,
.g-detail-hero,
.g-profile-hero {
    padding: 16px 16px 20px;
    background: linear-gradient(180deg, #fff8f0 0%, #fffcf8 100%);
}

.g-back {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    margin-bottom: 14px;
    padding: 0 12px;
    border: 1px solid rgba(239, 108, 0, .18);
    border-radius: 999px;
    background: #fff;
    color: var(--g-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.g-kicker {
    margin: 0 0 8px;
    color: var(--g-primary-dark);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.g-subhead h1,
.g-detail-hero h1,
.g-profile-hero h1 {
    margin: 0;
    font-size: 28px;
    line-height: 1.18;
    letter-spacing: 0;
}

.g-subhead p:last-child,
.g-detail-hero p,
.g-profile-hero p:last-child {
    margin: 10px 0 0;
    color: var(--g-muted);
    font-size: 14px;
    line-height: 1.7;
}

.g-list-page {
    display: grid;
    gap: 12px;
    padding: 0 16px 22px;
}

.g-section--warm {
    margin-top: 20px;
    padding-top: 22px;
    padding-bottom: 22px;
    background: var(--g-warm);
}

.g-section h2,
.g-cta h2 {
    margin: 0;
    font-size: 20px;
    line-height: 1.3;
    letter-spacing: 0;
}

.g-section__more {
    color: var(--g-primary);
    font-size: 14px;
    font-weight: 700;
}

.g-service-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 14px;
}

.g-service-card,
.g-doctor-card,
.g-clinic-card,
.g-info-card,
.g-form,
.g-cta {
    background: var(--g-card);
    border: 1px solid rgba(239, 108, 0, .08);
    box-shadow: var(--g-shadow);
}

.g-info-card {
    display: grid;
    grid-template-columns: 46px minmax(0, 1fr);
    gap: 12px;
    padding: 16px;
    border-radius: 20px;
}

.g-info-card h2 {
    margin: 0;
    font-size: 17px;
    line-height: 1.35;
}

.g-info-card p {
    margin: 7px 0 0;
    color: var(--g-muted);
    font-size: 14px;
    line-height: 1.65;
}

.g-info-card a {
    display: inline-flex;
    margin-top: 10px;
    color: var(--g-primary-dark);
    font-size: 13px;
    font-weight: 800;
}

.g-step {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 15px;
    background: #fff0df;
    color: var(--g-primary-dark);
    font-size: 13px;
    font-weight: 900;
}

.g-service-card {
    display: flex;
    min-height: 102px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-radius: var(--g-radius);
}

.g-service-card__icon {
    display: grid;
    width: 42px;
    height: 42px;
    place-items: center;
    border-radius: 15px;
    background: linear-gradient(135deg, #fff0df, #ffd8b2);
    color: var(--g-primary-dark);
    font-weight: 800;
}

.g-service-card__name {
    font-size: 13px;
    font-weight: 700;
}

.g-stack {
    display: grid;
    gap: 12px;
    margin-top: 14px;
}

.g-clinic-card {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 12px;
    min-height: 118px;
    padding: 10px;
    border-radius: 20px;
}

.g-clinic-card--wide {
    grid-template-columns: 124px minmax(0, 1fr);
    min-height: 132px;
}

.g-clinic-card--wide img {
    width: 124px;
    height: 110px;
}

.g-clinic-card img {
    width: 112px;
    height: 96px;
    border-radius: 15px;
    object-fit: cover;
}

.g-clinic-card__body,
.g-doctor-card {
    display: flex;
    min-width: 0;
    flex-direction: column;
}

.g-clinic-card strong,
.g-doctor-card strong {
    margin-top: 5px;
    overflow: hidden;
    font-size: 15px;
    line-height: 1.35;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.g-clinic-card small,
.g-doctor-card small {
    margin-top: 3px;
    color: var(--g-primary-dark);
    font-size: 12px;
    font-weight: 700;
}

.g-clinic-card span:last-child,
.g-doctor-card span {
    margin-top: 6px;
    color: var(--g-muted);
    font-size: 12px;
    line-height: 1.45;
}

.g-chip {
    align-self: flex-start;
    padding: 3px 8px;
    border-radius: 999px;
    background: #fff0df;
    color: var(--g-primary-dark);
    font-size: 11px;
    font-weight: 700;
}

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

.g-doctor-card {
    align-items: center;
    min-height: 184px;
    padding: 16px 10px;
    border-radius: 20px;
    text-align: center;
}

.g-doctor-card img {
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: #fff4e8;
    object-fit: cover;
}

.g-cta {
    margin: 22px 16px;
    padding: 20px;
    border-radius: 24px;
}

.g-list-page > .g-cta {
    margin-right: 0;
    margin-left: 0;
}

.g-detail-hero img {
    display: block;
    width: 100%;
    height: 196px;
    margin-bottom: 14px;
    border-radius: 24px;
    object-fit: cover;
    box-shadow: var(--g-shadow);
}

.g-detail-hero .g-chip {
    margin-bottom: 8px;
}

.g-profile-hero {
    text-align: center;
}

.g-profile-hero .g-back {
    display: flex;
    width: fit-content;
}

.g-profile-hero img {
    display: block;
    width: 112px;
    height: 112px;
    margin: 4px auto 14px;
    border: 6px solid #fff;
    border-radius: 50%;
    background: #fff4e8;
    object-fit: cover;
    box-shadow: var(--g-shadow);
}

.g-form {
    display: grid;
    gap: 14px;
    padding: 18px;
    border-radius: 22px;
}

.g-form label {
    display: grid;
    gap: 7px;
    color: var(--g-ink);
    font-size: 14px;
    font-weight: 800;
}

.g-form input,
.g-form select,
.g-form textarea {
    width: 100%;
    border: 1px solid var(--g-line);
    border-radius: 14px;
    background: #fffaf5;
    color: var(--g-ink);
    font: inherit;
    font-weight: 500;
}

.g-form input,
.g-form select {
    min-height: 46px;
    padding: 0 12px;
}

.g-form textarea {
    resize: vertical;
    padding: 12px;
}

.g-cta p:last-of-type {
    margin: 10px 0 0;
    color: var(--g-muted);
    font-size: 14px;
    line-height: 1.7;
}

.g-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 46px;
    margin-top: 16px;
    padding: 0 18px;
    border: 0;
    border-radius: 999px;
    background: var(--g-primary);
    color: #fff;
    cursor: pointer;
    font-weight: 800;
    box-shadow: 0 10px 20px rgba(239, 108, 0, .24);
}

.privacy-check a {
    color: var(--g-primary-dark);
    text-decoration: underline;
    text-underline-offset: 3px;
}

.legal-links {
    padding: 26px 18px calc(92px + env(safe-area-inset-bottom));
    color: #8d837a;
    font-size: 13px;
    line-height: 1.7;
    text-align: center;
}

.legal-links nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 12px;
    margin-bottom: 8px;
}

.legal-links a {
    color: #6f6760;
    font-weight: 700;
}

.legal-links p {
    max-width: 320px;
    margin: 6px auto 0;
}

.static-page {
    padding-bottom: 18px;
}

.static-intro {
    padding-bottom: 16px;
}

.static-panel {
    display: grid;
    gap: 12px;
    padding: 0 16px 18px;
}

.static-block {
    padding: 18px;
    border: 1px solid rgba(239, 108, 0, .08);
    border-radius: 18px;
    background: #fff;
    box-shadow: var(--g-shadow);
}

.static-block h2 {
    margin: 0;
    font-size: 18px;
    line-height: 1.35;
}

.static-block p {
    margin: 9px 0 0;
    color: var(--g-muted);
    font-size: 14px;
    line-height: 1.75;
}

.static-list {
    display: grid;
    gap: 7px;
    margin: 12px 0 0;
    padding: 0;
    list-style: none;
}

.static-list li {
    position: relative;
    padding-left: 16px;
    color: #3b3632;
    font-size: 13px;
    line-height: 1.55;
}

.static-list li::before {
    position: absolute;
    top: 9px;
    left: 0;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--g-primary);
    content: "";
}

.static-link {
    display: inline-flex;
    align-items: center;
    min-height: 34px;
    margin-top: 14px;
    padding: 0 14px;
    border-radius: 999px;
    background: var(--g-primary);
    color: #fff;
    font-size: 13px;
    font-weight: 800;
}

.article-list-page,
.article-detail-page {
    padding-bottom: 22px;
}

.article-list {
    display: grid;
    gap: 14px;
    padding: 0 16px 18px;
}

.article-list--home {
    padding: 0;
}

.article-list--home .article-list-summary {
    display: -webkit-box;
    overflow: hidden;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.article-list-card {
    display: flex;
    flex-direction: column;
    gap: 12px;
    overflow: hidden;
    border: 1px solid #efe7df;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--g-shadow);
    text-decoration: none;
}

.article-list-cover {
    aspect-ratio: 21 / 10;
    overflow: hidden;
    background: #f1f5f9;
}

.article-list-cover img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.article-list-cover-empty {
    display: grid;
    width: 100%;
    height: 100%;
    place-items: center;
    color: #b3a596;
    font-size: 42px;
}

.article-list-body {
    display: grid;
    gap: 10px;
    padding: 0 14px 14px;
}

.article-list-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #8d857d;
    font-size: 12px;
}

.article-list-title {
    margin: 0;
    color: #1a1a1a;
    font-size: 19px;
    line-height: 1.35;
}

.article-list-summary {
    margin: 0;
    color: #4e5a68;
    font-size: 13px;
    line-height: 1.7;
}

.article-list-empty {
    margin: 4px 16px 0;
    color: #8d857d;
}

.article-detail-card {
    margin: 0 16px;
    overflow: hidden;
    border: 1px solid #efe7df;
    border-radius: 20px;
    background: #fff;
    box-shadow: var(--g-shadow);
}

.article-detail-cover {
    display: block;
    width: 100%;
    max-height: 268px;
    object-fit: cover;
}

.article-detail-body {
    display: grid;
    gap: 14px;
    padding: 14px;
}

.article-detail-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    color: #8d857d;
    font-size: 13px;
}

.article-detail-content {
    display: grid;
    gap: 10px;
    color: #1f2733;
    font-size: 15px;
    line-height: 1.85;
}

.article-detail-content img {
    display: block;
    max-width: 100%;
    margin: 2px auto;
    border-radius: 12px;
}

.article-qr-block {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    align-items: center;
    gap: 8px;
    padding: 8px 10px 10px;
    border-radius: 14px;
    border: 1px solid #d9f0df;
    background: #f7fdf8;
    box-shadow: 0 8px 20px rgba(15, 23, 42, .06);
    max-width: min(100%, 340px);
    margin-left: auto;
    margin-right: auto;
}

.article-qr-block h2 {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 15px;
}

.article-qr-block--fixed {
    gap: 10px;
}

.article-qr-frame {
    position: relative;
    width: min(100%, 280px);
    aspect-ratio: 16 / 9;
    border: 1px solid #d8f0df;
    border-radius: 12px;
    background: #fff;
    display: grid;
    place-items: center;
    overflow: hidden;
}

.article-qr-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.article-qr-block > .article-qr-image {
    aspect-ratio: 16 / 9;
    background: #fff;
    border: 1px solid #d8f0df;
    border-radius: 12px;
    display: block;
    height: auto;
}

.article-qr-fallback {
    align-items: center;
    aspect-ratio: 16 / 9;
    background: #fff;
    border: 1px solid #d8f0df;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
    color: #8d8580;
    font-size: 11px;
    line-height: 1.35;
}

.article-qr-fallback-icon {
    font-size: 20px;
    margin-bottom: 2px;
}

.article-qr-text {
    margin: 0;
    color: #2f3c4d;
    font-size: 11px;
    line-height: 1.45;
    text-align: center;
    max-width: 300px;
}

.article-detail-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    align-items: center;
}

.article-detail-actions .btn-link {
    display: inline-flex;
    align-items: center;
    min-height: 40px;
    padding: 0 14px;
    border-radius: 999px;
    border: 1px solid #eee0d2;
    background: #fff;
    color: #6b6159;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
}

.article-detail-actions .g-button {
    margin: 0;
}

.g-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 20;
    display: grid;
    max-width: 430px;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 4px;
    margin: 0 auto;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--g-line);
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(14px);
    box-shadow: 0 -8px 24px rgba(74, 42, 12, .08);
}

.g-bottom-nav a {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    border-radius: 15px;
    color: #8b837b;
    font-size: 11px;
    font-weight: 700;
}

.g-bottom-nav span {
    font-size: 20px;
    line-height: 1;
}

.g-bottom-nav a.is-active {
    background: #fff1e3;
    color: var(--g-primary-dark);
}

@media (max-width: 360px) {
    .g-service-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .g-hero-card h1 {
        font-size: 34px;
    }
}

/* Prototype-aligned home rebuild */
.g-page-shell {
    max-width: 375px;
    padding-bottom: 0;
    background: var(--g-bg);
}

.scroll {
    overflow-x: hidden;
    padding-bottom: calc(110px + env(safe-area-inset-bottom));
}

.hero {
    position: relative;
    padding: 0 0 28px;
    background: #fff;
}

.hero-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 20px 0;
}

.hero-logo img {
    display: block;
    height: 34px;
    width: auto;
    border-radius: 0;
}

.lang-wrap {
    display: flex;
    overflow: hidden;
    border: 1px solid rgba(239, 108, 0, .12);
    border-radius: 50px;
    background: rgba(239, 108, 0, .06);
}

.lang-btn {
    border: 0;
    background: transparent;
    color: #bbb;
    cursor: pointer;
    font: inherit;
    font-size: 11px;
    font-weight: 600;
    padding: 5px 13px;
}

.lang-btn.on,
.lang-btn.is-active {
    background: #ef6c00;
    color: #fff;
}

.hero-banner {
    position: relative;
    aspect-ratio: 343 / 193;
    margin: 18px 20px 0;
    overflow: hidden;
    border-radius: 24px;
    background: #f7efe6;
}

.hero-banner img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sec {
    padding: 32px 20px 0;
}

.sec-last {
    padding-bottom: 22px;
}

.sec-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.sec-title {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1a1a1a;
    font-size: 19px;
    font-weight: 700;
}

.icon-wrap {
    display: flex;
    width: 30px;
    height: 30px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
}

.icon-wrap svg {
    width: 17px;
    height: 17px;
    color: #fff;
}

.icon-orange { background: linear-gradient(135deg, #ef6c00, #d45a00); }
.icon-blue { background: linear-gradient(135deg, #1565c0, #0d47a1); }
.icon-purple { background: linear-gradient(135deg, #6a1b9a, #4a148c); }
.icon-teal { background: linear-gradient(135deg, #00695c, #004d40); }
.icon-red { background: linear-gradient(135deg, #c62828, #b71c1c); }

.sec-more {
    display: flex;
    align-items: center;
    gap: 2px;
    color: #999;
    cursor: pointer;
    font-size: 12px;
    font-weight: 500;
}

.sec-more svg {
    width: 14px;
    height: 14px;
}

.svc-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px 12px;
}

.svc-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.svc-icon {
    position: relative;
    display: flex;
    width: 54px;
    height: 54px;
    align-items: center;
    justify-content: center;
    border-radius: 16px;
    transition: transform .2s;
}

.svc-item:active .svc-icon {
    transform: scale(.92);
}

.svc-icon span {
    font-size: 20px;
    font-weight: 900;
}

.svc-icon svg {
    width: 26px;
    height: 26px;
}

.svc-name {
    color: #2d2d2d;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
}

.svc-hot {
    position: absolute;
    top: -3px;
    right: -3px;
    display: flex;
    width: 16px;
    height: 16px;
    align-items: center;
    justify-content: center;
    border: 2px solid #fffcf8;
    border-radius: 50%;
    background: #ef4444;
}

.svc-hot::after {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #fff;
    content: "";
}

.svc-c1 { background: linear-gradient(135deg, #fff3e0, #ffe0b2); color: #e65100; }
.svc-c2 { background: linear-gradient(135deg, #e8f5e9, #c8e6c9); color: #2e7d32; }
.svc-c3 { background: linear-gradient(135deg, #e3f2fd, #bbdefb); color: #1565c0; }
.svc-c4 { background: linear-gradient(135deg, #fce4ec, #f8bbd0); color: #c62828; }
.svc-c5 { background: linear-gradient(135deg, #f3e5f5, #e1bee7); color: #6a1b9a; }
.svc-c6 { background: linear-gradient(135deg, #e0f7fa, #b2ebf2); color: #00695c; }
.svc-c7 { background: linear-gradient(135deg, #fff8e1, #ffecb3); color: #f57f17; }
.svc-c8 { background: linear-gradient(135deg, #ede7f6, #d1c4e9); color: #4527a0; }

.adv-grid,
.doc-list,
.testi-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.adv-card {
    position: relative;
    display: flex;
    overflow: hidden;
    align-items: center;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
    transition: transform .2s, box-shadow .2s;
}

.adv-card::before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 2;
    width: 4px;
    border-radius: 4px 0 0 4px;
    background: linear-gradient(180deg, #1565c0, #0d47a1);
    content: "";
}

.adv-card:nth-child(2)::before { background: linear-gradient(180deg, #ef6c00, #d45a00); }
.adv-card:nth-child(3)::before { background: linear-gradient(180deg, #2e7d32, #1b5e20); }
.adv-card:nth-child(4)::before { background: linear-gradient(180deg, #6a1b9a, #4a148c); }
.adv-card:nth-child(5)::before { background: linear-gradient(180deg, #00838f, #006064); }
.adv-card:nth-child(6)::before { background: linear-gradient(180deg, #c62828, #b71c1c); }

.adv-img {
    position: relative;
    flex-shrink: 0;
    width: 150px;
    overflow: hidden;
    background: #fff8f0;
    line-height: 0;
}

.adv-img img {
    display: block;
    width: 100%;
    height: auto;
}

.adv-num {
    position: absolute;
    top: 8px;
    left: 12px;
    z-index: 1;
    padding: 3px 8px;
    border-radius: 8px;
    background: rgba(0, 0, 0, .45);
    color: #fff;
    font-size: 10px;
    font-weight: 800;
    letter-spacing: .5px;
}

.adv-body {
    min-width: 0;
    flex: 1;
    padding: 14px 14px 12px;
}

.adv-body h5 {
    margin: 0 0 5px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
}

.adv-body p {
    margin: 0 0 8px;
    color: #555;
    font-size: 11.5px;
    font-weight: 400;
    line-height: 1.55;
}

.adv-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
}

.adv-tag {
    padding: 3px 8px;
    border-radius: 6px;
    background: rgba(239, 108, 0, .06);
    color: #ef6c00;
    font-size: 10px;
    font-weight: 600;
}

.hosp-featured {
    position: relative;
    display: block;
    height: 175px;
    margin-bottom: 14px;
    overflow: hidden;
    border-radius: 20px;
    box-shadow: 0 4px 16px rgba(0, 0, 0, .06), 0 1px 3px rgba(0, 0, 0, .04);
}

.hosp-featured img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hosp-featured-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 18px 18px;
    background: linear-gradient(to top, rgba(0, 0, 0, .7) 0%, transparent 60%);
}

.hosp-featured-badge {
    display: inline-flex;
    align-items: center;
    width: fit-content;
    gap: 4px;
    margin-bottom: 8px;
    padding: 3px 10px;
    border-radius: 12px;
    background: rgba(239, 108, 0, .9);
    color: #fff;
    font-size: 10px;
    font-weight: 600;
}

.hosp-featured-badge svg {
    width: 11px;
    height: 11px;
}

.hosp-featured h4 {
    margin: 0 0 4px;
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    text-shadow: 0 1px 4px rgba(0, 0, 0, .3);
}

.hosp-featured p {
    margin: 0;
    color: rgba(255, 255, 255, .75);
    font-size: 11.5px;
    font-weight: 400;
}

.hosp-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.hosp-card {
    overflow: hidden;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
    transition: transform .2s;
}

.hosp-card-img {
    height: 80px;
    overflow: hidden;
}

.hosp-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hosp-card-body {
    padding: 10px 12px 12px;
}

.hosp-card-body h5 {
    margin: 0 0 4px;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.3;
}

.hosp-card-body .loc {
    margin-bottom: 6px;
    color: #555;
    font-size: 11px;
}

.hosp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
}

.hosp-tag {
    padding: 2px 7px;
    border-radius: 5px;
    background: rgba(239, 108, 0, .06);
    color: #ef6c00;
    font-size: 10px;
    font-weight: 500;
}

.doc-list {
    gap: 12px;
}

.doc-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
}

.doc-rank {
    position: absolute;
    top: 0;
    left: 0;
    display: flex;
    width: 22px;
    height: 22px;
    align-items: center;
    justify-content: center;
    border-radius: 0 0 10px 0;
    background: #ef6c00;
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.doc-rank.gold { background: linear-gradient(135deg, #f59e0b, #d97706); }
.doc-rank.silver { background: linear-gradient(135deg, #9ca3af, #6b7280); }
.doc-rank.bronze { background: linear-gradient(135deg, #d97706, #92400e); }

.doc-avatar {
    display: flex;
    width: 56px;
    height: 56px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 2px solid #efefef;
    border-radius: 16px;
    background: #2e7d32;
    color: #fff;
    font-size: 24px;
    font-weight: 700;
}

.doc-info {
    min-width: 0;
    flex: 1;
}

.doc-info h5 {
    margin: 0 0 2px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 700;
}

.doc-info .spec {
    margin-bottom: 3px;
    color: #ef6c00;
    font-size: 11.5px;
    font-weight: 600;
}

.doc-info .exp {
    color: #555;
    font-size: 11px;
    font-weight: 400;
}

.doc-rating {
    flex-shrink: 0;
    text-align: right;
}

.doc-rating .stars {
    color: #f59e0b;
    font-size: 12px;
    letter-spacing: 1px;
}

.price-card {
    overflow: hidden;
    border: 1px solid #efefef;
    border-radius: 20px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
}

.price-header,
.price-row {
    display: grid;
    grid-template-columns: 2fr 1.2fr 1.2fr;
    gap: 8px;
    align-items: center;
}

.price-header {
    padding: 12px 16px;
    background: linear-gradient(135deg, #1a1a1a, #2d2d2d);
}

.price-header span {
    color: rgba(255, 255, 255, .7);
    font-size: 11px;
    font-weight: 600;
    text-align: center;
}

.price-header span:first-child {
    text-align: left;
}

.price-row {
    padding: 13px 16px;
    border-bottom: 1px solid #efefef;
}

.price-row:last-child {
    border-bottom: 0;
}

.price-row:nth-child(even) {
    background: rgba(239, 108, 0, .06);
}

.price-name {
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
}

.price-hk {
    color: #555;
    font-size: 12px;
    font-weight: 400;
    text-align: center;
    text-decoration: line-through;
}

.price-sz {
    color: #ef6c00;
    font-size: 14px;
    font-weight: 700;
    text-align: center;
}

.price-save {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(239, 108, 0, .06);
    color: #ef6c00;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
}

.testi-card {
    padding: 18px;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 3px rgba(0, 0, 0, .04), 0 1px 2px rgba(0, 0, 0, .06);
}

.testi-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.testi-avatar {
    display: flex;
    width: 40px;
    height: 40px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: linear-gradient(135deg, #ef6c00, #d45a00);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
}

.testi-user {
    min-width: 0;
    flex: 1;
}

.testi-user h6 {
    margin: 0;
    color: #1a1a1a;
    font-size: 13px;
    font-weight: 600;
}

.testi-user p,
.testi-text {
    margin: 0;
    color: #555;
    font-size: 12px;
    line-height: 1.65;
}

.testi-stars {
    color: #f59e0b;
    font-size: 12px;
}

.cta-banner {
    margin-top: 18px;
    padding: 22px 20px;
    border-radius: 24px;
    background: linear-gradient(135deg, #ef6c00, #d45a00);
    color: #fff;
    text-align: center;
    box-shadow: 0 4px 20px rgba(239, 108, 0, .15), 0 1px 4px rgba(239, 108, 0, .10);
}

.cta-banner h3 {
    margin: 0 0 6px;
    font-size: 21px;
    font-weight: 800;
}

.cta-banner p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
    font-size: 13px;
    line-height: 1.6;
}

.cta-banner a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 42px;
    margin-top: 14px;
    padding: 0 22px;
    border-radius: 999px;
    background: #fff;
    color: #d45a00;
    font-size: 14px;
    font-weight: 800;
}

.floating-consult {
    position: fixed;
    right: max(14px, calc(50% - 187.5px + 14px));
    bottom: calc(104px + env(safe-area-inset-bottom));
    z-index: 105;
    display: inline-flex;
    width: 46px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: linear-gradient(135deg, #ff7a1a, #ef4f00);
    color: #fff;
    box-shadow: 0 10px 24px rgba(239, 80, 0, .28), 0 2px 8px rgba(80, 40, 0, .12);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: width .2s ease, padding .2s ease, transform .2s ease;
}

.floating-consult svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.floating-consult span {
    display: block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: max-width .2s ease, opacity .16s ease;
}

.floating-consult.is-open,
.floating-consult:focus-visible {
    width: 132px;
    justify-content: flex-start;
    padding: 0 13px;
}

.floating-consult.is-open span,
.floating-consult:focus-visible span {
    max-width: 90px;
    opacity: 1;
}

.wydh-mobile-entry {
    position: fixed;
    right: max(14px, calc(50% - 187.5px + 14px));
    bottom: calc(160px + env(safe-area-inset-bottom));
    z-index: 105;
    display: inline-flex;
    width: 46px;
    min-height: 46px;
    align-items: center;
    justify-content: center;
    gap: 6px;
    overflow: hidden;
    padding: 0;
    border: 1px solid rgba(255, 255, 255, .7);
    border-radius: 999px;
    background: linear-gradient(135deg, #4f9cff, #2563d9);
    color: #fff;
    box-shadow: 0 10px 24px rgba(37, 99, 217, .24), 0 2px 8px rgba(20, 55, 120, .14);
    font-size: 13px;
    font-weight: 900;
    line-height: 1;
    transition: width .2s ease, padding .2s ease, transform .2s ease;
}

.wydh-mobile-entry svg {
    width: 19px;
    height: 19px;
    flex-shrink: 0;
}

.wydh-mobile-entry span {
    display: block;
    max-width: 0;
    overflow: hidden;
    opacity: 0;
    white-space: nowrap;
    transition: max-width .2s ease, opacity .16s ease;
}

.wydh-mobile-entry:focus-visible {
    width: 126px;
    justify-content: flex-start;
    padding: 0 13px;
}

.wydh-mobile-entry:focus-visible span {
    max-width: 84px;
    opacity: 1;
}

.preview-frame .wydh-mobile-entry {
    position: absolute;
    right: 14px;
    bottom: calc(160px + env(safe-area-inset-bottom));
}

/* Mobile WYDH chat: keep a separate compact entry and place the dialog above navigation. */
@media screen and (max-width: 780px) {
    #zx.wydh_consulting {
        display: none !important;
    }

    .wydh_dialog {
        right: 0 !important;
        bottom: calc(82px + env(safe-area-inset-bottom)) !important;
        left: 0 !important;
        width: min(100%, 430px) !important;
        max-height: calc(100dvh - 98px);
        margin: 0 auto;
        border-radius: 16px 16px 0 0 !important;
        box-shadow: 0 -12px 36px rgba(20, 20, 20, .22) !important;
    }

    #wydh_mask {
        right: 0;
        bottom: calc(82px + env(safe-area-inset-bottom));
        left: 0;
        height: auto !important;
    }

    .wydh_nav,
    .wydh_nav_right,
    .wydh_nav_right_close {
        min-height: 48px;
    }

    .wydh_nav_right_close {
        min-width: 48px;
    }

    .wydh_dialog_box_bottom_textarea .wydh_textarea {
        min-height: 42px;
        font-size: 16px !important;
        line-height: 1.45;
    }

    .wydh_dialog_box_bottom_btn {
        min-width: 52px;
        min-height: 42px;
    }
}

.g-bottom-nav {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 100;
    display: flex;
    max-width: 375px;
    height: calc(82px + env(safe-area-inset-bottom));
    margin: 0 auto;
    padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
    border-top: 1px solid #efefef;
    background: rgba(255, 255, 255, .96);
    box-shadow: 0 -4px 20px rgba(0, 0, 0, .06);
    backdrop-filter: blur(20px);
}

.g-bottom-nav a {
    position: relative;
    display: flex;
    flex: 1;
    min-height: 54px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 4px;
    border-radius: 0;
    color: #999;
    font-size: 10px;
    font-weight: 500;
}

.g-bottom-nav a svg {
    width: 22px;
    height: 22px;
}

.g-bottom-nav a.is-active {
    background: transparent;
    color: #ef6c00;
}

.g-bottom-nav a.is-active::after {
    position: absolute;
    top: 0;
    width: 20px;
    height: 2.5px;
    border-radius: 0 0 2px 2px;
    background: #ef6c00;
    content: "";
}

/* Prototype-aligned inner pages */
.navbar {
    position: sticky;
    top: 0;
    z-index: 80;
    display: flex;
    height: 52px;
    align-items: center;
    gap: 8px;
    padding: 0 14px;
    border-bottom: 1px solid #f3eee8;
    background: rgba(255, 255, 255, .98);
    backdrop-filter: blur(18px);
}

.navbar .nav-back {
    display: flex;
    width: 38px;
    height: 38px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(239, 108, 0, .08);
}

.navbar .nav-back svg {
    width: 20px;
    height: 20px;
    color: #ef6c00;
}

.navbar .nav-title {
    min-width: 0;
    flex: 1;
    overflow: hidden;
    color: #1a1a1a;
    font-size: 17px;
    font-weight: 800;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.navbar .lang-wrap {
    flex-shrink: 0;
    margin-left: 0;
}

.page-intro,
.svc-intro {
    padding: 8px 20px 4px;
}

.page-intro h1,
.svc-intro h1 {
    margin: 0 0 6px;
    color: #1a1a1a;
    font-size: 21px;
    font-weight: 800;
    line-height: 1.28;
}

.page-intro p,
.svc-intro p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.svc-list {
    display: grid;
    gap: 12px;
    padding: 16px 20px 32px;
}

.svc-card {
    padding: 16px;
    border: 1px solid #efefef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.svc-card-head {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}

.svc-emoji {
    display: flex;
    width: 48px;
    height: 48px;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
}

.svc-emoji svg {
    width: 28px;
    height: 28px;
}

.svc-card-tt {
    margin: 0;
    color: #1a1a1a;
    font-size: 16px;
    font-weight: 800;
    line-height: 1.2;
}

.svc-card-en {
    margin-top: 2px;
    color: #999;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: .5px;
}

.svc-desc {
    margin: 0 0 10px;
    color: #555;
    font-size: 12.5px;
    line-height: 1.65;
}

.svc-tags,
.dp-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}

.svc-tag,
.dp-tags .t,
.dp-spec-pills .p {
    padding: 4px 10px;
    border-radius: 20px;
    background: rgba(239, 108, 0, .08);
    color: #d95f00;
    font-size: 11px;
    font-weight: 700;
}

.svc-card-foot {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
}

.svc-price {
    color: #ef6c00;
    font-size: 13px;
    font-weight: 900;
}

.svc-price .unit {
    margin-left: 4px;
    color: #999;
    font-size: 11px;
    font-weight: 700;
}

.svc-link {
    display: inline-flex;
    min-height: 32px;
    align-items: center;
    padding: 0 12px;
    border-radius: 999px;
    background: #fff3e6;
    color: #d95f00;
    font-size: 12px;
    font-weight: 800;
}

.process {
    display: grid;
    gap: 12px;
}

.step {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr) 44px;
    gap: 10px;
    align-items: center;
    padding: 14px;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
    box-shadow: 0 1px 8px rgba(0, 0, 0, .035);
}

.step-num {
    display: flex;
    width: 30px;
    height: 30px;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #ef6c00;
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.step-body h2 {
    margin: 0 0 3px;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 800;
}

.step-body p {
    margin: 0 0 5px;
    color: #555;
    font-size: 11.5px;
    line-height: 1.55;
}

.step-tag {
    display: inline-flex;
    color: #d95f00;
    font-size: 10px;
    font-weight: 800;
}

.step-tag.green { color: #2e7d32; }
.step-tag.blue { color: #1565c0; }
.step-tag.purple { color: #6a1b9a; }
.step-tag.teal { color: #00838f; }

.step-icon {
    display: flex;
    width: 42px;
    height: 42px;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    background: #fff3e0;
    color: #ef6c00;
}

.step-icon.green { background: #e8f5e9; color: #2e7d32; }
.step-icon.blue { background: #e3f2fd; color: #1565c0; }
.step-icon.purple { background: #f3e5f5; color: #6a1b9a; }
.step-icon.teal { background: #e0f7fa; color: #00838f; }

.step-icon svg {
    width: 22px;
    height: 22px;
}

.list-wrap {
    display: grid;
    gap: 12px;
    padding: 16px 20px 32px;
}

.list-count {
    color: #555;
    font-size: 13px;
}

.list-count b {
    color: #ef6c00;
}

.lp-hosp,
.lp-doc {
    display: flex;
    gap: 12px;
    padding: 12px;
    border: 1px solid #efefef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.lp-hosp-img {
    width: 104px;
    height: 92px;
    flex-shrink: 0;
    overflow: hidden;
    border-radius: 12px;
    background: #f3f3f3;
}

.lp-hosp-img img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.lp-hosp-body,
.lp-doc-info {
    display: flex;
    min-width: 0;
    flex: 1;
    flex-direction: column;
    justify-content: center;
}

.lp-badge {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 3px;
    margin-bottom: 6px;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(239, 108, 0, .92);
    color: #fff;
    font-size: 10px;
    font-weight: 700;
}

.lp-badge svg {
    width: 10px;
    height: 10px;
}

.lp-hosp-body h2,
.lp-doc-info h2 {
    margin: 0 0 5px;
    overflow: hidden;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 800;
    line-height: 1.3;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.lp-hosp-body .loc {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-bottom: 7px;
    color: #555;
    font-size: 12px;
}

.lp-hosp-body .loc svg {
    width: 13px;
    height: 13px;
    flex-shrink: 0;
    color: #ef6c00;
}

.lp-doc {
    align-items: center;
}

.lp-doc .doc-avatar,
.dp-doc .doc-avatar {
    border-radius: 16px;
}

.lp-doc-info .spec {
    margin-bottom: 3px;
    color: #ef6c00;
    font-size: 12px;
    font-weight: 700;
}

.lp-doc-info .exp {
    color: #555;
    font-size: 11px;
    line-height: 1.4;
}

.lp-doc .stars {
    margin-top: 4px;
    color: #ffb300;
    font-size: 12px;
    letter-spacing: 1px;
}

.doc-tone-1 { background: #2e7d32; }
.doc-tone-2 { background: #00695c; }
.doc-tone-3 { background: #1565c0; }
.doc-tone-4 { background: #6a1b9a; }
.doc-tone-5 { background: #c62828; }
.doc-tone-6 { background: #ef6c00; }
.doc-tone-7 { background: #00838f; }
.doc-tone-8 { background: #283593; }

.detail-scroll {
    padding-bottom: calc(142px + env(safe-area-inset-bottom));
}

.dp-hero {
    position: relative;
    height: 200px;
    overflow: hidden;
    background: #f3f3f3;
}

.dp-hero img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.dp-hero-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding: 0 20px 20px;
    background: linear-gradient(to top, rgba(0, 0, 0, .72) 0%, rgba(0, 0, 0, .12) 58%, transparent 100%);
}

.dp-hero-overlay h1 {
    margin: 0 0 6px;
    color: #fff;
    font-size: 21px;
    font-weight: 900;
    line-height: 1.3;
}

.dp-loc {
    display: flex;
    align-items: center;
    gap: 4px;
    color: rgba(255, 255, 255, .92);
    font-size: 13px;
}

.dp-loc svg {
    width: 14px;
    height: 14px;
}

.dp-badge2 {
    display: inline-flex;
    width: fit-content;
    align-items: center;
    gap: 4px;
    margin-bottom: 8px;
    padding: 4px 10px;
    border-radius: 999px;
    background: rgba(239, 108, 0, .92);
    color: #fff;
    font-size: 11px;
    font-weight: 800;
}

.dp-badge2 svg {
    width: 11px;
    height: 11px;
}

.dp-body {
    padding: 18px 20px 32px;
}

.dp-tags {
    margin-bottom: 18px;
}

.dp-block {
    margin-bottom: 22px;
}

.dp-block-title {
    display: flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: #1a1a1a;
    font-size: 15px;
    font-weight: 800;
}

.dp-block-title::before {
    width: 4px;
    height: 15px;
    border-radius: 2px;
    background: #ef6c00;
    content: "";
}

.dp-text {
    margin: 0;
    color: #555;
    font-size: 13.5px;
    line-height: 1.75;
}

.dp-info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.dp-info-card {
    min-width: 0;
    padding: 12px 14px;
    border: 1px solid #efefef;
    border-radius: 14px;
    background: #fff;
}

.dp-info-card .k {
    margin-bottom: 4px;
    color: #999;
    font-size: 11px;
}

.dp-info-card .v {
    overflow-wrap: anywhere;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 800;
    line-height: 1.35;
}

.dp-doc {
    display: flex;
    align-items: center;
    gap: 11px;
    padding: 12px;
    border: 1px solid #efefef;
    border-radius: 16px;
    background: #fff;
}

.dp-doc .doc-avatar {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.dp-doc .doc-avatar svg {
    width: 22px;
    height: 22px;
}

.dp-doc .di {
    min-width: 0;
    flex: 1;
}

.dp-doc .di h3 {
    margin: 0 0 2px;
    overflow: hidden;
    color: #1a1a1a;
    font-size: 14px;
    font-weight: 800;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-doc .di .s {
    overflow: hidden;
    color: #ef6c00;
    font-size: 11px;
    font-weight: 700;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.dp-doc .arrow {
    color: #bbb;
    font-size: 18px;
}

.dp-doc-hero {
    padding: 28px 20px 22px;
    background: linear-gradient(135deg, #fff8f0, #fff);
    text-align: center;
}

.dp-doc-hero .doc-avatar {
    width: 88px;
    height: 88px;
    margin: 0 auto 12px;
    border-radius: 26px;
    font-size: 34px;
}

.dp-doc-hero h1 {
    margin: 0 0 6px;
    color: #1a1a1a;
    font-size: 23px;
    font-weight: 900;
}

.rank-row {
    color: #555;
    font-size: 13px;
    line-height: 1.6;
}

.dp-doc-hero .stars {
    margin-top: 8px;
    color: #ffb300;
    font-size: 15px;
    letter-spacing: 2px;
}

.dp-spec-pills {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 7px;
    margin-top: 12px;
}

.dp-cta {
    position: fixed;
    right: 0;
    bottom: 70px;
    left: 0;
    z-index: 40;
    display: flex;
    gap: 10px;
    padding: 10px 20px;
    border-top: 1px solid #efefef;
    background: rgba(255, 255, 255, .96);
    backdrop-filter: blur(18px);
}

.preview-frame .dp-cta {
    position: absolute;
    right: 0;
    bottom: 70px;
    left: 0;
}

.dp-cta .btn {
    display: flex;
    min-height: 48px;
    flex: 1;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    font-size: 15px;
    font-weight: 800;
}

.dp-cta .btn-ghost {
    flex: 0 0 110px;
    background: #fff3e6;
    color: #ef6c00;
}

.dp-cta .btn-primary {
    background: linear-gradient(135deg, #ef6c00, #d95f00);
    color: #fff;
    box-shadow: 0 10px 20px rgba(239, 108, 0, .22);
}

.booking-panel {
    padding: 16px 20px 0;
}

.booking-panel .g-form {
    border-color: #efefef;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.privacy-check {
    display: flex !important;
    grid-template-columns: none !important;
    align-items: flex-start;
    gap: 9px !important;
    color: #555 !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    line-height: 1.55;
}

.privacy-check input {
    width: 18px;
    min-height: 18px;
    flex-shrink: 0;
    margin-top: 2px;
    accent-color: #ef6c00;
}

.booking-safe,
.not-found-panel {
    margin: 16px 20px 32px;
    padding: 18px;
    border: 1px solid #efefef;
    border-radius: 18px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0, 0, 0, .04);
}

.booking-safe h2,
.not-found-panel h1 {
    margin: 0 0 8px;
    color: #1a1a1a;
    font-size: 18px;
    font-weight: 900;
}

.booking-safe p,
.not-found-panel p {
    margin: 0;
    color: #555;
    font-size: 13px;
    line-height: 1.7;
}

.booking-message {
    display: none;
    margin: 2px 0 0;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    font-weight: 700;
    line-height: 1.5;
}

.booking-message.is-success {
    display: block;
    color: #146c2e;
    background: #eaf7ef;
}

.booking-message.is-error {
    display: block;
    color: #b42318;
    background: #fff0ee;
}

.not-found-panel {
    text-align: center;
}

.not-found-code {
    margin-bottom: 8px;
    color: #ef6c00;
    font-size: 46px;
    font-weight: 900;
    line-height: 1;
}

/* Review frame refinements */
.preview-frame .hero {
    padding-top: 0;
}

.preview-frame .hero-top {
    position: relative;
    inset: auto;
    z-index: 1;
}

.preview-frame .hero-banner {
    margin-top: 18px;
}

.preview-frame .scroll {
    padding-bottom: 86px;
}

.preview-frame .hero + .sec {
    padding-top: 34px;
    background: #fffcf8;
}

.preview-frame .sec-head {
    margin-bottom: 16px;
}

.preview-frame .svc-grid {
    gap: 18px 12px;
}

.preview-frame .svc-name {
    font-weight: 700;
}

.preview-frame .scroll > .sec:nth-of-type(2) {
    padding-top: 22px;
}
