:root {
    --bg: #fbf6ef;
    --paper: #fffdf8;
    --line: #eaded1;
    --text: #202020;
    --muted: #756f68;
    --coral: #ec7457;
    --coral-dark: #d85e43;
    --teal: #2f817d;
    --gold: #d99a2b;
    --shadow: 0 18px 44px rgba(99, 73, 45, .10);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: "Noto Sans TC", sans-serif;
    color: var(--text);
    background:
        radial-gradient(circle at 8% 12%, rgba(255, 227, 205, .6), transparent 25%),
        radial-gradient(circle at 85% 75%, rgba(224, 248, 241, .75), transparent 25%),
        linear-gradient(180deg, #fbf6ef 0%, #fffaf4 50%, #fbf6ef 100%);
}

a {
    text-decoration: none;
}

.container {
    max-width: 1160px;
}

.detail-page {
    padding: 40px 12px 72px;
}

.back-link {
    display: inline-block;
    color: var(--teal);
    font-weight: 900;
    margin-bottom: 18px;
}

.detail-card,
.review-section,
.review-table-card {
    border: 1px solid var(--line);
    border-radius: 32px;
    background: #fff;
    box-shadow: var(--shadow);
}

.detail-card {
    display: grid;
    grid-template-columns: .95fr 1.05fr;
    overflow: hidden;
    margin-bottom: 24px;
}

.detail-image img {
    width: 100%;
    height: 100%;
    min-height: 520px;
    object-fit: cover;
}

.detail-info {
    padding: 46px;
}

.category {
    display: inline-block;
    border-radius: 999px;
    background: var(--teal);
    color: #fff;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    margin-bottom: 12px;
}

.detail-info h1,
.review-head h2,
.admin-title h1 {
    font-family: "Noto Serif TC", serif;
    font-weight: 800;
}

.detail-info h1 {
    font-size: clamp(36px, 4vw, 54px);
    margin: 0 0 12px;
}

.detail-meta {
    color: var(--muted);
    font-size: 18px;
    font-weight: 800;
}

.detail-desc {
    color: #5f5a53;
    font-size: 17px;
    line-height: 1.9;
    font-weight: 700;
    margin: 22px 0;
}

.info-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 22px;
}

.info-list div {
    padding: 16px 18px;
    border-radius: 18px;
    background: #fff8ef;
    border: 1px solid var(--line);
}

.info-list small {
    display: block;
    color: var(--coral);
    font-weight: 900;
    margin-bottom: 5px;
}

.info-list p {
    margin: 0;
    color: #4e4943;
    font-weight: 800;
}

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

.chips em {
    font-style: normal;
    border-radius: 999px;
    background: #f7eee5;
    color: #746b60;
    padding: 7px 11px;
    font-size: 13px;
    font-weight: 800;
}

.detail-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.coral-btn,
.soft-btn {
    display: inline-block;
    border: 0;
    border-radius: 16px;
    padding: 12px 22px;
    font-weight: 900;
}

.coral-btn {
    color: #fff;
    background: var(--coral);
    box-shadow: 0 12px 28px rgba(236, 116, 87, .20);
}

.coral-btn:hover {
    color: #fff;
    background: var(--coral-dark);
}

.soft-btn {
    color: #4b4640;
    background: #fffaf4;
    border: 1px solid var(--line);
}

.full-btn,
.booking-form .full {
    width: 100%;
}

.booking-panel {
    margin-top: 26px;
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fffaf4;
}

.booking-panel h2 {
    font-size: 24px;
    font-weight: 900;
    margin-bottom: 16px;
}

.booking-form {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.booking-form label,
.review-form label {
    display: grid;
    gap: 8px;
    color: #4b4640;
    font-weight: 900;
}

.booking-form .full,
.review-form .full {
    grid-column: 1 / -1;
}

.booking-form input,
.booking-form textarea,
.review-form input,
.review-form select,
.review-form textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    padding: 13px 16px;
    outline: none;
    color: #2b2926;
    font-weight: 700;
}

.eyebrow {
    margin: 0 0 10px;
    color: var(--coral);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: .08em;
    text-transform: uppercase;
}

.review-section {
    padding: 30px;
}

.review-head {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 18px;
    margin-bottom: 20px;
}

.review-head h2 {
    font-size: 32px;
    margin: 0;
}

.review-summary {
    display: grid;
    justify-items: end;
}

.review-summary strong {
    color: var(--gold);
    font-size: 42px;
    line-height: 1;
    font-weight: 900;
}

.review-summary span {
    color: var(--muted);
    font-weight: 800;
}

.review-form {
    padding: 22px;
    border: 1px solid var(--line);
    border-radius: 24px;
    background: #fffaf4;
    margin-bottom: 20px;
}

.review-form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    margin-bottom: 16px;
}

.my-review-card {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #eef8f4;
    margin-bottom: 20px;
}

.my-review-card strong {
    color: var(--teal);
    font-weight: 900;
}

.my-review-card p {
    color: #4e4943;
    font-weight: 700;
    margin: 6px 0 0;
}

.review-list {
    display: grid;
    gap: 14px;
}

.review-list article {
    display: grid;
    grid-template-columns: 52px 1fr;
    gap: 14px;
    padding: 18px;
    border: 1px solid var(--line);
    border-radius: 20px;
    background: #fff;
}

.review-avatar {
    width: 52px;
    height: 52px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    background: #fff0e8;
    color: var(--coral);
    font-weight: 900;
    font-size: 20px;
}

.review-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.review-meta strong {
    font-weight: 900;
}

.review-meta span {
    color: var(--gold);
    font-weight: 900;
}

.review-list em {
    display: inline-block;
    margin: 8px 0;
    border-radius: 999px;
    background: #f7eee5;
    color: #746b60;
    padding: 5px 9px;
    font-size: 12px;
    font-style: normal;
    font-weight: 900;
}

.review-list p {
    color: #5f5a53;
    line-height: 1.7;
    font-weight: 700;
    margin-bottom: 8px;
}

.review-list small {
    color: var(--muted);
    font-weight: 700;
}

.empty-review {
    padding: 24px;
    border: 1px dashed var(--line);
    border-radius: 20px;
    background: rgba(255,250,244,.7);
    color: var(--muted);
    font-weight: 800;
    text-align: center;
}

.admin-review-page {
    padding: 40px 12px 72px;
}

.admin-title {
    margin-bottom: 22px;
}

.admin-title h1 {
    font-size: clamp(36px, 4vw, 54px);
}

.review-table-card {
    overflow-x: auto;
    background: #fff;
}

.review-table-card table {
    width: 100%;
    border-collapse: collapse;
    min-width: 980px;
}

.review-table-card th,
.review-table-card td {
    padding: 16px;
    border-bottom: 1px solid var(--line);
    vertical-align: middle;
}

.review-table-card th {
    background: #fff8ef;
    color: #5f5a53;
    font-size: 14px;
    font-weight: 900;
}

.review-table-card td p {
    color: var(--muted);
    margin: 3px 0 0;
    font-size: 13px;
    max-width: 320px;
}

.status {
    display: inline-block;
    border-radius: 999px;
    background: #eef8f4;
    color: var(--teal);
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
}

.status-form {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.status-form select {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffaf4;
    padding: 8px;
    font-weight: 800;
}

.status-form button {
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fffaf4;
    color: #4b4640;
    padding: 8px 12px;
    font-size: 13px;
    font-weight: 900;
}

@media (max-width: 980px) {
    .detail-card {
        grid-template-columns: 1fr;
    }

    .detail-image img {
        min-height: 320px;
    }
}

@media (max-width: 720px) {
    .detail-info,
    .review-section {
        padding: 24px;
    }

    .info-list,
    .booking-form,
    .review-form-grid {
        grid-template-columns: 1fr;
    }

    .review-head,
    .my-review-card,
    .status-form {
        align-items: flex-start;
        flex-direction: column;
    }

    .review-summary {
        justify-items: start;
    }

    .review-list article {
        grid-template-columns: 1fr;
    }
}
