:root {
    --bg: #faf9f7;
    --soft: #f4f1ee;
    --text: #171717;
    --muted: #746f6b;
    --line: #e7e1dc;
    --accent: #c5a07c;
    --accent-dark: #a77f5b;
    --white: #ffffff;
    --shadow: 0 18px 45px rgba(0,0,0,.10);
    --radius: 16px;
}
* { box-sizing: border-box; }
body {
    margin: 0;
    background: var(--bg);
    color: var(--text);
    font-family: Inter, Arial, sans-serif;
    line-height: 1.6;
}
h1,h2,h3 {
    font-family: Georgia, 'Times New Roman', serif;
    line-height: 1.1;
}
a { color: inherit; text-decoration: none; }
.container { width: min(1120px, calc(100% - 40px)); margin: 0 auto; }
.site-header {
    background: var(--white);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 0;
    z-index: 20;
}
.nav-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-height: 72px;
    gap: 24px;
}
.logo {
    font-family: Georgia, 'Times New Roman', serif;
    color: var(--accent);
    font-weight: 700;
    font-size: 24px;
}
.nav {
    display: flex;
    gap: 30px;
    align-items: center;
    font-size: 14px;
}
.nav a {
    padding: 26px 0 22px;
    border-bottom: 2px solid transparent;
}
.nav a.active, .nav a:hover { color: var(--accent-dark); border-color: var(--accent); }
.btn {
    border: 0;
    border-radius: 9px;
    padding: 12px 24px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}
.btn-primary { background: var(--accent); color: #111; }
.btn-light { background: var(--white); color: #111; }
.btn-full { width: 100%; }
.hero {
    min-height: 620px;
    background: linear-gradient(rgba(0,0,0,.52), rgba(0,0,0,.52)), url('../uploads/hero.jpg') center/cover no-repeat;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
}
.hero h1 { font-size: clamp(42px, 6vw, 72px); margin: 0 0 12px; }
.hero p { font-size: 21px; max-width: 680px; margin: 0 auto 24px; }
.page-hero {
    padding: 90px 0 80px;
    background: var(--soft);
    text-align: center;
}
.page-hero h1 { font-size: clamp(40px, 5vw, 60px); margin: 0 0 18px; }
.page-hero p { color: var(--muted); font-size: 20px; margin: 0 auto; max-width: 720px; }
.section { padding: 80px 0; }
.center { text-align: center; }
.narrow { max-width: 760px; margin: 0 auto; }
.mission-icons {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 70px;
    margin-top: 58px;
}
.icon-bubble {
    margin: 0 auto 18px;
    width: 56px;
    height: 56px;
    border-radius: 999px;
    background: var(--soft);
    display: grid;
    place-items: center;
    color: var(--accent);
    font-size: 24px;
}
.cta-band {
    background: var(--accent);
    padding: 80px 0;
    text-align: center;
}
.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
}
.card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 8px 25px rgba(0,0,0,.04);
}
.service-card h3 { margin-top: 0; }
.price { color: var(--accent-dark); font-weight: 700; }
.form-card {
    background: var(--white);
    max-width: 640px;
    margin: 0 auto;
    padding: 34px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
}
.form-row { margin-bottom: 22px; }
label { display: block; font-weight: 700; margin-bottom: 8px; font-size: 14px; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    border-radius: 10px;
    padding: 13px 14px;
    font: inherit;
    background: var(--white);
}
textarea { min-height: 130px; resize: vertical; }
.alert {
    padding: 14px 16px;
    border-radius: 12px;
    margin-bottom: 20px;
}
.alert-success { background: #ecfdf5; color: #065f46; }
.alert-error { background: #fef2f2; color: #991b1b; }
.filter-row {
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 30px 0;
    border-bottom: 1px solid var(--line);
}
.filter-button {
    border: 1px solid var(--line);
    background: var(--white);
    border-radius: 8px;
    padding: 9px 16px;
    cursor: pointer;
}
.filter-button.active { background: var(--accent); border-color: var(--accent); }
.gallery-grid {
    columns: 3 260px;
    column-gap: 22px;
}
.gallery-item {
    break-inside: avoid;
    margin-bottom: 22px;
}
.gallery-item img {
    width: 100%;
    display: block;
    border-radius: 12px;
}
.review-stars { color: var(--accent-dark); letter-spacing: 2px; }
.footer {
    background: var(--soft);
    border-top: 1px solid var(--line);
    padding: 56px 0 26px;
}
.footer-grid {
    display: grid;
    grid-template-columns: 1.4fr 1fr 1.2fr 1.4fr;
    gap: 60px;
}
.footer h3 {
    color: var(--accent);
    font-size: 24px;
    margin-top: 0;
}
.footer h4 { margin-top: 0; }
.footer p, .footer a {
    color: var(--muted);
    display: block;
    margin: 8px 0;
}
.socials { display: flex; gap: 18px; }
.footer-bottom {
    border-top: 1px solid var(--line);
    margin-top: 42px;
    padding-top: 24px;
    text-align: center;
    color: var(--muted);
}
.footer-bottom p { margin: 5px 0; }
.footer-bottom a { display: inline-block; margin: 0 8px; }
.mobile-menu-button { display: none; }

.admin-shell {
    display: grid;
    grid-template-columns: 240px 1fr;
    min-height: 100vh;
}
.admin-sidebar {
    background: #171717;
    color: #fff;
    padding: 28px;
}
.admin-sidebar a {
    display: block;
    padding: 10px 0;
    color: #eee;
}
.admin-main { padding: 32px; }
.admin-table {
    width: 100%;
    border-collapse: collapse;
    background: #fff;
}
.admin-table th, .admin-table td {
    border-bottom: 1px solid var(--line);
    padding: 12px;
    text-align: left;
}
.admin-actions { display:flex; gap:10px; flex-wrap:wrap; margin: 20px 0; }



/* Homepage completion additions */

.hero {
    min-height: 620px;
    background:
        linear-gradient(rgba(0,0,0,.58), rgba(0,0,0,.58)),
        url('../uploads/hero.jpg') center/cover no-repeat;
    display: grid;
    place-items: center;
    text-align: center;
    color: var(--white);
}

.hero-content {
    max-width: 860px;
}

.eyebrow,
.section-kicker,
.service-category {
    display: inline-block;
    color: var(--accent);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: .08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.hero-actions {
    display: flex;
    justify-content: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 24px;
}

.btn-outline-light {
    color: var(--white);
    border: 1px solid rgba(255,255,255,.65);
    background: rgba(255,255,255,.08);
}

.hero-note {
    margin: 28px auto 0;
    max-width: 520px;
    display: flex;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
    color: rgba(255,255,255,.86);
    font-size: 14px;
}

.section-soft {
    background: var(--soft);
}

.section-header {
    margin-bottom: 34px;
}

.section-header.split {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
}

.section-header h2 {
    margin: 0;
    font-size: clamp(32px, 4vw, 46px);
    max-width: 700px;
}

.text-link {
    color: var(--accent-dark);
    font-weight: 800;
    white-space: nowrap;
}

.service-meta {
    display: grid;
    gap: 10px;
    margin: 18px 0;
}

.badge {
    display: inline-flex;
    width: fit-content;
    background: #f4eee8;
    color: var(--accent-dark);
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 800;
}

.btn-small {
    padding: 10px 16px;
    font-size: 14px;
}

.policy-panel {
    display: grid;
    grid-template-columns: 1.2fr .8fr;
    gap: 42px;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 42px;
    box-shadow: 0 8px 25px rgba(0,0,0,.04);
}

.policy-panel h2 {
    margin-top: 0;
}

.policy-list {
    border-left: 1px solid var(--line);
    padding-left: 34px;
}

/* Reduce footer font sizes */
.footer {
    font-size: 13px;
}

.footer h3 {
    font-size: 20px;
}

.footer h4 {
    font-size: 14px;
}

.footer p,
.footer a {
    font-size: 13px;
    line-height: 1.5;
}

.footer-bottom {
    font-size: 12px;
}

.footer-bottom p,
.footer-bottom a {
    font-size: 12px;
}

.footer-contact-item {
    display: grid !important;
    grid-template-columns: 18px minmax(0, 1fr);
    align-items: start;
    gap: 8px;
    margin: 8px 0;
}

.footer-contact-item .footer-icon {
    color: var(--accent);
    line-height: 1.5;
    text-align: center;
    font-size: 13px;
}

.footer-contact-item a,
.footer-contact-item span:last-child {
    display: inline;
    overflow-wrap: anywhere;
    word-break: normal;
}

.footer-contact-item a {
    margin: 0;
}



/* Option 3 Services Page: visual category cards + organized full menu */

.services-hero {
    padding-bottom: 72px;
}

.services-intro {
    padding-top: 54px;
}

.notice-card {
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 28px;
    align-items: center;
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 28px;
    box-shadow: 0 10px 30px rgba(0,0,0,.045);
    margin-bottom: 62px;
}

.notice-card h2 {
    margin: 0 0 10px;
    font-size: 28px;
}

.notice-card p {
    color: var(--muted);
    margin: 0;
}

.service-category-heading {
    margin-bottom: 28px;
}

.service-feature-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 18px;
}

.service-feature-card {
    min-height: 280px;
    border-radius: 18px;
    overflow: hidden;
    position: relative;
    background: #2b211b;
    display: flex;
    align-items: end;
    box-shadow: 0 16px 40px rgba(0,0,0,.12);
    transition: transform .2s ease, box-shadow .2s ease;
}

.service-feature-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 50px rgba(0,0,0,.16);
}

.service-feature-card img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.service-feature-card::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,.76), rgba(0,0,0,.22), rgba(0,0,0,.05));
    z-index: 1;
}

.service-feature-card.no-image {
    background:
        radial-gradient(circle at top right, rgba(197,160,124,.42), transparent 35%),
        linear-gradient(135deg, #2a211c, #7b5d46);
}

.service-feature-overlay {
    position: relative;
    z-index: 2;
    padding: 22px;
    color: #fff;
}

.service-feature-overlay span {
    display: inline-flex;
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .06em;
    color: #ead5c2;
    margin-bottom: 8px;
}

.service-feature-overlay h3 {
    margin: 0 0 8px;
    font-size: 25px;
}

.service-feature-overlay p {
    margin: 0;
    color: rgba(255,255,255,.84);
    font-size: 13px;
    line-height: 1.45;
}

.services-filter-bar {
    background: var(--white);
    border-top: 1px solid var(--line);
    border-bottom: 1px solid var(--line);
    position: sticky;
    top: 72px;
    z-index: 10;
}

.services-filter-bar .container {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-top: 14px;
    padding-bottom: 14px;
}

.services-filter-bar .filter-button {
    white-space: nowrap;
}

.section-subtitle {
    color: var(--muted);
    max-width: 680px;
    margin: 10px auto 0;
}

.service-sections {
    display: grid;
    gap: 70px;
}

.service-category-section {
    scroll-margin-top: 150px;
}

.service-category-title {
    display: flex;
    justify-content: space-between;
    gap: 26px;
    align-items: end;
    margin-bottom: 22px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--line);
}

.service-category-title h2 {
    margin: 0 0 8px;
    font-size: clamp(30px, 4vw, 44px);
}

.service-category-title p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
}

.service-list-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.service-menu-card {
    background: var(--white);
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 8px 24px rgba(0,0,0,.04);
    display: flex;
    flex-direction: column;
}

.service-card-top {
    display: grid;
    gap: 10px;
    margin-bottom: 10px;
}

.service-menu-card h3 {
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 22px;
    margin: 0;
}

.service-menu-card p {
    color: var(--muted);
    font-size: 14px;
    margin: 0 0 18px;
}

.service-price-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-top: auto;
    margin-bottom: 18px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
}

.service-price-row .label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 3px;
}

.service-price-row strong {
    color: var(--accent-dark);
    font-size: 15px;
}

@media (max-width: 1100px) {
    .service-feature-grid {
        grid-template-columns: repeat(3, 1fr);
    }

    .service-list-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

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

    .service-feature-grid,
    .service-list-grid {
        grid-template-columns: 1fr;
    }

    .service-feature-card {
        min-height: 230px;
    }

    .services-filter-bar {
        top: 72px;
    }
}

/* Category heading thumbnails on services page */
.service-category-title {
    display: grid;
    grid-template-columns: 92px 1fr;
    gap: 26px;
    align-items: center;
    margin-bottom: 22px;
    padding-bottom: 22px;
    border-bottom: 1px solid var(--line);
}

.service-category-thumb {
    width: 92px;
    height: 120px;
    border-radius: 18px;
    overflow: hidden;
    background: var(--accent);
    box-shadow: 0 12px 28px rgba(0,0,0,.12);
}

.service-category-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.service-category-thumb-placeholder {
    display: grid;
    place-items: center;
    color: #fff;
    font-family: Georgia, 'Times New Roman', serif;
    font-size: 42px;
    font-weight: 700;
    background:
        radial-gradient(circle at top right, rgba(255,255,255,.28), transparent 40%),
        linear-gradient(135deg, var(--accent), var(--accent-dark));
}

.service-category-title-text h2 {
    margin: 0 0 8px;
    font-size: clamp(34px, 5vw, 58px);
}

.service-category-title-text p {
    margin: 0;
    color: var(--muted);
    max-width: 760px;
    font-size: 18px;
}

@media (max-width: 700px) {
    .service-category-title {
        grid-template-columns: 72px 1fr;
        gap: 16px;
    }

    .service-category-thumb {
        width: 72px;
        height: 92px;
        border-radius: 14px;
    }

    .service-category-title-text h2 {
        font-size: 34px;
    }

    .service-category-title-text p {
        font-size: 15px;
    }
}


@media (max-width: 800px) {
    .section-header.split,
    .policy-panel {
        grid-template-columns: 1fr;
        display: grid;
    }

    .policy-list {
        border-left: 0;
        border-top: 1px solid var(--line);
        padding-left: 0;
        padding-top: 24px;
    }
}



@media (max-width: 800px) {
    .mobile-menu-button { display: block; }
    .nav, .nav-cta { display: none; }
    .nav.open {
        display: flex;
        position: absolute;
        left: 0;
        right: 0;
        top: 72px;
        background: #fff;
        flex-direction: column;
        padding: 18px;
        gap: 8px;
        border-bottom: 1px solid var(--line);
    }
    .nav a { padding: 10px; }
    .mission-icons, .card-grid, .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .hero { min-height: 520px; }
    .admin-shell { grid-template-columns: 1fr; }
}

/* Booking page service detail box */
.booking-service-detail {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.booking-service-detail > div {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
}

.booking-service-detail .detail-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.booking-service-detail strong {
    color: var(--accent-dark);
    font-size: 15px;
}

.form-help {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

@media (max-width: 700px) {
    .booking-service-detail {
        grid-template-columns: 1fr;
    }
}

/* Weekly availability admin + booking page */

.availability-table input[type="time"],
.availability-table select {
    max-width: 180px;
}

.admin-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 700;
}

.admin-checkbox input {
    width: auto;
}

.booking-service-detail {
    margin-top: 14px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    background: var(--soft);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 14px;
}

.booking-service-detail > div {
    background: var(--white);
    border-radius: 12px;
    padding: 12px;
}

.booking-service-detail .detail-label {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-bottom: 4px;
}

.booking-service-detail strong {
    color: var(--accent-dark);
    font-size: 15px;
}

.form-help {
    display: block;
    color: var(--muted);
    font-size: 12px;
    margin-top: 8px;
}

.flatpickr-day.flatpickr-disabled,
.flatpickr-day.flatpickr-disabled:hover {
    color: rgba(57,57,57,.25) !important;
    background: #f3f0ec !important;
    cursor: not-allowed;
}

@media (max-width: 700px) {
    .booking-service-detail {
        grid-template-columns: 1fr;
    }

    .availability-table {
        font-size: 13px;
    }

    .availability-table th,
    .availability-table td {
        padding: 8px;
    }
}

/* Polished admin panel styles */

.admin-body {
    background: #f7f4f1;
}

.admin-shell-polished {
    display: grid;
    grid-template-columns: 260px 1fr;
    min-height: 100vh;
}

.admin-sidebar-polished {
    background: #201713;
    color: #fff;
    padding: 22px;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
    margin-bottom: 28px;
}

.admin-brand:hover {
    color: #fff;
}

.admin-brand-mark {
    width: 44px;
    height: 44px;
    display: grid;
    place-items: center;
    border-radius: 14px;
    background: linear-gradient(135deg, #c5a07c, #8b6548);
    color: #fff;
    font-size: 13px;
    font-weight: 900;
}

.admin-brand strong,
.admin-brand small {
    display: block;
}

.admin-brand small {
    color: rgba(255,255,255,.62);
    font-size: 12px;
    margin-top: 2px;
}

.admin-nav {
    display: grid;
    gap: 6px;
}

.admin-nav a {
    display: flex;
    align-items: center;
    gap: 10px;
    color: rgba(255,255,255,.76);
    padding: 11px 12px;
    border-radius: 12px;
    font-weight: 700;
}

.admin-nav a:hover,
.admin-nav a.active {
    color: #fff;
    background: rgba(197,160,124,.22);
}

.admin-nav span {
    width: 22px;
    text-align: center;
}

.admin-sidebar-footer {
    margin-top: 34px;
    padding-top: 18px;
    border-top: 1px solid rgba(255,255,255,.12);
    display: grid;
    gap: 10px;
}

.admin-sidebar-footer a {
    color: rgba(255,255,255,.72);
    font-size: 14px;
}

.admin-main-polished {
    padding: 26px;
}

.admin-topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 18px;
    background: #fff;
    border: 1px solid #ebe3dc;
    border-radius: 20px;
    padding: 14px 18px;
    margin-bottom: 26px;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.admin-topbar-actions {
    display: flex;
    gap: 10px;
}

.admin-kicker {
    color: #a77b59;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .08em;
    font-weight: 900;
}

.admin-page-heading {
    display: flex;
    justify-content: space-between;
    align-items: end;
    gap: 24px;
    margin-bottom: 24px;
}

.admin-page-heading h1 {
    margin: 5px 0 6px;
    font-size: clamp(34px, 4vw, 52px);
}

.admin-page-heading p {
    margin: 0;
    color: #7c706b;
    max-width: 760px;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 22px;
}

.admin-stat-card,
.admin-card,
.admin-filter-card {
    background: #fff;
    border: 1px solid #ebe3dc;
    border-radius: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.admin-stat-card {
    padding: 22px;
}

.admin-stat-card span,
.admin-stat-card small {
    display: block;
    color: #7c706b;
}

.admin-stat-card strong {
    display: block;
    font-size: 38px;
    line-height: 1;
    margin: 10px 0;
    color: #1f1713;
}

.admin-card {
    padding: 24px;
    margin-bottom: 24px;
}

.admin-card-header {
    display: flex;
    justify-content: space-between;
    gap: 22px;
    align-items: start;
    margin-bottom: 20px;
}

.admin-card-header h2 {
    margin: 0 0 5px;
}

.admin-card-header p {
    margin: 0;
    color: #7c706b;
}

.admin-two-column {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 22px;
}

.admin-two-column.wide-left {
    grid-template-columns: 1.35fr .65fr;
}

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

.admin-list-item {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 16px;
    align-items: center;
    background: #faf8f6;
    border: 1px solid #eee6df;
    border-radius: 15px;
    padding: 14px;
}

.admin-list.compact .admin-list-item {
    grid-template-columns: 1fr auto;
}

.admin-list-item strong,
.admin-list-item span {
    display: block;
}

.admin-list-item span,
.admin-list-item small,
.muted {
    color: #7c706b;
}

.admin-badge {
    display: inline-flex;
    width: fit-content;
    border-radius: 999px;
    padding: 5px 10px;
    font-size: 12px;
    font-weight: 900;
    text-transform: capitalize;
    background: #eee6df;
    color: #6a5242;
}

.admin-badge.paid,
.admin-badge.confirmed {
    background: #e8f6ed;
    color: #247246;
}

.admin-badge.pending,
.admin-badge.pending_payment {
    background: #fff3d8;
    color: #8a5a05;
}

.admin-badge.cancelled,
.admin-badge.failed {
    background: #fde7e7;
    color: #9b2f2f;
}

.admin-empty {
    background: #faf8f6;
    border: 1px dashed #d9c9bd;
    border-radius: 16px;
    color: #7c706b;
    padding: 28px;
    text-align: center;
}

.admin-filter-card {
    padding: 16px;
    display: grid;
    grid-template-columns: 1.4fr repeat(4, minmax(120px, .7fr)) auto auto;
    gap: 10px;
    margin-bottom: 22px;
}

.admin-filter-card input,
.admin-filter-card select {
    width: 100%;
}

.admin-table-wrap {
    overflow-x: auto;
}

.polished-table th {
    background: #f6f1ed;
    color: #6a5242;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: .04em;
}

.polished-table td,
.polished-table th {
    vertical-align: top;
}

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

.admin-check-row {
    display: flex;
    flex-wrap: wrap;
    gap: 18px;
    margin: 14px 0 20px;
}

.admin-check-row label,
.switch-row {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
}

.admin-check-row input,
.switch-row input {
    width: auto;
}

.admin-note,
.admin-note-list p {
    background: #faf8f6;
    border: 1px solid #eee6df;
    border-radius: 14px;
    padding: 14px;
    color: #6f625d;
}

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

.admin-note-list p {
    margin: 0;
}

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

.availability-day-card {
    border: 1px solid #eee6df;
    border-radius: 18px;
    padding: 18px;
    background: #faf8f6;
}

.availability-day-card.open {
    background: #fff;
    border-color: #d8c2b0;
}

.availability-day-card.closed {
    opacity: .76;
}

.availability-day-top {
    display: flex;
    justify-content: space-between;
    gap: 14px;
    margin-bottom: 14px;
}

.availability-day-top h3 {
    margin: 0;
}

.availability-time-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
}

.availability-time-row label,
.availability-interval {
    display: grid;
    gap: 6px;
    color: #7c706b;
    font-size: 13px;
    font-weight: 800;
}

.availability-interval {
    margin-top: 12px;
}

.admin-chip-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.admin-chip-list span {
    background: #f6f1ed;
    color: #7b5d46;
    border-radius: 999px;
    padding: 8px 12px;
    font-weight: 800;
    font-size: 13px;
}

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

.admin-gallery-card {
    border: 1px solid #eee6df;
    border-radius: 18px;
    overflow: hidden;
    background: #fff;
}

.admin-gallery-card img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.admin-gallery-card div {
    padding: 14px;
}

.admin-gallery-card strong,
.admin-gallery-card p {
    display: block;
    margin: 0;
}

.admin-gallery-card p {
    color: #7c706b;
    margin-top: 4px;
    font-size: 14px;
}

.admin-review-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.admin-review-card {
    border: 1px solid #eee6df;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
}

.admin-review-card div {
    display: flex;
    justify-content: space-between;
    gap: 12px;
}

.admin-review-card span {
    color: #c49a6c;
}

.admin-review-card p {
    color: #625650;
}

.admin-review-card small {
    display: block;
    color: #7c706b;
    margin-bottom: 12px;
}

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

.admin-message-card {
    border: 1px solid #eee6df;
    border-radius: 18px;
    padding: 18px;
    background: #fff;
}

.admin-message-top {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    border-bottom: 1px solid #eee6df;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.admin-message-top strong,
.admin-message-top span,
.admin-message-top a {
    display: block;
}

.admin-message-top span {
    color: #7c706b;
    font-size: 13px;
}

.settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 22px;
}

.admin-sticky-save {
    position: sticky;
    bottom: 16px;
    background: rgba(255,255,255,.86);
    backdrop-filter: blur(12px);
    border: 1px solid #ebe3dc;
    border-radius: 18px;
    padding: 14px;
    text-align: right;
    box-shadow: 0 10px 30px rgba(0,0,0,.08);
}

.btn-small {
    padding: 9px 14px;
    font-size: 13px;
}

@media (max-width: 1100px) {
    .admin-shell-polished {
        grid-template-columns: 1fr;
    }

    .admin-sidebar-polished {
        height: auto;
        position: relative;
    }

    .admin-nav {
        grid-template-columns: repeat(4, 1fr);
    }

    .admin-sidebar-footer {
        display: flex;
    }

    .admin-stats-grid,
    .admin-gallery-grid,
    .admin-review-grid,
    .settings-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-filter-card {
        grid-template-columns: repeat(2, 1fr);
    }

    .admin-two-column,
    .admin-two-column.wide-left {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .admin-main-polished {
        padding: 16px;
    }

    .admin-topbar,
    .admin-page-heading,
    .admin-card-header,
    .admin-message-top {
        display: grid;
    }

    .admin-nav,
    .admin-stats-grid,
    .availability-grid,
    .availability-time-row,
    .admin-form-grid,
    .admin-gallery-grid,
    .admin-review-grid,
    .settings-grid,
    .admin-filter-card {
        grid-template-columns: 1fr;
    }
}

/* Dashboard table + compact availability refinements */

.upcoming-table td,
.upcoming-table th {
    white-space: normal;
}

.upcoming-table td:nth-child(1) {
    min-width: 130px;
}

.upcoming-table td:nth-child(2) {
    min-width: 140px;
}

.upcoming-table td:nth-child(3) {
    min-width: 170px;
}

.upcoming-table td:nth-child(7) {
    min-width: 190px;
}

.availability-card {
    max-width: 1080px;
}

.availability-table-compact th,
.availability-table-compact td {
    vertical-align: middle;
}

.availability-table-compact tr.day-closed {
    background: #faf8f6;
    opacity: .82;
}

.admin-time-input {
    width: 135px !important;
    max-width: 135px !important;
    min-width: 120px;
}

.admin-interval-select {
    width: 180px !important;
    max-width: 180px !important;
}

.admin-toggle-label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-weight: 800;
    color: #6a5242;
    white-space: nowrap;
}

.admin-toggle-label input {
    width: auto !important;
}

.availability-note {
    margin-top: 18px;
}

/* Mobile-friendly stacked table cards */
@media (max-width: 760px) {
    .upcoming-table-wrap,
    .availability-card .admin-table-wrap {
        overflow: visible;
    }

    .upcoming-table,
    .upcoming-table thead,
    .upcoming-table tbody,
    .upcoming-table th,
    .upcoming-table td,
    .upcoming-table tr,
    .availability-table-compact,
    .availability-table-compact thead,
    .availability-table-compact tbody,
    .availability-table-compact th,
    .availability-table-compact td,
    .availability-table-compact tr {
        display: block;
        width: 100%;
    }

    .upcoming-table thead,
    .availability-table-compact thead {
        display: none;
    }

    .upcoming-table tr,
    .availability-table-compact tr {
        background: #fff;
        border: 1px solid #eee6df;
        border-radius: 16px;
        padding: 12px;
        margin-bottom: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,.035);
    }

    .availability-table-compact tr.day-closed {
        background: #faf8f6;
    }

    .upcoming-table td,
    .availability-table-compact td {
        border: 0 !important;
        display: grid;
        grid-template-columns: 120px 1fr;
        gap: 12px;
        align-items: center;
        padding: 8px 4px !important;
    }

    .upcoming-table td::before,
    .availability-table-compact td::before {
        content: attr(data-label);
        color: #7c706b;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .04em;
    }

    .admin-time-input,
    .admin-interval-select {
        width: 100% !important;
        max-width: 100% !important;
    }
}

@media (max-width: 460px) {
    .upcoming-table td,
    .availability-table-compact td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Friendlier admin services form */

.service-editor-card {
    overflow: hidden;
}

.service-editor-header {
    display: flex;
    justify-content: space-between;
    gap: 24px;
    align-items: flex-start;
    padding-bottom: 20px;
    border-bottom: 1px solid #eee6df;
    margin-bottom: 22px;
}

.service-editor-header h2 {
    margin: 5px 0 6px;
    font-size: clamp(28px, 4vw, 42px);
}

.service-editor-header p {
    margin: 0;
    color: #7c706b;
}

.service-editor-pill {
    background: #f6f1ed;
    color: #7b5d46;
    border: 1px solid #eaded4;
    border-radius: 999px;
    padding: 9px 14px;
    font-size: 13px;
    font-weight: 900;
    white-space: nowrap;
}

.friendly-service-form {
    display: grid;
    gap: 24px;
}

.form-section {
    background: #fbf8f5;
    border: 1px solid #eee6df;
    border-radius: 18px;
    padding: 20px;
}

.form-section-title {
    display: flex;
    justify-content: space-between;
    gap: 18px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.form-section-title h3 {
    margin: 0;
    font-size: 20px;
}

.form-section-title p {
    margin: 0;
    color: #7c706b;
    font-size: 14px;
    max-width: 520px;
}

.friendly-form-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 16px;
}

.friendly-form-grid .form-row {
    margin: 0;
}

.friendly-form-grid .span-2 {
    grid-column: span 2;
}

.friendly-form-grid .span-4 {
    grid-column: span 4;
}

.friendly-service-form label {
    color: #4b3a31;
    font-size: 13px;
    font-weight: 900;
    margin-bottom: 7px;
}

.friendly-service-form input,
.friendly-service-form select,
.friendly-service-form textarea {
    background: #fff;
    border: 1px solid #e3d8cf;
    border-radius: 13px;
    padding: 12px 13px;
    box-shadow: 0 3px 10px rgba(0,0,0,.025);
}

.friendly-service-form input:focus,
.friendly-service-form select:focus,
.friendly-service-form textarea:focus {
    outline: none;
    border-color: #c5a07c;
    box-shadow: 0 0 0 3px rgba(197,160,124,.18);
}

.friendly-service-form small {
    display: block;
    color: #8a7c75;
    font-size: 12px;
    margin-top: 6px;
}

.input-prefix,
.input-suffix {
    display: grid;
    align-items: center;
    background: #fff;
    border: 1px solid #e3d8cf;
    border-radius: 13px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0,0,0,.025);
}

.input-prefix {
    grid-template-columns: 38px 1fr;
}

.input-suffix {
    grid-template-columns: 1fr 52px;
}

.input-prefix span,
.input-suffix span {
    display: grid;
    place-items: center;
    color: #7b5d46;
    background: #f6f1ed;
    height: 100%;
    font-weight: 900;
}

.input-prefix input,
.input-suffix input {
    border: 0 !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

.compact-section {
    padding: 16px;
}

.service-toggle-row {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.friendly-toggle {
    display: flex !important;
    gap: 12px;
    align-items: flex-start;
    background: #fff;
    border: 1px solid #e3d8cf;
    border-radius: 16px;
    padding: 15px;
    margin: 0 !important;
    cursor: pointer;
}

.friendly-toggle input {
    width: auto !important;
    margin-top: 3px;
    box-shadow: none;
}

.friendly-toggle strong,
.friendly-toggle small {
    display: block;
}

.friendly-toggle strong {
    color: #2b211b;
}

.service-form-actions {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
    justify-content: flex-end;
    padding-top: 4px;
}

.services-table td:nth-child(1) {
    min-width: 220px;
}

.services-table td:nth-child(2) {
    min-width: 160px;
}

/* Mobile-friendly services editor */
@media (max-width: 1000px) {
    .friendly-form-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .friendly-form-grid .span-2,
    .friendly-form-grid .span-4 {
        grid-column: span 2;
    }
}

@media (max-width: 720px) {
    .service-editor-header,
    .form-section-title {
        display: grid;
    }

    .friendly-form-grid,
    .service-toggle-row {
        grid-template-columns: 1fr;
    }

    .friendly-form-grid .span-2,
    .friendly-form-grid .span-4 {
        grid-column: span 1;
    }

    .service-form-actions {
        display: grid;
        justify-content: stretch;
    }

    .service-form-actions .btn {
        width: 100%;
        text-align: center;
    }

    .services-table,
    .services-table thead,
    .services-table tbody,
    .services-table th,
    .services-table td,
    .services-table tr {
        display: block;
        width: 100%;
    }

    .services-table thead {
        display: none;
    }

    .services-table tr {
        background: #fff;
        border: 1px solid #eee6df;
        border-radius: 16px;
        padding: 12px;
        margin-bottom: 12px;
        box-shadow: 0 8px 20px rgba(0,0,0,.035);
    }

    .services-table td {
        border: 0 !important;
        display: grid;
        grid-template-columns: 110px 1fr;
        gap: 10px;
        align-items: center;
        padding: 8px 4px !important;
        min-width: 0 !important;
    }

    .services-table td::before {
        content: attr(data-label);
        color: #7c706b;
        font-size: 12px;
        font-weight: 900;
        text-transform: uppercase;
        letter-spacing: .04em;
    }
}

@media (max-width: 440px) {
    .form-section {
        padding: 16px;
    }

    .services-table td {
        grid-template-columns: 1fr;
        gap: 4px;
    }
}

/* Editable admin gallery refinement */

.gallery-upload-card {
    overflow: hidden;
}

.gallery-upload-panel {
    display: grid;
    grid-template-columns: .9fr 1.1fr;
    gap: 26px;
    align-items: stretch;
}

.gallery-upload-copy {
    background:
        radial-gradient(circle at top right, rgba(197,160,124,.28), transparent 35%),
        linear-gradient(135deg, #2a211c, #7b5d46);
    color: #fff;
    border-radius: 22px;
    padding: 28px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.gallery-upload-copy .admin-kicker,
.gallery-upload-copy p {
    color: rgba(255,255,255,.78);
}

.gallery-upload-copy h2 {
    color: #fff;
    font-size: clamp(30px, 4vw, 46px);
    margin: 8px 0 12px;
}

.gallery-upload-copy .admin-chip-list span {
    background: rgba(255,255,255,.14);
    color: #fff;
    border: 1px solid rgba(255,255,255,.18);
}

.gallery-upload-form {
    display: grid;
    gap: 16px;
    background: #fbf8f5;
    border: 1px solid #eee6df;
    border-radius: 22px;
    padding: 22px;
}

.pretty-upload-box {
    display: grid !important;
    place-items: center;
    text-align: center;
    min-height: 190px;
    border: 2px dashed #d8c2b0;
    border-radius: 20px;
    background: #fff;
    cursor: pointer;
    transition: .2s ease;
    padding: 24px;
}

.pretty-upload-box:hover {
    border-color: #c5a07c;
    background: #fffaf6;
}

.pretty-upload-box input {
    display: none;
}

.pretty-upload-box .upload-icon {
    width: 54px;
    height: 54px;
    display: grid;
    place-items: center;
    border-radius: 18px;
    background: #f6f1ed;
    color: #9a7658;
    font-size: 28px;
    margin-bottom: 12px;
}

.pretty-upload-box strong,
.pretty-upload-box small {
    display: block;
}

.pretty-upload-box small {
    color: #7c706b;
    margin-top: 4px;
}

.gallery-form-grid {
    display: grid;
    grid-template-columns: 1fr 120px;
    gap: 14px;
}

.gallery-form-grid .span-2 {
    grid-column: span 2;
}

.gallery-active-toggle {
    margin: 0 !important;
}

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

.editable-gallery-card {
    background: #fff;
    border: 1px solid #eee6df;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,.035);
}

.editable-gallery-preview {
    position: relative;
    background: #f6f1ed;
}

.editable-gallery-preview img {
    width: 100%;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    display: block;
}

.editable-gallery-preview .admin-badge {
    position: absolute;
    top: 12px;
    left: 12px;
}

.editable-gallery-form {
    padding: 16px;
    display: grid;
    gap: 13px;
    border-bottom: 1px solid #eee6df;
}

.editable-gallery-form .form-row {
    margin: 0;
}

.editable-gallery-form label,
.gallery-upload-form label {
    font-size: 13px;
    font-weight: 900;
    color: #4b3a31;
}

.editable-gallery-form input,
.editable-gallery-form select,
.gallery-upload-form input,
.gallery-upload-form select {
    background: #fff;
    border: 1px solid #e3d8cf;
    border-radius: 12px;
    padding: 11px 12px;
}

.editable-gallery-form small {
    color: #8a7c75;
    font-size: 12px;
}

.compact-toggle {
    padding: 12px !important;
    margin: 0 !important;
}

.gallery-card-actions {
    display: flex;
    justify-content: flex-end;
}

.gallery-delete-form {
    padding: 14px 16px 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    background: #fbf8f5;
}

.delete-file-option {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7c706b;
    font-size: 12px;
    font-weight: 800;
}

.delete-file-option input {
    width: auto;
}

@media (max-width: 1100px) {
    .editable-gallery-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .gallery-upload-panel {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .editable-gallery-grid,
    .gallery-form-grid {
        grid-template-columns: 1fr;
    }

    .gallery-form-grid .span-2 {
        grid-column: span 1;
    }

    .gallery-delete-form {
        display: grid;
    }

    .gallery-delete-form .btn {
        width: 100%;
    }
}
