:root {
    --bg: #f7f2ee;
    --bg-deep: #efe4db;
    --surface: rgba(255, 252, 249, 0.88);
    --ink: #1f1714;
    --muted: #6d5c54;
    --line: rgba(31, 23, 20, 0.1);
    --berry: #8a2f45;
    --berry-deep: #6a2234;
    --sand: #d8b89a;
    --mint: #3f6f66;
    --ok: #1f6b4a;
    --warn: #9a6700;
    --err: #9b1c1c;
    --shadow: 0 18px 50px rgba(56, 28, 22, 0.08);
    --radius: 18px;
    --font-display: "Cormorant Garamond", Georgia, serif;
    --font-body: "Manrope", "Noto Sans Bengali", system-ui, sans-serif;
    --max: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: var(--font-body);
    color: var(--ink);
    background:
        radial-gradient(1000px 500px at 10% -10%, rgba(138, 47, 69, 0.12), transparent 55%),
        radial-gradient(900px 480px at 90% 0%, rgba(63, 111, 102, 0.12), transparent 50%),
        linear-gradient(180deg, #faf6f2 0%, var(--bg) 40%, #f3ebe4 100%);
    min-height: 100dvh;
    padding-left: env(safe-area-inset-left);
    padding-right: env(safe-area-inset-right);
}
img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
h1, h2, h3, h4 {
    font-family: var(--font-display);
    font-weight: 600;
    letter-spacing: 0.01em;
    margin: 0 0 0.4em;
}
p { margin: 0 0 1em; line-height: 1.65; }
.muted { color: var(--muted); }
.container { width: min(100% - 2rem, var(--max)); margin-inline: auto; }

.site-header {
    position: sticky;
    top: 0;
    z-index: 50;
    backdrop-filter: blur(18px);
    background: rgba(255, 250, 247, 0.88);
    border-bottom: 1px solid var(--line);
    padding-top: env(safe-area-inset-top);
}
.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    min-height: 82px;
}
.brand { display: inline-flex; align-items: center; gap: 0.85rem; }
.brand-mark {
    position: relative;
    width: 54px; height: 54px; border-radius: 16px;
    display: grid; place-items: center;
    overflow: hidden;
    background: #900F35;
    color: #fff;
    box-shadow: 0 10px 24px rgba(138, 47, 69, 0.28);
}
.brand-mark-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.brand-letter {
    font-family: var(--font-display); font-size: 1.7rem; font-weight: 700; line-height: 1;
    margin-top: 5px;
}
.brand-crown {
    position: absolute; top: 4px; right: 5px;
    color: var(--sand); opacity: 0.95;
    width: 16px; height: 16px;
}
.brand-text { display: flex; flex-direction: column; line-height: 1.12; }
.brand-text strong { font-family: var(--font-display); font-size: 1.48rem; }
.brand-text small {
    color: var(--muted);
    font-size: 0.62rem;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    font-weight: 700;
    max-width: 22ch;
}
.sr-only {
    position: absolute; width: 1px; height: 1px; padding: 0; margin: -1px;
    overflow: hidden; clip: rect(0,0,0,0); border: 0;
}
.site-nav { display: flex; align-items: center; gap: 0.35rem 1.05rem; flex-wrap: wrap; justify-content: flex-end; }
.nav-actions { display: inline-flex; align-items: center; gap: 0.55rem; margin-left: 0.4rem; }
.btn-nav-login {
    display: inline-flex;
    align-items: center;
    height: 40px;
    padding: 0 0.95rem;
    border-radius: 10px;
    border: 1px solid var(--line);
    color: var(--ink) !important;
    font-weight: 650;
    background: #fff;
}
.btn-nav-login:hover { border-color: var(--berry); color: var(--berry) !important; }
.site-nav a { font-weight: 500; font-size: 0.95rem; color: var(--muted); }
.site-nav a:hover { color: var(--ink); }
.site-nav > a.nav-link {
    position: relative;
    padding: 0.4rem 0 0.5rem;
    color: var(--ink);
    font-weight: 550;
}
.site-nav > a.nav-link::after {
    content: "";
    position: absolute;
    left: 0; right: 0; bottom: 0.15rem;
    height: 2px;
    background: var(--berry);
    border-radius: 2px;
    transform: scaleX(0);
    transform-origin: left center;
    transition: transform .28s ease;
}
.site-nav > a.nav-link:hover { color: var(--berry); }
.site-nav > a.nav-link:hover::after,
.site-nav > a.nav-link.is-active::after { transform: scaleX(1); }
.site-nav > a.nav-link.is-active {
    color: var(--berry);
    font-weight: 700;
}
.site-nav .add-parlour-btn,
.site-nav .add-parlour-btn:hover {
    color: #fff;
}

.add-parlour-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px 8px 10px;
    background: linear-gradient(180deg, #9a3650 0%, #8b2f46 55%, #74263a 100%);
    color: #ffffff !important;
    text-decoration: none;
    border-radius: 12px;
    font-family: inherit;
    font-weight: 600;
    white-space: nowrap;
    box-shadow: 0 6px 16px rgba(139, 47, 70, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: transform 0.22s ease, box-shadow 0.22s ease, background 0.22s ease;
}
.add-parlour-btn .apb-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.16);
    font-size: 22px;
    font-weight: 400;
    line-height: 1;
}
.add-parlour-btn .apb-content {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    text-align: left;
}
.add-parlour-btn .apb-title {
    font-size: 14px;
    font-weight: 600;
    color: #fff;
}
.add-parlour-btn .apb-sub {
    margin-top: 2px;
    font-size: 10px;
    color: rgba(255, 255, 255, 0.72);
    text-transform: none;
    letter-spacing: 0;
    font-weight: 500;
}
.add-parlour-btn .apb-arrow {
    margin-left: 2px;
    font-size: 18px;
    transition: transform 0.25s ease;
}
.add-parlour-btn:hover {
    background: #74263a;
    color: #fff !important;
    transform: translateY(-3px);
    box-shadow: 0 14px 28px rgba(139, 47, 70, 0.32);
}
.add-parlour-btn:hover .apb-arrow { transform: translateX(6px); }
.add-parlour-btn:active { transform: translateY(0); }
.add-parlour-btn:focus {
    outline: 3px solid rgba(139, 47, 70, 0.25);
    outline-offset: 3px;
}

.hero-loc { position: relative; }
.loc-suggest-list {
    position: absolute;
    z-index: 40;
    left: 0; right: 0; top: calc(100% + 4px);
    margin: 0;
    padding: 0.35rem 0;
    list-style: none;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    box-shadow: var(--shadow);
    max-height: 240px;
    overflow: auto;
}
.loc-suggest-list button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.55rem 0.85rem;
    font: inherit;
    cursor: pointer;
}
.loc-suggest-list button:hover { background: rgba(138, 47, 69, 0.06); }
.owners-page .owners-hero { max-width: 640px; }
.owners-page h1 { font-size: clamp(1.8rem, 3vw, 2.6rem); }
.owners-page .lead { font-size: 1.05rem; }
.owners-benefits { list-style: none; padding: 0; margin: 1.2rem 0 1.6rem; display: grid; gap: 0.55rem; }
.owners-benefits li { font-weight: 600; }
.owners-actions { display: flex; flex-wrap: wrap; gap: 0.8rem; align-items: center; }
.lang-switch {
    display: inline-flex;
    border: 1px solid var(--line);
    border-radius: 10px;
    overflow: hidden;
    background: #fff;
}
.lang-switch a {
    padding: 0.35rem 0.65rem !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
}
.lang-switch a.active {
    background: var(--ink);
    color: #fff !important;
}
body.lang-bn { font-family: "Noto Sans Bengali", "Manrope", system-ui, sans-serif; }
body.lang-bn h1, body.lang-bn h2, body.lang-bn h3, body.lang-bn .hero-brand, body.lang-bn .brand-text strong {
    font-family: "Cormorant Garamond", "Noto Sans Bengali", Georgia, serif;
}
.nav-toggle {
    display: none; width: 42px; height: 42px; border: 1px solid var(--line);
    background: var(--surface); border-radius: 12px; cursor: pointer;
}
.nav-toggle span {
    display: block; height: 2px; margin: 6px 10px; background: var(--ink);
}

.btn, button.btn {
    display: inline-flex; align-items: center; justify-content: center; gap: 0.45rem;
    border: 0; border-radius: 12px; padding: 0.8rem 1.2rem;
    font: inherit; font-weight: 600; cursor: pointer;
    transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: var(--berry); color: #fff; box-shadow: 0 10px 24px rgba(138, 47, 69, 0.22); }
.btn-primary:hover { background: var(--berry-deep); }
.btn-secondary { background: var(--mint); color: #fff; }
.btn-ghost { background: transparent; border: 1px solid var(--line); color: var(--ink); }
.btn-whatsapp { background: #128c7e; color: #fff; }
.btn-call { background: var(--ink); color: #fff; }
.btn-sm { padding: 0.55rem 0.85rem; font-size: 0.88rem; border-radius: 10px; }
.btn-danger { background: var(--err); color: #fff; }
.text-link { color: var(--berry); font-weight: 600; }

.hero,
.hero-premium {
    position: relative;
    min-height: min(62vh, 560px);
    display: grid;
    align-items: center;
    overflow: hidden;
    color: #fff;
}
.hero-media {
    position: absolute; inset: 0;
    background-position: 82% center;
    background-size: cover;
    background-repeat: no-repeat;
    transform: scale(1.04);
    animation: heroZoom 12s ease-out both;
}
.hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background:
        linear-gradient(90deg,
            rgba(36, 4, 12, 0.94) 0%,
            rgba(72, 14, 28, 0.90) 28%,
            rgba(90, 22, 38, 0.55) 52%,
            rgba(90, 22, 38, 0.18) 72%,
            rgba(20, 8, 12, 0) 88%),
        linear-gradient(180deg, rgba(20, 8, 12, 0.12) 0%, rgba(20, 8, 12, 0.28) 100%);
}
.hero-shell {
    position: relative;
    z-index: 1;
    padding: 4.2rem 0 2.6rem;
    display: grid;
    align-items: center;
    width: 100%;
    max-width: none;
}
.hero-content {
    margin-left: clamp(60px, 8vw, 100px);
    max-width: 700px;
    display: grid;
    gap: 0.8rem;
    width: 100%;
}
.hero-copy {
    position: relative;
    animation: rise 0.7s ease both;
    max-width: none;
}
.hero h1 {
    font-size: clamp(1.85rem, 4.2vw, 3.05rem);
    font-family: var(--font-display);
    font-weight: 600;
    line-height: 1.08;
    max-width: 16ch;
    margin-bottom: 0.45rem;
    letter-spacing: -0.02em;
}
.hero-lead { margin-bottom: 0.2rem !important; font-size: 1rem !important; max-width: 42ch; }
.hero-search,
.hero-search-smart {
    background: #fff;
    color: var(--ink);
    border: 1px solid rgba(255,255,255,0.55);
    border-radius: 20px;
    padding: 0.65rem 0.75rem 0.6rem;
    box-shadow: 0 18px 42px rgba(20, 10, 12, 0.28);
    animation: rise 0.85s ease 0.08s both;
    max-width: 100%;
    display: grid;
    gap: 0.5rem;
}
.hero-smart-row {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 0.5rem;
    align-items: end;
}
.hero-search-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.55rem 0.7rem;
    align-items: end;
    padding-top: 0.35rem;
}
.hero-advanced {
    border-top: 1px solid rgba(31, 23, 20, 0.08);
    padding-top: 0.35rem;
}
.hero-advanced:not([open]) .hero-search-grid { display: none; }
.home-owner-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.15rem 1.35rem;
    border-radius: 22px;
    text-decoration: none;
    color: #fff !important;
    background: linear-gradient(90deg, #5a1626 0%, #8a2f45 72%, #c9a27a 160%);
    box-shadow: 0 16px 36px rgba(90, 22, 38, 0.18);
    transition: transform 0.22s ease, box-shadow 0.22s ease;
}
.home-owner-banner:hover {
    transform: translateY(-3px);
    box-shadow: 0 22px 40px rgba(90, 22, 38, 0.28);
    color: #fff !important;
}
.home-owner-copy { display: grid; gap: 0.15rem; }
.home-owner-copy strong { font-size: 1.15rem; }
.home-owner-copy span { color: rgba(255,255,255,0.78); font-size: 0.9rem; }
.home-owner-go { font-weight: 700; color: #e8c9a8; white-space: nowrap; }
.hero-advanced > summary {
    cursor: pointer;
    font-weight: 700;
    font-size: 0.86rem;
    color: var(--berry-deep);
    list-style: none;
    padding: 0.25rem 0;
}
.hero-advanced > summary::-webkit-details-marker { display: none; }
.hero-q { position: relative; }
.hero-pills { margin-top: 0.15rem; }
.hero-quick-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    max-width: 720px;
}
.hero-chip {
    display: inline-flex;
    align-items: center;
    padding: 0.38rem 0.8rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.14);
    border: 1px solid rgba(255,255,255,0.22);
    color: #fff !important;
    font-weight: 650;
    font-size: 0.82rem;
}
.hero-chip:hover { background: rgba(255,255,255,0.24); }
.card-grid-3 { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.verified-dot {
    display: inline-block;
    margin-left: 0.35rem;
    font-size: 0.72rem;
    color: var(--berry);
    font-weight: 700;
}
.verified-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
    margin: 0 0.35rem 0 0;
    padding: 0.18rem 0.55rem;
    border-radius: 999px;
    background: rgba(255,255,255,0.18);
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
}
.how-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}
.how-card {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 20px;
    padding: 1.15rem 1.2rem;
    box-shadow: 0 8px 24px rgba(44, 20, 24, 0.04);
}
.how-num {
    display: inline-grid;
    place-items: center;
    width: 32px; height: 32px;
    border-radius: 10px;
    background: linear-gradient(180deg, #9a3650, #74263a);
    color: #fff;
    font-weight: 700;
    margin-bottom: 0.55rem;
}
.how-card h3 { margin: 0 0 0.3rem; }
.how-card p { margin: 0; color: var(--muted); }
.hero p {
    color: rgba(255,255,255,0.9);
    max-width: 42ch;
    font-size: 1.02rem;
    margin-bottom: 0;
}
.hero-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem 0.55rem;
    list-style: none;
    margin: 0;
    padding: 0;
}
.hero-pills li {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.38rem 0.75rem;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.18);
    font-size: 0.82rem;
    font-weight: 650;
    letter-spacing: 0.01em;
    color: #fff;
}
.hero-pills li span { color: #e8c9a8; font-weight: 700; }
.hero-search-label {
    margin: 0 0 0.7rem;
    font-weight: 700;
    font-size: 0.95rem;
    color: var(--berry-deep);
}
.hero-q-label,
.field-label {
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--muted);
    margin-bottom: 0.35rem;
}
.hero-q-label {
    font-size: 0.82rem;
    letter-spacing: 0.04em;
    color: var(--berry-deep);
}
.hero-q { position: relative; }
.hero-q .search-icon {
    position: absolute; left: 0.9rem; bottom: 0.85rem;
    color: var(--muted); display: grid; place-items: center; pointer-events: none;
}
.hero-q input {
    padding-left: 2.55rem;
    height: 50px;
    font-size: 1rem;
}
.hero-search .field { margin: 0; }
.hero-search input,
.hero-search select {
    height: 44px;
    border-color: rgba(31, 23, 20, 0.12);
    background: #fff;
}
.hero-search-btn {
    height: 44px;
    min-width: 148px;
    padding-inline: 1.15rem;
    font-size: 0.92rem;
    letter-spacing: 0;
    text-transform: none;
    white-space: nowrap;
}
.hero-locate {
    height: 44px;
    min-width: 0;
    padding: 0 1.15rem;
    font-weight: 650;
    color: var(--berry-deep);
    border-color: rgba(138, 47, 69, 0.22);
    background: rgba(138, 47, 69, 0.05);
}
.hero-trust {
    max-width: 980px;
    padding-top: 0.15rem;
}
.hero-trust-stars {
    margin: 0 0 0.2rem;
    color: #e8c9a8;
    letter-spacing: 0.18em;
    font-size: 0.95rem;
}
.hero-trust-title {
    margin: 0;
    font-weight: 650;
    font-size: 0.98rem;
    color: #fff;
    max-width: none;
}
.hero-trust-line {
    margin: 0.15rem 0 0;
    font-size: 0.82rem;
    color: rgba(255,255,255,0.72);
    max-width: none;
}
@keyframes heroZoom {
    from { transform: scale(1.08); }
    to { transform: scale(1.02); }
}

.search-panel { margin-top: -2.2rem; position: relative; z-index: 2; }
.search-panel form,
.search-form-grid {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    box-shadow: var(--shadow);
    padding: 1rem;
    display: grid;
    grid-template-columns: 1.4fr 1fr 1fr 1fr auto;
    gap: 0.75rem;
    align-items: end;
}
.section-tight { padding: 1.5rem 0 0; }
.section-soft {
    background: linear-gradient(180deg, rgba(255,255,255,0.35), transparent);
}
.popular-cat-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1rem;
}
.popular-cat {
    position: relative;
    display: block;
    padding: 0;
    overflow: hidden;
    border-radius: 18px;
    background: linear-gradient(160deg, #5a2230, #8a2f45);
    border: 1px solid var(--line);
    color: #fff;
    text-decoration: none;
    min-height: 240px;
    transition: transform .28s ease, box-shadow .28s ease;
}
.popular-cat:hover {
    transform: translateY(-6px);
    box-shadow: 0 18px 40px rgba(56, 28, 22, 0.16);
}
.popular-cat-media {
    display: block;
    position: absolute;
    inset: 0;
    overflow: hidden;
    background: linear-gradient(160deg, #6a2234, #a84a5c 55%, #c9a27a);
}
.popular-cat-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform .5s ease;
}
.popular-cat-media::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(20, 8, 12, 0.05) 20%, rgba(20, 8, 12, 0.78) 100%);
    opacity: 1;
    transition: opacity .25s ease;
}
.popular-cat:hover .popular-cat-media img { transform: scale(1.08); }
.popular-cat-caption {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    z-index: 1;
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
    padding: 1.05rem 0.9rem 0.95rem;
}
.popular-cat-caption strong {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    font-family: var(--font-display);
    letter-spacing: 0.01em;
}
.popular-cat-explore {
    font-size: 0.78rem;
    font-weight: 650;
    color: rgba(255, 255, 255, 0.82);
    letter-spacing: 0.04em;
    text-transform: uppercase;
}
.popular-cat:hover .popular-cat-explore { color: #e8c9a8; }
.popular-cat-label {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .4rem;
    padding: .55rem .7rem .65rem;
}
.popular-cat-label strong,
.popular-cat strong {
    font-size: 0.92rem;
    font-weight: 700;
    transition: color .2s ease;
}
.popular-cat:hover strong { color: #fff; }
.popular-cat-arrow { color: var(--muted); font-size: .95rem; }
@media (prefers-reduced-motion: reduce) {
    .popular-cat:hover .popular-cat-media img { transform: none; }
}
.popular-cat-icon {
    width: 54px; height: 54px; border-radius: 18px;
    display: grid; place-items: center;
    background: rgba(138, 47, 69, 0.1);
    position: relative;
}
.popular-cat-icon::before {
    content: "";
    width: 22px; height: 22px;
    background: currentColor;
    color: var(--berry);
    mask-size: contain; mask-repeat: no-repeat; mask-position: center;
    -webkit-mask-size: contain; -webkit-mask-repeat: no-repeat; -webkit-mask-position: center;
}
.icon-makeup::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h3l1 4H8L7 3zm7 0h3l-1 4h-3l1-4zM5 9h14l-1.5 11h-11L5 9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M7 3h3l1 4H8L7 3zm7 0h3l-1 4h-3l1-4zM5 9h14l-1.5 11h-11L5 9z'/%3E%3C/svg%3E"); }
.icon-hair::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3c2 3 2 7 0 10 3-1 6-1 9 0-2-3-2-7 0-10-3 1-6 1-9 0zm1 12 2 7h2l2-7H9z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M8 3c2 3 2 7 0 10 3-1 6-1 9 0-2-3-2-7 0-10-3 1-6 1-9 0zm1 12 2 7h2l2-7H9z'/%3E%3C/svg%3E"); }
.icon-facial::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c4 0 7 3.5 7 8 0 5-3 10-7 10S5 16 5 11c0-4.5 3-8 7-8zm-3 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm6 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c4 0 7 3.5 7 8 0 5-3 10-7 10S5 16 5 11c0-4.5 3-8 7-8zm-3 8a1 1 0 1 0 0-2 1 1 0 0 0 0 2zm6 0a1 1 0 1 0 0-2 1 1 0 0 0 0 2z'/%3E%3C/svg%3E"); }
.icon-nails::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6c1 2 2 5 2 8v10H7V10c0-3 1-6 2-8zm1 14h4v2h-4v-2z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M9 2h6c1 2 2 5 2 8v10H7V10c0-3 1-6 2-8zm1 14h4v2h-4v-2z'/%3E%3C/svg%3E"); }
.icon-bridal::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 9 8H4l4 3.5L6.5 17 12 14l5.5 3-1.5-5.5L20 8h-5l-3-5z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3 9 8H4l4 3.5L6.5 17 12 14l5.5 3-1.5-5.5L20 8h-5l-3-5z'/%3E%3C/svg%3E"); }
.icon-spa::before { -webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c3 4 3 8 0 12 4-1 7-4 8-8-4 0-7 2-8 8-1-6-4-8-8-8 1 4 4 7 8 8z'/%3E%3C/svg%3E"); mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cpath fill='black' d='M12 3c3 4 3 8 0 12 4-1 7-4 8-8-4 0-7 2-8 8-1-6-4-8-8-8 1 4 4 7 8 8z'/%3E%3C/svg%3E"); }
.chip-cloud { display: flex; flex-wrap: wrap; gap: 0.55rem; }
.chip-link {
    padding: 0.55rem 0.9rem;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--line);
    font-size: 0.88rem;
    font-weight: 600;
    color: var(--muted);
    transition: background .2s ease, color .2s ease, transform .2s ease;
}
.chip-link:hover {
    background: var(--berry);
    color: #fff;
    transform: translateY(-2px);
}
.category-grid-wide { grid-template-columns: repeat(5, 1fr); }
.ad-stack { display: grid; gap: 0.9rem; }
.ad-banner {
    position: relative;
    display: block;
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.ad-banner img,
.ad-banner video,
.ad-banner iframe {
    width: 100%;
    height: clamp(140px, 22vw, 240px);
    object-fit: cover;
    border: 0;
    display: block;
    background: #1a1214;
}
.adsense-wrap {
    margin: 0.4rem 0 1rem;
    min-height: 90px;
    overflow: hidden;
}
.ad-visit {
    position: absolute;
    right: 0.8rem;
    bottom: 0.8rem;
    background: var(--berry);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    padding: 0.35rem 0.7rem;
    border-radius: 8px;
}
.ad-label {
    position: absolute;
    left: 0.8rem;
    bottom: 0.8rem;
    background: rgba(20, 10, 12, 0.7);
    color: #fff;
    font-size: 0.78rem;
    font-weight: 600;
    padding: 0.35rem 0.6rem;
    border-radius: 8px;
}
label.field { display: grid; gap: 0.35rem; font-size: 0.8rem; color: var(--muted); font-weight: 600; }
input, select, textarea {
    width: 100%;
    border: 1px solid var(--line);
    background: #fff;
    border-radius: 12px;
    padding: 0.8rem 0.9rem;
    font: inherit;
    color: var(--ink);
}
textarea { min-height: 120px; resize: vertical; }
input:focus, select:focus, textarea:focus {
    outline: 2px solid rgba(138, 47, 69, 0.25);
    border-color: var(--berry);
}

.section { padding: 4rem 0; }
.section-head {
    display: flex; justify-content: space-between; align-items: end; gap: 1rem;
    margin-bottom: 1.5rem;
}
.section-head h2 { font-size: clamp(2rem, 4vw, 2.8rem); }
.section-head p { margin: 0; max-width: 40ch; }

.category-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 1rem;
}
.category-card {
    display: grid; place-items: center; gap: 0.55rem;
    min-height: 130px; padding: 1.2rem;
    border-radius: var(--radius);
    background: linear-gradient(160deg, #fff 0%, var(--bg-deep) 100%);
    border: 1px solid var(--line);
    transition: transform .25s ease, box-shadow .25s ease;
}
.category-card:hover { transform: translateY(-4px); box-shadow: var(--shadow); }
.category-icon {
    width: 48px; height: 48px; border-radius: 16px;
    display: grid; place-items: center;
    background: rgba(138, 47, 69, 0.1); color: var(--berry);
    font-family: var(--font-display); font-size: 1.4rem; font-weight: 700;
}
.category-card span { font-weight: 600; }

.card-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.15rem;
}
.search-card-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1.2rem;
}
.parlour-card,
.parlour-card-premium,
.parlour-card-v2 {
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(56, 28, 22, 0.05);
    transition: transform .22s ease, box-shadow .22s ease;
}
.parlour-card:hover,
.parlour-card-premium:hover,
.parlour-card-v2:hover {
    transform: translateY(-5px);
    box-shadow: 0 18px 40px rgba(56, 28, 22, 0.12);
}
.parlour-card-media { position: relative; display: block; aspect-ratio: 16/10; overflow: hidden; background: #f3e6e8; }
.parlour-card-media > a { display: block; width: 100%; height: 100%; }
.parlour-card-media img {
    width: 100%; height: 100%; object-fit: cover;
    transition: transform .45s ease;
}
.parlour-card:hover .parlour-card-media img,
.parlour-card-v2:hover .parlour-card-media img { transform: scale(1.06); }
.parlour-card-fallback {
    width: 100%; height: 100%;
    display: grid; place-items: center;
    background:
        linear-gradient(155deg, hsl(var(--ph, 350) 32% 46%) 0%, hsl(calc(var(--ph, 350) + 24) 24% 32%) 100%);
    color: rgba(255,255,255,0.92);
    font-family: var(--font-display);
    font-size: 3.2rem;
    font-weight: 700;
}
.parlour-card-fallback.is-hidden { display: none !important; }
.fav-btn {
    position: absolute; top: 0.7rem; left: 0.7rem; z-index: 2;
    width: 34px; height: 34px; border: 0; border-radius: 50%;
    background: rgba(255,255,255,0.94); color: #8a8083;
    font-size: 1rem; line-height: 1; cursor: pointer;
    box-shadow: 0 4px 12px rgba(0,0,0,0.12);
}
.fav-btn.is-on { color: var(--berry); }
.parlour-card-body { display: block; padding: 0.9rem 1rem 1rem; color: inherit; }
.parlour-card-title {
    display: flex; align-items: baseline; justify-content: space-between; gap: 0.6rem;
}
.parlour-card-name {
    display: flex; align-items: center; gap: 0.45rem; margin: 0; min-width: 0;
}
.card-profile-logo,
.card-profile-fallback {
    width: 28px; height: 28px; border-radius: 8px; object-fit: cover; flex-shrink: 0;
    background: #f3e6ea;
}
.card-profile-fallback {
    display: inline-flex; align-items: center; justify-content: center;
    font-size: 0.85rem; font-weight: 800; color: #900F35;
}
.card-profile-fallback.is-hidden { display: none; }
.parlour-card h3 { font-size: 1.2rem; margin: 0; line-height: 1.25; }
.parlour-card h3 a:hover { color: var(--berry); }
.rating-inline {
    flex-shrink: 0;
    font-size: 0.86rem;
    font-weight: 700;
    color: var(--ink);
}
.meta { color: var(--muted); font-size: 0.86rem; margin: 0.2rem 0 0; }
.location-meta {
    display: flex; align-items: center; gap: 0.3rem; margin: 0.35rem 0 0;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.chip-row { display: flex; flex-wrap: nowrap; gap: 0.35rem; margin: 0.65rem 0 0; overflow: hidden; }
.chip {
    flex: 0 1 auto;
    font-size: 0.72rem; font-weight: 600; color: var(--berry-deep);
    background: rgba(138, 47, 69, 0.08); padding: 0.28rem 0.55rem; border-radius: 999px;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 46%;
}
.chip:nth-child(3) { max-width: 38%; }
.badge {
    position: absolute; top: 0.7rem; right: 0.7rem; z-index: 2;
    background: #fff; color: var(--berry); font-size: 0.68rem; font-weight: 800;
    padding: 0.28rem 0.55rem; border-radius: 8px; letter-spacing: 0.04em; text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}
.rating-pill {
    position: absolute; top: 0.8rem; right: 0.8rem;
    background: rgba(20, 10, 12, 0.78); color: #fff;
    font-size: 0.78rem; font-weight: 700;
    padding: 0.32rem 0.55rem; border-radius: 999px;
}
.parlour-card-foot {
    display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
    border-top: 1px solid var(--line); padding-top: 0.75rem; margin-top: 0.75rem;
}
.price { font-weight: 700; color: var(--ink); font-size: 0.92rem; }
.view-link {
    color: var(--berry);
    font-weight: 700;
    font-size: 0.88rem;
}

.mobile-bottom-nav { display: none; }

.near-hero {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 4px);
    padding: 1.3rem 1.4rem;
    box-shadow: var(--shadow);
    display: grid;
    gap: 1rem;
}
.home-near {
    grid-template-columns: 1.4fr auto;
    align-items: center;
}
.near-actions { display: flex; flex-wrap: wrap; gap: 0.65rem; align-items: center; }
.your-location {
    display: grid;
    gap: 0.2rem;
    padding: 0.75rem 0.9rem;
    border-radius: 12px;
    background: rgba(138, 47, 69, 0.06);
}
.coverage-notice {
    background: #fff7ed;
    border: 1px solid #fdba74;
    border-radius: 14px;
    padding: 0.95rem 1.05rem;
    margin: 0 0 1rem;
}
.coverage-notice strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #9a3412;
}
.coverage-notice p {
    margin: 0;
    color: #7c2d12;
    font-size: 0.92rem;
    line-height: 1.45;
}
.fallback-location { margin-top: 0.2rem; }
.fallback-location summary {
    cursor: pointer;
    font-weight: 700;
    color: var(--berry);
}
.radius-filters { display: flex; flex-wrap: wrap; gap: 0.45rem; }
.chip-link.is-active { background: var(--berry); color: #fff; }
.near-split {
    display: grid;
    grid-template-columns: 1.05fr 1fr;
    gap: 1.2rem;
    align-items: start;
}
.nearby-list { display: grid; gap: 0.7rem; }
.nearby-row {
    display: grid;
    grid-template-columns: 72px 1fr;
    gap: 0.8rem;
    padding: 0.7rem;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: #fff;
    transition: transform .2s ease, box-shadow .2s ease;
}
.nearby-row:hover { transform: translateY(-2px); box-shadow: var(--shadow); }
.nearby-row img {
    width: 72px; height: 72px; object-fit: cover; border-radius: 10px;
}
.nearby-row strong { display: block; margin-bottom: 0.2rem; }
.distance-badge {
    display: inline-block;
    margin-top: 0.35rem;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--berry-deep);
    background: rgba(138, 47, 69, 0.1);
    padding: 0.25rem 0.55rem;
    border-radius: 999px;
}
.geo-suggest {
    position: absolute;
    z-index: 20;
    left: 0; right: 0;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 12px;
    margin-top: 0.25rem;
    max-height: 220px;
    overflow: auto;
    box-shadow: var(--shadow);
}
.geo-suggest button {
    display: block;
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.65rem 0.8rem;
    font: inherit;
    cursor: pointer;
    border-bottom: 1px solid var(--line);
}
.geo-suggest button:hover { background: rgba(138, 47, 69, 0.06); }
.field { position: relative; }
.location-setup {
    padding: 1rem;
    margin: 0;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: rgba(255, 252, 249, 0.7);
}
.location-setup h3 { margin-top: 0; }
.location-quick {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 0.7rem;
    align-items: end;
    margin-bottom: 0.7rem;
}
@media (max-width: 720px) {
    .location-quick { grid-template-columns: 1fr; }
}

.layout-split {
    display: grid;
    grid-template-columns: 248px minmax(0, 1fr);
    gap: 1.35rem;
    align-items: start;
}
.search-directory .container { width: min(100% - 2rem, 1220px); }
.search-directory-section { padding-top: 1.35rem; padding-bottom: 3rem; }
.search-mobile-bar { display: none; }
.filters-backdrop { display: none; }
.filters-card {
    position: sticky; top: 86px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 16px;
    padding: 0.85rem 0.9rem 0.95rem;
    box-shadow: 0 8px 22px rgba(56, 28, 22, 0.05);
}
.filters-sheet-head { display: none; }
.filters-card form { display: grid; gap: 0.5rem; }
.filters-card .field { position: relative; font-size: 0.72rem; gap: 0.22rem; }
.filters-card input,
.filters-card select {
    padding: 0.46rem 0.65rem;
    border-radius: 10px;
    font-size: 0.86rem;
}
.filter-group {
    display: grid;
    gap: 0.45rem;
    padding: 0.55rem 0.55rem 0.6rem;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #fbf8f6;
}
.filter-group-title {
    margin: 0;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: var(--muted);
}
.filter-actions {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 0.45rem;
    margin-top: 0.15rem;
}
.btn-reset {
    background: #fff;
    border: 1px solid var(--line);
    color: var(--ink);
    padding: 0.5rem 0.75rem;
    font-size: 0.82rem;
    border-radius: 10px;
    box-shadow: none;
}
.btn-apply {
    background: var(--berry);
    color: #fff;
    padding: 0.5rem 0.9rem;
    font-size: 0.86rem;
    border-radius: 10px;
    box-shadow: 0 8px 16px rgba(138, 47, 69, 0.18);
}
.btn-apply:hover { background: var(--berry-deep); }
.results-toolbar {
    display: flex; justify-content: space-between; align-items: flex-end; gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 0.85rem;
    border-bottom: 1px solid var(--line);
}
.results-copy h1 {
    font-size: clamp(1.45rem, 2.4vw, 2rem);
    margin: 0 0 0.15rem;
}
.results-copy p { margin: 0; color: var(--muted); font-size: 0.9rem; }
.results-tools { display: flex; align-items: center; gap: 0.65rem; flex-wrap: wrap; }
.sort-inline {
    display: inline-flex; align-items: center; gap: 0.4rem;
    font-size: 0.8rem; font-weight: 700; color: var(--muted);
}
.sort-inline select {
    width: auto;
    padding: 0.42rem 0.65rem;
    font-size: 0.84rem;
    border-radius: 10px;
}
.view-toggle { display: inline-flex; background: #fff; border: 1px solid var(--line); border-radius: 12px; overflow: hidden; }
.view-toggle a {
    padding: 0.48rem 0.75rem; font-size: 0.82rem; font-weight: 600; color: var(--muted);
}
.view-toggle a.active { background: var(--ink); color: #fff; }
.map-panel {
    height: min(70vh, 620px);
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
#map, .detail-map { width: 100%; height: 100%; min-height: 320px; }

.detail-hero {
    position: relative;
    min-height: 48vh;
    display: grid;
    align-items: end;
    color: #fff;
    overflow: hidden;
    width: 100%;
    max-width: 100%;
}
.detail-hero-media {
    position: absolute; inset: 0;
    background: center/cover no-repeat;
}
.detail-hero-media::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, rgba(15,8,10,0.15), rgba(15,8,10,0.78));
}
.detail-hero-content {
    position: relative; z-index: 1; padding: 5rem 0 2rem;
    display: flex; gap: 1rem; align-items: end;
    min-width: 0;
    max-width: 100%;
}
/* Flex/grid default min-width:auto lets long chips/titles force overflow past the hero edge. */
.detail-hero-content > div {
    min-width: 0;
    flex: 1 1 auto;
}
.detail-logo {
    width: 84px; height: 84px; border-radius: 18px; object-fit: cover;
    border: 3px solid rgba(255,255,255,0.7); background: #fff;
    flex-shrink: 0;
}
.detail-logo-fallback {
    display: flex; align-items: center; justify-content: center;
    font-weight: 800; font-size: 1.8rem; color: #900F35;
    background: linear-gradient(145deg, #fff, #f3e6ea);
}
.detail-logo-fallback.is-hidden { display: none; }
.is-hidden { display: none !important; }
.detail-hero h1 {
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin: 0;
    overflow-wrap: anywhere;
    word-break: break-word;
}
.detail-hero .chip-row {
    flex-wrap: wrap;
    overflow: visible;
    max-width: 100%;
}
.detail-hero .chip {
    max-width: 100%;
}
.detail-hero .muted {
    overflow-wrap: anywhere;
    word-break: break-word;
}
.detail-grid {
    display: grid;
    grid-template-columns: 1.5fr 0.9fr;
    gap: 1.5rem;
    padding: 2rem 0 4rem;
}
.panel {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1.25rem;
    margin-bottom: 1rem;
}
.panel h2 { font-size: 1.8rem; }
.service-list { display: grid; gap: 0.7rem; }
.service-item {
    display: flex; justify-content: space-between; gap: 1rem;
    padding: 0.85rem 0; border-bottom: 1px solid var(--line);
}
.service-item:last-child { border-bottom: 0; }
.service-item-main { flex: 1; min-width: 0; }
.service-photos {
    display: flex;
    gap: .4rem;
    flex-wrap: wrap;
    margin-top: .5rem;
}
.service-photos a,
.service-photos img {
    width: 64px;
    height: 64px;
    border-radius: 10px;
    object-fit: cover;
    display: block;
}
.owner-svc-photos {
    display: flex;
    gap: .45rem;
    flex-wrap: wrap;
    margin-top: .4rem;
}
.owner-svc-photo {
    width: 72px;
    text-align: center;
}
.owner-svc-photo img {
    width: 72px;
    height: 56px;
    object-fit: cover;
    border-radius: 8px;
    display: block;
}
.hours-list { display: grid; gap: 0.45rem; }
.hours-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.95rem; }
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.7rem;
}
.gallery-grid img {
    aspect-ratio: 1; object-fit: cover; border-radius: 12px; width: 100%;
}
.contact-actions { display: grid; gap: 0.65rem; }

.auth-page { min-height: 80vh; display: grid; place-items: center; padding: 3rem 0; }
.auth-card {
    width: min(100%, 460px);
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: calc(var(--radius) + 6px);
    padding: 2rem;
    box-shadow: var(--shadow);
}
.auth-card h1 { font-size: 2.4rem; }
.review-form { margin: 1rem 0 1.4rem; }
.review-list { display: grid; gap: 0.9rem; }
.review-item { padding: 0.8rem 0; border-top: 1px solid var(--line); }
.review-item p { margin: 0.35rem 0 0; }
.auth-card input[type="email"],
.auth-card input[type="password"],
.auth-card input[type="text"],
.auth-card input[type="tel"] { width: 100%; }
.stack { display: grid; gap: 0.9rem; }
.form-actions { display: flex; gap: 0.7rem; flex-wrap: wrap; margin-top: 0.5rem; }

.dash-layout {
    display: grid;
    grid-template-columns: 240px 1fr;
    gap: 1.25rem;
    padding: 2rem 0 4rem;
}
.dash-side {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
    position: sticky; top: 90px;
    align-self: start;
}
.dash-side a {
    display: block; padding: 0.7rem 0.8rem; border-radius: 10px;
    color: var(--muted); font-weight: 600; margin-bottom: 0.2rem;
}
.dash-side a.active, .dash-side a:hover { background: rgba(138, 47, 69, 0.08); color: var(--berry); }
.dash-main { min-width: 0; }

.admin-side-title {
    font-family: var(--font-display);
    font-size: 1.35rem;
    margin: 0.2rem 0 0.8rem;
}
.admin-group { margin-bottom: 0.25rem; }
.admin-group-btn {
    width: 100%;
    text-align: left;
    border: 0;
    background: transparent;
    padding: 0.7rem 0.8rem;
    border-radius: 10px;
    font: inherit;
    font-weight: 700;
    color: var(--muted);
    cursor: pointer;
}
.admin-group-btn:hover { background: rgba(138, 47, 69, 0.08); color: var(--berry); }
.admin-group > summary.admin-group-btn { list-style: none; }
.admin-group > summary.admin-group-btn::-webkit-details-marker,
.admin-group > summary.admin-group-btn::marker { display: none; }
.admin-sub { display: none; padding-left: 0.6rem; }
.admin-group.open .admin-sub,
.admin-group[open] .admin-sub { display: block; }
.admin-sub a { font-size: 0.9rem; }
.admin-sep { border: 0; border-top: 1px solid var(--line); margin: 0.8rem 0; }
.admin-thumb {
    width: 56px; height: 42px; object-fit: cover; border-radius: 8px; border: 1px solid var(--line);
}
.admin-actions { flex-wrap: wrap; }
.admin-table td { vertical-align: top; }
.loc-tree-division { margin-bottom: 1.2rem; }
.loc-tree-district { margin: 0.55rem 0 0.55rem 0.8rem; }
.loc-tree-city { margin: 0.35rem 0 0.35rem 0.9rem; }
.loc-tree-row, .loc-tree-areas li {
    display: flex; justify-content: space-between; align-items: center; gap: 0.6rem;
}
.loc-tree-areas { list-style: none; margin: 0.35rem 0 0; padding-left: 1rem; }
.loc-tree-areas li { padding: 0.25rem 0; border-bottom: 1px dashed var(--line); }
.stats {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.9rem;
    margin-bottom: 1.2rem;
}
.stat {
    background: var(--surface);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 1rem;
}
.stat strong {
    display: block;
    font-family: var(--font-display);
    font-size: 2rem;
}
.table-wrap { overflow: auto; border: 1px solid var(--line); border-radius: var(--radius); background: var(--surface); }
table { width: 100%; border-collapse: collapse; }
th, td { padding: 0.85rem 1rem; text-align: left; border-bottom: 1px solid var(--line); font-size: 0.92rem; }
th { color: var(--muted); font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.05em; }
.status {
    display: inline-block; padding: 0.25rem 0.55rem; border-radius: 8px;
    font-size: 0.75rem; font-weight: 700; text-transform: uppercase;
}
.status.approved { background: rgba(31, 107, 74, 0.12); color: var(--ok); }
.status.pending { background: rgba(154, 103, 0, 0.12); color: var(--warn); }
.status.rejected { background: rgba(155, 28, 28, 0.12); color: var(--err); }

.alert {
    margin: 1rem 0 0;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    font-weight: 500;
}
.alert-success { background: rgba(31, 107, 74, 0.12); color: var(--ok); }
.alert-error { background: rgba(155, 28, 28, 0.12); color: var(--err); }
.alert-info { background: rgba(63, 111, 102, 0.12); color: var(--mint); }

.pagination { display: flex; gap: 0.4rem; flex-wrap: wrap; margin-top: 1.4rem; }
.pagination a, .pagination span {
    min-width: 38px; height: 38px; display: grid; place-items: center;
    border-radius: 10px; border: 1px solid var(--line); background: #fff; font-weight: 600;
}
.pagination .active { background: var(--ink); color: #fff; border-color: var(--ink); }

.site-footer {
    margin-top: 0;
    background: linear-gradient(180deg, #231815, #16100e);
    color: rgba(255,255,255,0.78);
    padding: 3rem 0 1.4rem;
}
.footer-cta {
    background: linear-gradient(135deg, #3a1f28 0%, #231815 55%, #1a1210 100%);
    border-top: 1px solid rgba(255,255,255,.08);
    padding: 2.2rem 0;
}
.footer-cta-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1.2rem;
    flex-wrap: wrap;
}
.footer-cta h2 {
    color: #fff;
    font-size: clamp(1.6rem, 3vw, 2.2rem);
    margin: 0 0 .35rem;
}
.footer-cta p { margin: 0; color: rgba(255,255,255,.72); }
.footer-cta-actions { display: flex; gap: .7rem; flex-wrap: wrap; }
.footer-cta-ghost {
    background: transparent !important;
    color: #fff !important;
    border: 1px solid rgba(255,255,255,.28) !important;
}
.footer-cta-ghost:hover {
    border-color: #d63384 !important;
    color: #d63384 !important;
    padding-left: 0 !important;
}

.footer-stats {
    background: #1d1715;
    border-top: 1px solid rgba(255,255,255,.08);
    border-bottom: 1px solid rgba(255,255,255,.08);
    padding: 1.4rem 0;
}
.footer-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}
.footer-stats-grid strong {
    display: block;
    color: #fff;
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3vw, 2rem);
    line-height: 1.1;
}
.footer-stats-grid span {
    color: rgba(255,255,255,.55);
    font-size: .88rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1fr 1fr;
    gap: 1.6rem;
}
.footer-brand .brand-text strong { color: #fff; }
.footer-brand .brand-text small { color: rgba(255,255,255,0.55); }
.footer-about {
    margin: .9rem 0 1rem;
    color: rgba(255,255,255,.62);
    font-size: .92rem;
    line-height: 1.55;
    max-width: 28ch;
}
.site-footer h4 {
    color: #fff;
    font-size: 1.15rem;
    margin: 0 0 0.85rem;
}
.site-footer .footer-col a {
    display: block;
    color: rgba(255,255,255,0.68);
    margin-bottom: 0.45rem;
    transition: .3s;
}
.site-footer .footer-col a:hover {
    color: #d63384;
    padding-left: 6px;
}

.footer-social {
    display: flex;
    flex-wrap: wrap;
    gap: .55rem;
    margin-bottom: 1rem;
}
.footer-social-link {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,255,255,.06);
    border: 1px solid rgba(255,255,255,.1);
    color: rgba(255,255,255,.8) !important;
    margin: 0 !important;
    padding: 0 !important;
    transition: .3s;
}
.footer-social-link:hover {
    color: #fff !important;
    background: #d63384;
    border-color: #d63384;
    padding-left: 0 !important;
    transform: translateY(-2px);
}
.footer-social-empty { font-size: .82rem; }

.footer-trust {
    display: flex;
    flex-direction: column;
    gap: .35rem;
    font-size: .82rem;
    color: rgba(255,255,255,.55);
}

.footer-newsletter {
    margin-top: 2rem;
    padding-top: 1.4rem;
    border-top: 1px solid rgba(255,255,255,.08);
    display: flex;
    justify-content: space-between;
    gap: 1.2rem;
    align-items: center;
    flex-wrap: wrap;
}
.footer-newsletter h4 { margin-bottom: .25rem; }
.footer-newsletter p { margin: 0; color: rgba(255,255,255,.55); font-size: .9rem; }
.footer-newsletter-form {
    display: flex;
    gap: .55rem;
    flex-wrap: wrap;
    min-width: min(100%, 380px);
}
.footer-newsletter-form input[type="email"] {
    flex: 1;
    min-width: 180px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.14);
    background: rgba(255,255,255,.06);
    color: #fff;
    padding: .75rem 1rem;
}
.footer-newsletter-form input::placeholder { color: rgba(255,255,255,.4); }

.footer-bottom {
    margin-top: 1.6rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,.08);
    font-size: 0.88rem;
    color: rgba(255,255,255,0.5);
    display: flex;
    flex-wrap: wrap;
    gap: .8rem 1.2rem;
    align-items: center;
    justify-content: space-between;
}
.footer-legal {
    display: flex;
    flex-wrap: wrap;
    gap: .85rem;
}
.footer-legal a {
    display: inline !important;
    margin: 0 !important;
    color: rgba(255,255,255,.55);
    transition: .3s;
}
.footer-legal a:hover {
    color: #d63384;
    padding-left: 0 !important;
}
.footer-made { color: rgba(255,255,255,.45); }

.empty {
    padding: 2.5rem 1.5rem; text-align: center;
    border: 1px dashed var(--line); border-radius: var(--radius); background: rgba(255,255,255,0.5);
}
.check-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 0.5rem; }
.check-grid label { display: flex; gap: 0.45rem; align-items: center; font-weight: 500; color: var(--ink); }

.svc-offer { display: grid; gap: 1.1rem; }
.svc-offer-head h3 { margin: 0 0 .2rem; font-size: 1.45rem; }
.svc-offer-head .muted { margin: 0; }
.svc-group-title {
    display: flex; align-items: center; gap: .4rem;
    font-family: var(--font-body); font-size: .92rem; font-weight: 700;
    letter-spacing: .04em; text-transform: uppercase; color: var(--muted);
    margin: 0 0 .55rem;
}
.svc-card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: .7rem;
}
.svc-card {
    display: grid;
    gap: .65rem;
    min-height: 108px;
    padding: .9rem 1rem;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: #fff;
    cursor: pointer;
    position: relative;
    transition: border-color .15s, box-shadow .15s, background .15s;
}
.svc-card input { position: absolute; opacity: 0; pointer-events: none; }
.svc-card-top { display: flex; align-items: flex-start; gap: .55rem; }
.svc-card-icon { font-size: 1.25rem; line-height: 1.2; }
.svc-card-name { flex: 1; font-weight: 700; font-size: .98rem; }
.svc-card-tick {
    width: 1.35rem; height: 1.35rem; border-radius: 999px;
    border: 1.5px solid var(--line); color: transparent;
    display: grid; place-items: center; font-size: .75rem; font-weight: 800; flex-shrink: 0;
}
.svc-card-hint { font-size: .82rem; color: var(--muted); }
.svc-card .svc-card-on { display: none; }
.svc-card.is-on,
.svc-card:has(input:checked) {
    border-color: var(--berry);
    background: linear-gradient(180deg, rgba(138, 47, 69, 0.08), #fff 55%);
    box-shadow: 0 8px 22px rgba(138, 47, 69, 0.08);
}
.svc-card.is-on .svc-card-tick,
.svc-card:has(input:checked) .svc-card-tick {
    border-color: var(--berry);
    background: var(--berry);
    color: #fff;
}
.svc-card.is-on .svc-card-off,
.svc-card:has(input:checked) .svc-card-off { display: none; }
.svc-card.is-on .svc-card-on,
.svc-card:has(input:checked) .svc-card-on { display: inline; color: var(--berry); font-weight: 650; }
.svc-add { border-top: 1px dashed var(--line); padding-top: .9rem; }
.svc-add > summary {
    list-style: none;
    cursor: pointer;
    width: 100%;
    justify-content: center;
    display: flex;
}
.svc-add > summary::-webkit-details-marker,
.svc-add > summary::marker { display: none; }
.svc-add-form { margin-top: .8rem; padding: .9rem; border-radius: 14px; background: rgba(255,255,255,.7); border: 1px solid var(--line); }
.svc-add-grid { display: grid; grid-template-columns: 1fr 1fr; gap: .7rem; }

.inline-form { display: inline; }
.reveal { opacity: 0; transform: translateY(16px); transition: opacity .5s ease, transform .5s ease; }
.reveal.visible { opacity: 1; transform: none; }

@keyframes rise {
    from { opacity: 0; transform: translateY(24px); }
    to { opacity: 1; transform: none; }
}

@media (max-width: 980px) {
    .search-panel form, .search-form-grid, .hero-search-grid, .card-grid, .category-grid, .category-grid-wide, .stats, .footer-grid, .detail-grid, .dash-layout, .layout-split, .popular-cat-grid, .near-split, .home-near {
        grid-template-columns: 1fr;
    }
    .footer-stats-grid { grid-template-columns: repeat(2, 1fr); }
    .footer-about { max-width: none; }
    .hero-search {
        grid-template-columns: 1fr;
    }
    .hero-smart-row { grid-template-columns: 1fr; }
    .hero-search-grid { grid-template-columns: 1fr 1fr; }
    .hero-search-grid .hero-loc { grid-column: 1 / -1; }
    .how-grid, .card-grid-3 { grid-template-columns: 1fr 1fr; }
    .popular-cat-grid { grid-template-columns: repeat(3, 1fr); }
    .category-grid, .category-grid-wide { grid-template-columns: repeat(3, 1fr); }
    .card-grid { grid-template-columns: repeat(2, 1fr); }
    .search-card-grid { grid-template-columns: 1fr; }
    .search-mobile-bar {
        display: grid;
        grid-template-columns: 1fr auto auto;
        gap: 0.45rem;
        margin-bottom: 0.9rem;
        align-items: center;
    }
    .search-mobile-q input {
        padding: 0.55rem 0.75rem;
        border-radius: 12px;
        font-size: 0.9rem;
    }
    .search-mobile-sort {
        width: auto;
        min-width: 6.5rem;
        padding: 0.5rem 0.55rem;
        font-size: 0.82rem;
    }
    .desktop-filter-q,
    .desktop-sort { display: none; }
    .filters-backdrop {
        display: block;
        position: fixed; inset: 0;
        background: rgba(20, 12, 14, 0.45);
        z-index: 75;
    }
    .filters-backdrop[hidden] { display: none; }
    .filters-card {
        position: fixed;
        left: 0; right: 0; bottom: 0;
        top: auto;
        z-index: 80;
        max-height: min(88vh, 640px);
        overflow: auto;
        border-radius: 20px 20px 0 0;
        transform: translateY(110%);
        transition: transform .28s ease;
        padding-bottom: calc(1rem + env(safe-area-inset-bottom));
        height: 0;
        padding: 0;
        border: 0;
        box-shadow: none;
        pointer-events: none;
    }
    .filters-card.is-open {
        transform: none;
        height: auto;
        padding: 0.85rem 0.9rem calc(1rem + env(safe-area-inset-bottom));
        border: 1px solid var(--line);
        box-shadow: 0 -12px 40px rgba(20, 12, 14, 0.18);
        pointer-events: auto;
    }
    .filters-sheet-head {
        display: flex;
        align-items: center;
        justify-content: space-between;
        margin-bottom: 0.55rem;
    }
    .filters-close {
        width: 36px; height: 36px; border: 0; border-radius: 50%;
        background: #f4eee9; font-size: 1.3rem; cursor: pointer;
    }
    .results-toolbar { align-items: flex-start; flex-direction: column; }
    .dash-side { position: static; display: flex; flex-wrap: wrap; gap: 0.3rem; }
    .dash-side a { margin: 0; }
}
@media (max-width: 768px) {
    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        max-width: none;
    }
}
@media (max-width: 720px) {
    body.has-bottom-nav { padding-bottom: calc(76px + env(safe-area-inset-bottom)); }
    .nav-toggle { display: inline-block; }
    .site-nav {
        display: none; position: absolute; left: 1rem; right: 1rem; top: 72px;
        background: #fff; border: 1px solid var(--line); border-radius: 16px;
        padding: 0.8rem; flex-direction: column; align-items: stretch;
        box-shadow: var(--shadow);
        max-height: min(70vh, 520px); overflow: auto;
    }
    .site-nav.open { display: flex; }
    .site-nav > a.nav-link { padding: 0.55rem 0.15rem; }
    .site-nav > a.nav-link::after { display: none; }
    .site-nav > a.nav-link.is-active {
        box-shadow: inset 3px 0 0 var(--berry);
        padding-left: 0.7rem;
    }
    .card-grid, .category-grid, .gallery-grid { grid-template-columns: 1fr 1fr; }
    .search-card-grid { grid-template-columns: 1fr; }
    .hero-shell { padding: 2.4rem 0 1.4rem; }
    .hero, .hero-premium { min-height: auto; }
    .hero-content {
        margin-left: 20px;
        margin-right: 20px;
        max-width: none;
    }
    .hero-search-grid { grid-template-columns: 1fr; }
    .hero-smart-row { grid-template-columns: 1fr; }
    .hero h1 { max-width: 16ch; }
    .hero-search { padding: 0.85rem; }
    .nav-actions { width: 100%; justify-content: stretch; flex-wrap: wrap; }
    .how-grid, .card-grid-3 { grid-template-columns: 1fr; }
    .add-parlour-btn { padding: 9px 12px; }
    .add-parlour-btn .apb-arrow { display: none; }
    .check-grid { grid-template-columns: 1fr; }
    .svc-add-grid { grid-template-columns: 1fr; }
    .svc-card-grid { grid-template-columns: 1fr; }
    .mobile-bottom-nav {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        position: fixed;
        left: 0; right: 0; bottom: 0;
        z-index: 60;
        background: rgba(255, 252, 249, 0.96);
        backdrop-filter: blur(12px);
        border-top: 1px solid var(--line);
        padding: 0.4rem 0.3rem calc(0.4rem + env(safe-area-inset-bottom));
    }
    .mobile-bottom-nav a {
        display: grid;
        justify-items: center;
        gap: 0.15rem;
        padding: 0.35rem 0.2rem;
        color: var(--muted);
        font-size: 0.68rem;
        font-weight: 700;
    }
    .mobile-bottom-nav a:hover,
    .mobile-bottom-nav a:focus { color: var(--berry); }
    .site-footer { margin-bottom: 0; padding-bottom: 1.2rem; }
}
@media (max-width: 480px) {
    .card-grid, .category-grid, .gallery-grid { grid-template-columns: 1fr; }
    .popular-cat-grid { grid-template-columns: repeat(2, 1fr); }
    .popular-cat { min-height: 200px; }
    .parlour-card-foot { flex-wrap: wrap; }
    .search-mobile-bar { grid-template-columns: 1fr; }
    .search-mobile-bar .btn,
    .search-mobile-sort { width: 100%; }
}

/* —— Admin: luxury maroon chrome —— */
body.admin-body {
    --berry: #7A2638;
    --berry-deep: #641C2D;
    --line: #E9E2E0;
    --bg: #F8F6F5;
    background: #F8F6F5;
}
body.admin-body .site-header {
    background: rgba(248, 246, 245, 0.92);
}
.admin-layout {
    grid-template-columns: 268px 1fr;
    align-items: start;
}
.admin-side {
    background: #fff;
    border: 1px solid #E9E2E0;
    border-radius: 16px;
    padding: 1.05rem 0.7rem 1rem;
    box-shadow: 0 8px 28px rgba(56, 28, 22, 0.04);
}
.admin-side-title {
    font-size: 1.15rem;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    color: #7A2638;
    padding: 0.15rem 0.75rem 0.85rem;
    margin: 0;
}
.admin-side a.admin-nav,
.admin-side .admin-group-btn,
.admin-side summary.admin-group-btn {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    width: 100%;
    margin: 0 0 0.12rem;
    padding: 0.62rem 0.75rem;
    border-radius: 10px;
    border: 0;
    background: transparent;
    color: #6d5c54;
    font: inherit;
    font-weight: 600;
    font-size: 0.92rem;
    text-align: left;
    cursor: pointer;
    box-shadow: inset 3px 0 0 transparent;
    transition: background .18s ease, color .18s ease, box-shadow .18s ease;
}
.admin-nav-ico {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    display: grid;
    place-items: center;
    color: inherit;
    opacity: 0.86;
}
.admin-nav-ico svg {
    width: 18px;
    height: 18px;
    stroke-linecap: round;
    stroke-linejoin: round;
}
.admin-side a.admin-nav:hover,
.admin-side .admin-group-btn:hover,
.admin-side summary.admin-group-btn:hover {
    background: rgba(122, 38, 56, 0.07);
    color: #7A2638;
}
.admin-side a.admin-nav.active,
.admin-side .admin-group-btn.is-current,
.admin-side summary.admin-group-btn.is-current {
    background: rgba(122, 38, 56, 0.1);
    color: #7A2638;
    font-weight: 700;
    box-shadow: inset 3px 0 0 #7A2638;
}
.admin-side .admin-sub {
    padding: 0.1rem 0 0.35rem 0.55rem;
}
.admin-side .admin-sub a {
    display: flex;
    align-items: center;
    margin: 0 0 0.08rem;
    padding: 0.48rem 0.7rem 0.48rem 0.85rem;
    border-radius: 9px;
    font-size: 0.86rem;
    font-weight: 600;
    color: #6d5c54;
    box-shadow: inset 3px 0 0 transparent;
}
.admin-side .admin-sub a:hover,
.admin-side .admin-sub a.active {
    background: rgba(122, 38, 56, 0.07);
    color: #7A2638;
}
.admin-side .admin-sub a.active {
    font-weight: 700;
    box-shadow: inset 3px 0 0 #7A2638;
}
.admin-nav-badge {
    margin-left: auto;
    min-width: 1.25rem;
    padding: 0.05rem 0.4rem;
    border-radius: 999px;
    background: #7A2638;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    text-align: center;
}
.admin-sep { margin: 0.65rem 0.55rem; }

.cat-admin { display: grid; gap: 1.15rem; }
.cat-admin-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}
.cat-admin-head h2 {
    font-size: clamp(1.85rem, 3vw, 2.35rem);
    margin: 0 0 0.2rem;
    color: #1f1714;
}
.cat-admin-head p {
    margin: 0;
    color: #6d5c54;
    max-width: 42ch;
    font-size: 0.95rem;
}
.cat-admin-actions { display: flex; gap: 0.55rem; flex-wrap: wrap; }
.cat-admin-actions .btn-primary { box-shadow: 0 8px 18px rgba(122, 38, 56, 0.16); }

.cat-add-panel {
    display: grid;
    grid-template-columns: 2fr 1fr 0.7fr auto;
    gap: 0.7rem;
    align-items: end;
    background: #fff;
    border: 1px solid #E9E2E0;
    border-radius: 16px;
    padding: 1rem 1.1rem;
    box-shadow: 0 8px 24px rgba(56, 28, 22, 0.04);
}
.cat-add-panel-actions { display: flex; gap: 0.45rem; }

.cat-tile-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.9rem;
}
.cat-tile {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    background: #fff;
    border: 1px solid #E9E2E0;
    border-radius: 16px;
    color: inherit;
    box-shadow: 0 6px 18px rgba(56, 28, 22, 0.04);
    transition: transform .2s ease, box-shadow .2s ease, border-color .2s ease, background .2s ease;
}
.cat-tile:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 28px rgba(56, 28, 22, 0.08);
    border-color: rgba(122, 38, 56, 0.22);
}
.cat-tile-media {
    position: relative;
    display: block;
    aspect-ratio: 16 / 10;
    overflow: hidden;
    background: linear-gradient(160deg, #f3e6e2, #e7d2cc);
}
.cat-tile-media[data-key="makeup"] { background: linear-gradient(160deg, #e8b4b8, #7A2638); }
.cat-tile-media[data-key="hair"] { background: linear-gradient(160deg, #e4c8a8, #8a5340); }
.cat-tile-media[data-key="facial"] { background: linear-gradient(160deg, #f0ddd0, #c08a72); }
.cat-tile-media[data-key="nails"] { background: linear-gradient(160deg, #f0c9d4, #9a3d5c); }
.cat-tile-media[data-key="bridal"] { background: linear-gradient(160deg, #ead7c4, #7A2638); }
.cat-tile-media[data-key="spa"] { background: linear-gradient(160deg, #d7e4dc, #3f6f66); }
.cat-tile-media img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.cat-tile-emoji {
    position: absolute;
    right: 0.7rem;
    bottom: 0.55rem;
    font-size: 1.85rem;
    filter: drop-shadow(0 6px 10px rgba(20, 8, 12, 0.25));
    z-index: 1;
}
.cat-tile-body {
    display: grid;
    gap: 0.2rem;
    padding: 0.8rem 0.9rem 0.9rem;
}
.cat-tile-name {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-weight: 700;
    font-size: 1.02rem;
}
.cat-tile-check {
    display: inline-grid;
    place-items: center;
    width: 1.15rem;
    height: 1.15rem;
    border-radius: 50%;
    background: currentColor;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
}
.cat-tile.is-selected .cat-tile-check {
    background: #fff;
    color: #7A2638;
}
.cat-tile-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #6d5c54;
    font-size: 0.82rem;
    font-weight: 600;
}
.cat-tile-arrow { color: #c4b4ae; transition: transform .2s ease, color .2s ease; }
.cat-tile:hover .cat-tile-arrow { color: #7A2638; transform: translateX(3px); }
.cat-tile.is-selected {
    background: #7A2638;
    border-color: #7A2638;
    color: #fff;
    box-shadow: 0 12px 28px rgba(122, 38, 56, 0.2);
}
.cat-tile.is-selected .cat-tile-meta,
.cat-tile.is-selected .cat-tile-arrow { color: rgba(255,255,255,0.78); }

.cat-services-panel {
    background: #fff;
    border: 1px solid #E9E2E0;
    border-radius: 16px;
    padding: 1.15rem 1.2rem 1.2rem;
    box-shadow: 0 8px 24px rgba(56, 28, 22, 0.04);
}
.cat-services-head {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}
.cat-services-head h3 {
    margin: 0 0 0.15rem;
    font-size: 1.45rem;
}
.cat-services-head p { margin: 0; color: #6d5c54; font-size: 0.9rem; }
.cat-search {
    position: relative;
    min-width: min(100%, 260px);
}
.cat-search-ico {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.85rem;
    pointer-events: none;
}
.cat-search input {
    width: 100%;
    padding: 0.7rem 0.85rem 0.7rem 2.15rem;
    border: 1px solid #E9E2E0;
    border-radius: 12px;
    background: #F8F6F5;
    font: inherit;
}
.cat-pill-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
}
.cat-pill {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.55rem 0.85rem;
    border: 1px solid #E9E2E0;
    border-radius: 999px;
    background: #F8F6F5;
        font-weight: 600;
    font-size: 0.9rem;
    transition: border-color .18s ease, box-shadow .18s ease, background .18s ease;
}
.cat-pill:hover {
    background: #fff;
    border-color: rgba(122, 38, 56, 0.28);
    box-shadow: 0 6px 16px rgba(56, 28, 22, 0.06);
    padding-right: 0.45rem;
}
.cat-pill-count {
    font-size: 0.72rem;
    font-weight: 700;
    color: #7A2638;
    background: rgba(122, 38, 56, 0.1);
    border-radius: 999px;
    padding: 0.08rem 0.4rem;
}
.cat-pill-actions {
    display: none;
    align-items: center;
    gap: 0.15rem;
}
.cat-pill:hover .cat-pill-actions,
.cat-pill:focus-within .cat-pill-actions { display: inline-flex; }
.cat-pill-btn {
    border: 0;
    background: transparent;
    color: #7A2638;
    font: inherit;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.2rem 0.4rem;
    border-radius: 8px;
    cursor: pointer;
}
.cat-pill-btn:hover { background: rgba(122, 38, 56, 0.08); }
.cat-pill-btn.is-danger { color: #9b1c1c; }
.cat-pill-actions form { margin: 0; }
.cat-empty { margin: 0.4rem 0 0.8rem; }
.cat-services-foot {
    display: flex;
    justify-content: center;
    margin-top: 1.2rem;
    padding-top: 0.2rem;
}
.cat-edit-dialog {
    border: 1px solid #E9E2E0;
    border-radius: 16px;
    padding: 0;
    width: min(420px, 92vw);
    box-shadow: 0 18px 50px rgba(56, 28, 22, 0.16);
}
.cat-edit-dialog::backdrop { background: rgba(31, 23, 20, 0.28); }
.cat-edit-form { display: grid; gap: 0.7rem; padding: 1.15rem 1.2rem 1.2rem; }
.cat-edit-form h3 { margin: 0; }
.cat-edit-active { display: flex; align-items: center; gap: 0.45rem; font-weight: 600; }

@media (max-width: 980px) {
    .cat-tile-grid { grid-template-columns: repeat(2, 1fr); }
    .cat-add-panel { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 720px) {
    .admin-layout { grid-template-columns: 1fr; }
    .cat-tile-grid { grid-template-columns: 1fr 1fr; }
    .cat-add-panel { grid-template-columns: 1fr; }
    .cat-pill:hover { padding-right: 0.85rem; }
    .cat-pill-actions { display: inline-flex; }
}
