:root {
    --bg: #f7f7f4;
    --surface: #ffffff;
    --ink: #12212e;
    --muted: #69747c;
    --line: #e6e2da;
    --brand-dark: #12212e;
    --accent: #e7c381;
    --accent-dark: #d7ad61;
    --accent-ink: #222222;
    --water: #2f7f98;
    --clay: #9f3124;
    --error: #b3483c;
    --shadow: 0 18px 45px rgba(18, 33, 46, 0.11);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, Helvetica, sans-serif;
    color: var(--ink);
    background:
        linear-gradient(180deg, rgba(18, 33, 46, 0.06), transparent 280px),
        var(--bg);
}

.page {
    width: min(100%, 520px);
    margin: 0 auto;
    padding: 28px 16px 40px;
}

.header {
    padding: 10px 2px 20px;
}

.header.compact {
    padding-bottom: 14px;
}

.site-logo {
    display: inline-flex;
    align-items: center;
    margin: 0 0 16px;
}

.site-logo.centered {
    justify-content: center;
}

.site-logo img {
    display: block;
    width: 82px;
    height: 82px;
    object-fit: contain;
    border-radius: 12px;
}

h1,
h2,
p {
    margin-top: 0;
}

h1 {
    margin-bottom: 10px;
    font-size: 36px;
    line-height: 1.08;
    letter-spacing: 0;
}

h2 {
    margin-bottom: 16px;
    font-size: 22px;
    line-height: 1.2;
}

.lead,
.description,
.notice {
    color: var(--muted);
    line-height: 1.5;
}

.services-grid {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.service-card {
    min-height: 78px;
    display: grid;
    grid-template-columns: 48px 1fr;
    gap: 14px;
    align-items: center;
    padding: 16px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: var(--surface);
    box-shadow: 0 10px 28px rgba(18, 33, 46, 0.08);
    text-decoration: none;
}

.service-card.active {
    color: #fff;
    border-color: var(--brand-dark);
    background: var(--brand-dark);
}

.service-card:hover {
    border-color: rgba(18, 33, 46, 0.28);
}

.service-card.soon {
    color: rgba(18, 33, 46, 0.72);
    background: rgba(255, 255, 255, 0.72);
}

.service-icon {
    width: 48px;
    height: 48px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    color: var(--accent-ink);
    background: var(--accent);
}

.service-icon svg {
    width: 25px;
    height: 25px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.8;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.service-card strong,
.service-card small {
    display: block;
}

.service-card strong {
    margin-bottom: 4px;
    font-size: 17px;
    line-height: 1.25;
}

.service-card small {
    color: inherit;
    line-height: 1.35;
    opacity: 0.76;
}

.back-link {
    display: inline-flex;
    margin-bottom: 16px;
    color: var(--muted);
    font-size: 14px;
    font-weight: 700;
    text-decoration: none;
}

.back-link:hover {
    color: var(--brand-dark);
}

.back-button {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 0 18px;
    padding: 14px 18px;
    border: 1px solid rgba(215, 173, 97, 0.72);
    border-radius: 9999px;
    color: var(--accent-ink);
    background: linear-gradient(180deg, #efcf8d, var(--accent));
    box-shadow: 0 10px 24px rgba(18, 33, 46, 0.08);
    font-weight: 700;
    text-align: center;
    text-decoration: none;
}

.back-button:hover {
    background: var(--accent-dark);
}

.service-detail-card h2 {
    margin-bottom: 12px;
}

.service-steps {
    display: grid;
    gap: 12px;
}

.service-step {
    display: grid;
    grid-template-columns: 38px 1fr;
    gap: 12px;
    align-items: center;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--line);
}

.service-step:last-child {
    padding-bottom: 0;
    border-bottom: 0;
}

.service-step span {
    width: 38px;
    height: 38px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    color: var(--accent-ink);
    background: var(--accent);
    font-size: 13px;
    font-weight: 700;
}

.service-step p {
    margin: 0;
    line-height: 1.4;
}

.booking-module-section {
    margin-bottom: 16px;
}

#znms-service-widget-module {
    min-height: 420px;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
    overflow: hidden;
}

.card {
    margin-bottom: 16px;
    padding: 20px;
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.product-card {
    display: grid;
    gap: 18px;
    padding: 0;
    overflow: hidden;
}

.product-card > :not(.product-photo) {
    margin-left: 20px;
    margin-right: 20px;
}

.product-card .form {
    margin-bottom: 20px;
}

.product-photo {
    display: block;
    width: 100%;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    background: var(--line);
}

.eyebrow {
    margin-bottom: 6px;
    color: var(--clay);
    font-size: 13px;
    font-weight: 700;
    text-transform: uppercase;
}

.price-row {
    display: flex;
    align-items: baseline;
    gap: 8px;
    padding: 14px 0;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.price-row span {
    font-size: 30px;
    font-weight: 700;
}

.price-row small {
    color: var(--muted);
}

.form {
    display: grid;
    gap: 10px;
}

label {
    color: var(--ink);
    font-size: 14px;
    font-weight: 700;
}

input,
select,
textarea {
    width: 100%;
    min-height: 48px;
    padding: 12px 13px;
    border: 1px solid var(--line);
    border-radius: 12px;
    color: var(--ink);
    background: #fff;
    font: inherit;
}

textarea {
    resize: vertical;
}

input[type="file"] {
    padding: 10px;
}

button,
.button-link {
    width: 100%;
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 8px;
    padding: 14px 18px;
    border: 0;
    border-radius: 9999px;
    color: var(--accent-ink);
    background: var(--accent);
    font: inherit;
    font-weight: 700;
    text-align: center;
    text-decoration: none;
    cursor: pointer;
}

button:hover,
.button-link:hover {
    background: var(--accent-dark);
}

.button-disabled,
.button-disabled:hover {
    color: rgba(18, 33, 46, 0.52);
    background: #e7e3dc;
    cursor: default;
}

.button-link.secondary {
    color: var(--ink);
    background: #ece8df;
}

.danger-button,
.danger-button:hover {
    color: #fff;
    background: var(--error);
}

.admin-actions {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
    gap: 10px;
    margin-bottom: 16px;
}

.admin-list {
    display: grid;
    gap: 12px;
}

.admin-item {
    display: grid;
    gap: 14px;
}

.admin-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    color: var(--muted);
    font-size: 14px;
}

.admin-image-preview {
    overflow: hidden;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fff;
}

.admin-image-preview img {
    display: block;
    width: 100%;
    max-height: 220px;
    object-fit: cover;
}

.checkbox-row {
    display: flex;
    align-items: center;
    gap: 10px;
}

.checkbox-row input {
    width: auto;
    min-height: auto;
}

.delete-form {
    margin-top: 12px;
}

.order-line,
.total-line {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    padding: 12px 0;
}

.order-line {
    border-bottom: 1px solid var(--line);
}

.muted {
    color: var(--muted);
}

.total-line {
    align-items: baseline;
    font-size: 18px;
}

.total-line strong {
    font-size: 24px;
}

.order-number {
    color: var(--muted);
}

.details {
    display: grid;
    gap: 10px;
    margin: 0 0 18px;
}

.details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--line);
}

dt {
    color: var(--muted);
}

dd {
    margin: 0;
    font-weight: 700;
    text-align: right;
}

.error {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: var(--error);
    background: #fff2ef;
}

.success-note {
    margin-bottom: 12px;
    padding: 10px 12px;
    border-radius: 8px;
    color: #275f40;
    background: #eff7f1;
}

.success-page {
    display: grid;
    min-height: 100vh;
    align-items: center;
}

.success-card {
    text-align: center;
}

.success-mark {
    width: 58px;
    height: 58px;
    display: grid;
    place-items: center;
    margin: 10px auto 16px;
    border-radius: 50%;
    color: #fff;
    color: var(--accent-ink);
    background: var(--accent);
    font-size: 32px;
    font-weight: 700;
}

.summary-box {
    margin: 18px 0;
    padding: 4px 0;
    text-align: left;
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
}

.qr-page {
    display: grid;
    min-height: 100vh;
    align-items: center;
}

.qr-card {
    text-align: center;
}

.qr-frame {
    width: min(100%, 320px);
    margin: 18px auto;
    padding: 14px;
    border: 1px solid var(--line);
    border-radius: 8px;
    background: #fff;
}

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

.qr-url {
    margin-bottom: 14px;
    color: var(--accent-dark);
    font-weight: 700;
    overflow-wrap: anywhere;
}

@media (min-width: 720px) {
    .page {
        padding-top: 48px;
    }
}

.booking-fallback-card {
    margin-top: 16px;
}
