/* =========================================================================
   African Pinkylicious - app UI (v2)
   Mobile-first "app" layout: pale pink canvas, white app surface, plum
   headings, pink actions. On desktop the surface becomes a centred column so
   it reads the same everywhere.
   ========================================================================= */

:root {
    --app-pink: #ed3d8b;
    --app-pink-soft: #ff5ea5;
    --app-pink-tint: #fbe0ec;
    --app-pink-tint-2: #fdf0f6;
    --app-plum: #4c1339;
    --app-plum-soft: #7a4062;
    --app-line: #f6c4dc;
    --app-canvas: #fbe4ee;
    --app-ink: #5f5f68;
    --app-radius: 16px;
}

* {
    -webkit-tap-highlight-color: rgba(237, 61, 139, 0.12);
}

.app-body {
    margin: 0;
    padding: 0;
    font-family: 'Poppins', system-ui, -apple-system, 'Segoe UI', sans-serif;
    font-size: 15px;
    line-height: 1.6;
    color: var(--app-ink);
    background-color: var(--app-canvas);
    -webkit-font-smoothing: antialiased;
}
.app-body * {
    box-sizing: border-box;
}
.app-body h1,
.app-body h2,
.app-body h3,
.app-body h4,
.app-body h5 {
    margin: 0;
    font-family: inherit;
    font-weight: 700;
    color: var(--app-plum);
    line-height: 1.25;
}
.app-body a {
    color: var(--app-pink);
    text-decoration: none;
}
.app-body img {
    max-width: 100%;
}
.app-body button {
    font-family: inherit;
}
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ------------------------------------------------------------------- shell */
.app-shell {
    position: relative;
    min-height: 100vh;
    background-color: #fff;
}
.app-main {
    padding-bottom: 34px;
}

/* ----------------------------------------------------------------- app bar */
.app-bar {
    position: sticky;
    top: 0;
    z-index: 30; /* under the drawer (60) and its backdrop (55) */
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 14px 20px 10px;
    background-color: #fff;
    box-shadow: 0 1px 0 rgba(246, 196, 220, 0.55);
}
/* pushes anything after it (the page action) to the right edge */
.app-bar-logo {
    margin-right: auto;
    line-height: 0;
}
.app-bar-logo img {
    display: block;
    width: auto;
    height: 26px;
}
.app-menu-btn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 5px;
    width: 34px;
    height: 30px;
    padding: 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.app-menu-btn span {
    display: block;
    height: 4px;
    background-color: var(--app-pink);
    border-radius: 4px;
}
.app-menu-btn span:nth-child(1) { width: 28px; }
.app-menu-btn span:nth-child(2) { width: 22px; }
.app-menu-btn span:nth-child(3) { width: 28px; }
.app-bar-action {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 7px 14px;
    font-size: 12px;
    font-weight: 600;
    color: var(--app-pink);
    background-color: var(--app-pink-tint);
    border: 0;
    border-radius: 100px;
}

/* ---------------------------------------------------------------- greeting */
.app-greeting {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
    padding: 6px 20px 18px;
}
.app-greeting h1 {
    font-size: 27px;
    letter-spacing: -0.4px;
}
.app-greeting p {
    margin: 2px 0 0;
    font-size: 15px;
    color: var(--app-plum-soft);
}
.app-lotus {
    flex: 0 0 auto;
    font-size: 46px;
    line-height: 1;
    color: var(--app-pink-soft);
}

/* ------------------------------------------------------------ hero slider */
.app-hero {
    padding: 0 0 22px 20px;
}
.app-hero-track {
    display: flex;
    gap: 14px;
    padding-right: 20px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.app-hero-track::-webkit-scrollbar {
    display: none;
}
.app-hero-card {
    position: relative;
    flex: 0 0 84%;
    max-width: 340px;
    overflow: hidden;
    scroll-snap-align: start;
    border-radius: var(--app-radius);
    background-color: var(--app-pink-tint);
}
.app-hero-card img {
    display: block;
    width: 100%;
    height: 190px;
    object-fit: cover;
}
/* offer chip - white pill with the pink tail, as in the design */
.app-hero-offer {
    position: absolute;
    right: 0;
    bottom: 18px;
    display: flex;
    align-items: center;
    min-height: 40px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--app-plum);
    background-color: #fff;
    border-right: 7px solid var(--app-pink);
    border-radius: 100px 0 0 100px;
    box-shadow: -6px 6px 18px rgba(76, 19, 57, 0.14);
}
.app-hero-offer span {
    color: var(--app-pink);
}
.app-hero-dots {
    display: flex;
    justify-content: center;
    gap: 6px;
    margin-top: 14px;
    padding-right: 20px;
}
.app-hero-dot {
    width: 7px;
    height: 7px;
    background-color: var(--app-line);
    border: 0;
    border-radius: 50%;
    padding: 0;
}
.app-hero-dot.is-active {
    width: 20px;
    border-radius: 100px;
    background-color: var(--app-pink);
}

/* -------------------------------------------------------------------- tabs */
.app-tabs {
    position: relative;
    display: flex;
    margin: 0 20px;
    border-top: 1.5px solid var(--app-pink);
    border-bottom: 1.5px solid var(--app-pink);
}
.app-tab {
    position: relative;
    flex: 1 1 0;
    padding: 13px 4px;
    font-size: 14px;
    font-weight: 600;
    color: var(--app-pink-soft);
    background: none;
    border: 0;
    cursor: pointer;
}
.app-tab.is-active {
    color: var(--app-plum);
}
.app-tab.is-active::after {
    content: "";
    position: absolute;
    bottom: -1.5px;
    left: 50%;
    width: 44%;
    height: 4px;
    background-color: var(--app-pink);
    border-radius: 4px 4px 0 0;
    transform: translateX(-50%);
}
.app-panel {
    padding: 22px 20px 0;
}
.app-panel[hidden] {
    display: none;
}

/* --------------------------------------------------------- service tiles */
.app-tiles {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px 14px;
}
.app-tile {
    display: block;
    color: inherit;
}
.app-tile-media {
    /* a span is inline by default, which stops overflow/radius clipping */
    display: block;
    position: relative;
    margin-bottom: 12px;
    overflow: hidden;
    border-radius: 14px;
    background-color: var(--app-pink-tint);
}
.app-tile-media img {
    display: block;
    width: 100%;
    /* the width/height attributes reserve space, but they also set a CSS
       height - which would beat aspect-ratio unless we hand it back to auto */
    height: auto;
    aspect-ratio: 4 / 3;
    object-fit: cover;
    border-radius: 14px;
    transition: transform 0.4s ease;
}
.app-tile:hover .app-tile-media img,
.app-tile:focus .app-tile-media img {
    transform: scale(1.05);
}
.app-tile-price {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 3px 10px;
    font-size: 11px;
    font-weight: 700;
    color: #fff;
    background-color: rgba(237, 61, 139, 0.92);
    border-radius: 100px;
}
.app-tile-name {
    margin: 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--app-plum);
    line-height: 1.3;
}
.app-tile-meta {
    display: block;
    font-size: 12px;
    font-weight: 400;
    color: var(--app-plum-soft);
}
/* --------------------------------------------------------- about / reviews */
.app-about-block {
    margin-bottom: 22px;
}
.app-about-block h3 {
    margin-bottom: 8px;
    font-size: 16px;
}
.app-about-block p {
    margin: 0;
    font-size: 14px;
    color: var(--app-ink);
}
.app-values {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0;
    list-style: none;
}
.app-values li {
    padding: 14px 12px;
    text-align: center;
    background-color: var(--app-pink-tint-2);
    border-radius: 12px;
}
.app-values img {
    width: 38px;
    height: 38px;
    margin-bottom: 8px;
    object-fit: contain;
}
.app-values strong {
    display: block;
    font-size: 13px;
    color: var(--app-plum);
}
.app-values span {
    font-size: 11px;
    color: var(--app-plum-soft);
}
.app-info-list {
    padding: 0;
    margin: 0;
    list-style: none;
}
.app-info-list li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 11px 0;
    border-bottom: 1px solid #f7ecf2;
}
.app-info-list li:last-child {
    border-bottom: 0;
}
.app-info-list i {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 14px;
    color: var(--app-pink);
    background-color: var(--app-pink-tint);
    border-radius: 10px;
}
.app-info-list strong {
    display: block;
    font-size: 14px;
    color: var(--app-plum);
}
.app-info-list span {
    font-size: 12px;
    color: var(--app-plum-soft);
}
.app-hours {
    padding: 0;
    margin: 0;
    list-style: none;
}
.app-hours li {
    display: flex;
    justify-content: space-between;
    padding: 9px 12px;
    font-size: 13px;
    border-radius: 8px;
}
.app-hours li:nth-child(odd) {
    background-color: var(--app-pink-tint-2);
}
.app-hours strong {
    color: var(--app-plum);
    font-weight: 600;
}
.app-review {
    padding: 16px 18px;
    margin-bottom: 12px;
    background-color: var(--app-pink-tint-2);
    border-radius: 14px;
}
.app-review p {
    margin: 0 0 12px;
    font-size: 13.5px;
    font-style: italic;
    color: var(--app-ink);
}
.app-review-who {
    display: flex;
    align-items: center;
    gap: 10px;
}
.app-avatar {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    font-size: 13px;
    font-weight: 700;
    color: #fff;
    background: linear-gradient(135deg, var(--app-pink-soft), var(--app-pink));
    border-radius: 50%;
}
.app-review-who strong {
    display: block;
    font-size: 13px;
    color: var(--app-plum);
}
.app-review-who span {
    font-size: 11px;
    color: var(--app-plum-soft);
}
.app-empty {
    padding: 26px 16px;
    font-size: 13px;
    color: var(--app-plum-soft);
    text-align: center;
    background-color: var(--app-pink-tint-2);
    border-radius: 12px;
}

/* ----------------------------------------------------------- booking page */
.app-cover {
    position: relative;
}
.app-cover img {
    display: block;
    width: 100%;
    height: 210px;
    object-fit: cover;
}
.app-cover-back {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 38px;
    height: 38px;
    font-size: 14px;
    color: var(--app-plum);
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 50%;
    box-shadow: 0 4px 12px rgba(76, 19, 57, 0.18);
}
.app-cover-tag {
    position: absolute;
    right: 0;
    bottom: 16px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 700;
    color: var(--app-plum);
    background-color: #fff;
    border-right: 7px solid var(--app-pink);
    border-radius: 100px 0 0 100px;
}
.app-section-title {
    margin: 0;
    padding: 20px 20px 16px;
    font-size: 21px;
    text-align: center;
}
.app-month {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 20px;
    padding: 11px 14px;
    background-color: var(--app-pink-tint);
    border-radius: 8px;
}
.app-month strong {
    font-size: 15px;
    font-weight: 600;
    color: var(--app-plum);
}
.app-arrow {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    padding: 0;
    font-size: 13px;
    color: var(--app-pink);
    background: none;
    border: 0;
    cursor: pointer;
}
.app-arrow:disabled {
    color: #ddc3d1;
    cursor: not-allowed;
}
.app-days {
    display: flex;
    align-items: center;
    gap: 4px;
    padding: 14px 12px 16px;
}
.app-days-track {
    display: flex;
    flex: 1 1 auto;
    gap: 2px;
    justify-content: space-between;
    overflow: hidden;
}
.app-day {
    flex: 1 1 0;
    min-width: 0;
    padding: 4px 0;
    background: none;
    border: 0;
    cursor: pointer;
}
.app-day small {
    display: block;
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.3px;
    color: var(--app-plum);
    text-transform: uppercase;
}
.app-day b {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    margin: 7px auto 0;
    font-size: 15px;
    font-weight: 600;
    color: var(--app-pink);
    border-radius: 50%;
}
.app-day.is-selected b {
    color: #fff;
    background-color: var(--app-pink);
}
.app-day:disabled {
    cursor: not-allowed;
}
.app-day:disabled small,
.app-day:disabled b {
    color: #d9c2cf;
}
.app-rule {
    height: 1.5px;
    margin: 0 20px;
    background-color: var(--app-pink);
    border: 0;
}
.app-slot-head {
    margin: 0;
    padding: 18px 20px 14px;
    font-size: 17px;
    text-align: center;
}
.app-slots {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    padding: 0 20px 20px;
}
.app-slot {
    padding: 11px 4px;
    font-size: 13px;
    font-weight: 600;
    color: var(--app-plum);
    background-color: var(--app-pink-tint);
    border: 1.5px solid transparent;
    border-radius: 8px;
    cursor: pointer;
}
.app-slot.is-selected {
    color: #fff;
    background-color: var(--app-pink);
}
.app-slot:disabled {
    color: #cbb3c0;
    background-color: #f7f2f5;
    cursor: not-allowed;
    text-decoration: line-through;
}
.app-slots-empty {
    grid-column: 1 / -1;
    padding: 22px 14px;
    font-size: 13px;
    color: var(--app-plum-soft);
    text-align: center;
    background-color: var(--app-pink-tint-2);
    border-radius: 12px;
}
.app-total {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 20px;
    font-size: 16px;
    font-weight: 600;
    color: var(--app-plum);
}
.app-total span:last-child {
    font-size: 19px;
    font-weight: 700;
    color: var(--app-pink);
}
.app-total-note {
    margin: -8px 0 0;
    padding: 0 20px 4px;
    font-size: 11.5px;
    color: var(--app-plum-soft);
}

/* ----------------------------------------------------------------- buttons */
/* `.app-body a` would otherwise win over `.app-btn` and paint the label pink */
.app-body a.app-btn,
.app-body a.app-btn-ghost,
.app-btn {
    color: #fff;
}
.app-body a.app-btn-ghost {
    color: var(--app-pink);
}
.app-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    width: 100%;
    padding: 16px 22px;
    font-size: 16px;
    font-weight: 600;
    color: #fff;
    background-color: var(--app-pink);
    border: 0;
    border-radius: 100px;
    box-shadow: 0 10px 24px rgba(237, 61, 139, 0.3);
    cursor: pointer;
    transition: transform 0.15s, box-shadow 0.2s, opacity 0.2s;
}
.app-btn:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 28px rgba(237, 61, 139, 0.34);
}
.app-btn:disabled {
    opacity: 0.55;
    box-shadow: none;
    cursor: not-allowed;
}
/* submitting state: keep it clearly "working", not just greyed out */
.app-btn.is-busy {
    opacity: 1;
    cursor: progress;
    background-color: var(--app-pink);
}
.app-btn.is-busy,
.app-btn-ghost.is-busy {
    pointer-events: none;
}
.app-btn-spinner {
    display: inline-block;
    flex: 0 0 auto;
    width: 17px;
    height: 17px;
    border: 2px solid rgba(255, 255, 255, 0.45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: app-spin 0.7s linear infinite;
}
.app-btn-ghost.is-busy .app-btn-spinner {
    border-color: rgba(237, 61, 139, 0.3);
    border-top-color: var(--app-pink);
}
@keyframes app-spin {
    to { transform: rotate(360deg); }
}
.app-btn-ghost {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 15px 22px;
    font-size: 15px;
    font-weight: 600;
    color: var(--app-pink);
    background-color: var(--app-pink-tint);
    border: 0;
    border-radius: 100px;
}
.app-cta {
    padding: 4px 20px 24px;
}

/* ------------------------------------------------- lazy list / loader bits */
.app-loader {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 9px;
    padding: 24px 12px;
    font-size: 13px;
    color: var(--app-plum-soft);
}
.app-spinner {
    display: inline-block;
    width: 15px;
    height: 15px;
    border: 2px solid var(--app-pink-tint);
    border-top-color: var(--app-pink);
    border-radius: 50%;
    animation: app-spin 0.7s linear infinite;
}
@keyframes app-spin {
    to { transform: rotate(360deg); }
}

/* ------------------------------------------------------- sticky contact bar */
.app-contactbar {
    position: fixed;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 45;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    padding: 10px 16px calc(10px + env(safe-area-inset-bottom));
    background-color: #fff;
    border-top: 1px solid #f7dce9;
    box-shadow: 0 -6px 22px rgba(76, 19, 57, 0.12);
}
.app-contactbar-number {
    display: flex;
    align-items: center;
    gap: 10px;
    min-width: 0;
    color: var(--app-plum);
}
.app-contactbar-number > i {
    flex: 0 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    font-size: 15px;
    color: var(--app-pink);
    background-color: var(--app-pink-tint);
    border-radius: 12px;
}
.app-contactbar-number small {
    display: block;
    font-size: 10.5px;
    color: var(--app-plum-soft);
}
.app-contactbar-number strong {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: var(--app-plum);
    white-space: nowrap;
}
.app-contactbar-actions {
    display: flex;
    flex: 0 0 auto;
    gap: 8px;
}
.app-contactbar-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    color: #fff;
    border-radius: 50%;
    transition: transform 0.15s;
}
.app-contactbar-btn:hover {
    transform: translateY(-2px);
}
.app-body a.app-contactbar-btn {
    color: #fff;
}
.app-contactbar-btn.is-call {
    background-color: var(--app-pink);
    box-shadow: 0 6px 16px rgba(237, 61, 139, 0.34);
}
.app-contactbar-btn.is-whatsapp {
    background-color: #25d366;
    box-shadow: 0 6px 16px rgba(37, 211, 102, 0.34);
}
/* keep content clear of the bar */
.app-main,
.app-auth {
    padding-bottom: 92px;
}

/* ------------------------------------------------------------------ drawer */
.app-drawer {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 60;
    display: flex;
    flex-direction: column;
    width: 272px;
    max-width: 82vw;
    padding: 24px 18px;
    overflow-y: auto;
    background-color: #fff;
    transform: translateX(-102%);
    transition: transform 0.28s ease;
}
.app-drawer.is-open {
    transform: translateX(0);
    box-shadow: 14px 0 40px rgba(76, 19, 57, 0.2);
}
.app-drawer-head {
    display: flex;
    align-items: center;
    gap: 12px;
    padding-bottom: 18px;
    margin-bottom: 14px;
    border-bottom: 1px solid #f7ecf2;
}
.app-drawer-head strong {
    display: block;
    font-size: 15px;
    color: var(--app-plum);
}
.app-drawer-head span {
    font-size: 12px;
    color: var(--app-plum-soft);
}
.app-drawer a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 14px;
    font-size: 14.5px;
    font-weight: 500;
    color: var(--app-plum);
    border-radius: 10px;
}
.app-drawer a i {
    width: 18px;
    font-size: 15px;
    color: var(--app-pink-soft);
    text-align: center;
}
.app-drawer a:hover,
.app-drawer a.is-active {
    color: var(--app-pink);
    background-color: var(--app-pink-tint-2);
}
.app-drawer a.is-danger {
    color: #c62828;
}
.app-drawer-foot {
    margin-top: auto;
    padding-top: 16px;
    font-size: 11px;
    color: #b9a2ae;
}
.app-backdrop {
    position: fixed;
    inset: 0;
    z-index: 55;
    background-color: rgba(48, 12, 32, 0.5);
}
.app-backdrop[hidden] {
    display: none;
}

/* ------------------------------------------------------------------ toasts */
.app-toasts {
    position: fixed;
    top: 12px;
    right: 12px;
    left: 12px;
    z-index: 80;
    display: flex;
    flex-direction: column;
    gap: 8px;
    pointer-events: none;
}
.app-toast {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 13px 16px;
    font-size: 13.5px;
    color: var(--app-plum);
    background-color: #fff;
    border-left: 4px solid var(--app-pink);
    border-radius: 10px;
    box-shadow: 0 10px 26px rgba(76, 19, 57, 0.18);
    pointer-events: auto;
}
.app-toast.is-success { border-left-color: #3f9e6b; }
.app-toast.is-error { border-left-color: #d3324f; }
.app-toast.is-warning { border-left-color: #e79b1c; }
.app-toast button {
    margin-left: auto;
    padding: 0 2px;
    font-size: 11px;
    color: #b9a2ae;
    background: none;
    border: 0;
    cursor: pointer;
}

/* -------------------------------------------------------------------- auth */
.app-auth {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding: 30px 22px 34px;
    background:
        radial-gradient(120% 70% at 50% 0%, #fde2ee 0%, rgba(253, 226, 238, 0) 62%),
        #fff;
}
.app-auth-brand {
    text-align: center;
    padding: 12px 0 22px;
}
.app-auth-brand .app-lotus {
    font-size: 54px;
}
.app-auth-brand img {
    height: 46px;
    margin-bottom: 8px;
}
.app-auth-head {
    margin-bottom: 22px;
    text-align: center;
}
.app-auth-head h1 {
    font-size: 25px;
    margin-bottom: 6px;
}
.app-auth-head p {
    margin: 0;
    font-size: 14px;
    color: var(--app-plum-soft);
}
.app-gate-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 15px;
    margin-bottom: 20px;
    font-size: 13px;
    color: var(--app-plum);
    background-color: var(--app-pink-tint-2);
    border-radius: 12px;
}
.app-gate-note i {
    color: var(--app-pink);
}
.app-field {
    margin-bottom: 14px;
}
.app-field label {
    display: block;
    margin-bottom: 6px;
    font-size: 12.5px;
    font-weight: 600;
    color: var(--app-plum);
}
.app-field input,
.app-field select,
.app-field textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: inherit;
    font-size: 15px;
    color: var(--app-plum);
    background-color: #fff;
    border: 1.5px solid var(--app-line);
    border-radius: 12px;
    outline: none;
    transition: border-color 0.2s, box-shadow 0.2s;
    -webkit-appearance: none;
    appearance: none;
}
.app-field input::placeholder {
    color: #c7aeba;
}
.app-field input:focus,
.app-field select:focus,
.app-field textarea:focus {
    border-color: var(--app-pink);
    box-shadow: 0 0 0 3px rgba(237, 61, 139, 0.13);
}
.app-field .error-message,
.app-error {
    display: block;
    margin-top: 5px;
    font-size: 12px;
    color: #d3324f;
}
.app-auth-actions {
    margin-top: 22px;
}
.app-auth-alt {
    margin: 18px 0 0;
    font-size: 13.5px;
    color: var(--app-plum-soft);
    text-align: center;
}
.app-auth-alt a {
    font-weight: 600;
}
.app-auth-foot {
    margin-top: auto;
    padding-top: 24px;
    font-size: 11.5px;
    color: #b9a2ae;
    text-align: center;
}
.app-auth-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

/* --------------------------------------------------------------- >= 576px */
@media screen and (min-width: 576px) {
    .app-hero-card {
        flex-basis: 62%;
    }
    .app-tiles {
        grid-template-columns: repeat(3, 1fr);
    }
    .app-cover img {
        height: 260px;
    }
}

/* --------------------------------------------------------------- >= 768px */
@media screen and (min-width: 768px) {
    /* the app surface becomes a centred column - same UI, comfortable on desktop */
    .app-body {
        padding: 26px 16px;
    }
    .app-shell,
    .app-auth {
        max-width: 560px;
        min-height: 0;
        margin: 0 auto;
        /* clip, not hidden: `hidden` makes this a scroll container, which would
           stop the sticky app bar from sticking to the viewport */
        overflow: clip;
        border-radius: 26px;
        box-shadow: 0 24px 60px rgba(76, 19, 57, 0.16);
    }
    .app-auth {
        min-height: calc(100vh - 52px);
    }
    .app-toasts {
        right: 50%;
        left: auto;
        width: 340px;
        transform: translateX(50%);
    }
    .app-contactbar {
        right: 50%;
        left: auto;
        width: 560px;
        max-width: calc(100vw - 32px);
        transform: translateX(50%);
        border-radius: 20px 20px 0 0;
    }
    .app-tiles {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ------------------------------------------------- about: owner introduction */
/* The salon photo is a wide, background-free cutout, so she gets a full-width
   stage instead of a narrow column - cropping her into one lost her hand. */
.app-owner {
    margin-bottom: 20px;
}
.app-owner-photo {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: var(--app-radius);
    /* wash behind the transparent PNG so there is no visible photo edge */
    background: radial-gradient(115% 95% at 50% 108%,
                var(--app-pink-tint) 0%,
                var(--app-pink-tint-2) 52%,
                #fff 100%);
}
.app-owner-photo img,
.app-owner-monogram {
    display: block;
    width: 100%;
    height: auto;
    /* matches the supplied banner, so the box never jumps as it loads */
    aspect-ratio: 707 / 473;
}
.app-owner-photo img {
    object-fit: contain;
    /* she stands on the base of the stage rather than floating */
    object-position: center bottom;
}
/* stand-in when no photo has been added */
.app-owner-monogram {
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 44px;
    color: var(--app-pink);
}
.app-owner-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 6px 14px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.4px;
    text-transform: uppercase;
    color: var(--app-pink);
    background-color: rgba(255, 255, 255, 0.92);
    border-radius: 100px;
    box-shadow: 0 4px 14px rgba(76, 19, 57, 0.14);
}
.app-owner-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 16px 0 0;
}
.app-owner-card h3 {
    margin: 0 0 6px;
    font-size: 17px;
}
.app-owner-card p {
    margin: 0 0 12px;
    font-size: 13.5px;
    line-height: 1.6;
    color: var(--app-plum-soft);
}
.app-owner-points {
    padding: 0;
    margin: 0 0 14px;
    list-style: none;
}
.app-owner-points li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    padding: 2px 0;
    font-size: 12.5px;
    line-height: 1.5;
    color: var(--app-plum);
}
.app-owner-points i {
    margin-top: 4px;
    font-size: 9px;
    color: var(--app-pink);
}
.app-owner-cta {
    display: inline-flex;
    width: auto;
    padding: 9px 20px;
    font-size: 12.5px;
}

/* ------------------------------------------------------ about: how it works */
.app-howitworks {
    margin-top: 26px;
}
.app-howitworks h3 {
    margin-bottom: 4px;
}
.app-howitworks-lead {
    margin: 0 0 14px;
    font-size: 12.5px;
    color: var(--app-plum-soft);
}
.app-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    padding: 0;
    margin: 0 0 16px;
    list-style: none;
}
.app-steps li {
    position: relative;
    padding: 40px 12px 14px;
    background-color: var(--app-pink-tint-2);
    border-radius: 14px;
}
/* the number sits half out of the card, like a badge */
.app-step-no {
    position: absolute;
    top: -2px;
    left: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 26px;
    height: 26px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    background-color: var(--app-pink);
    border: 3px solid #fff;
    border-radius: 50%;
    box-sizing: content-box;
}
.app-steps strong {
    display: block;
    margin-bottom: 3px;
    font-size: 13px;
    line-height: 1.3;
    color: var(--app-plum);
}
.app-steps span {
    /* display: block; */
    margin-top: 7px;
    font-size: 11.5px;
    line-height: 1.45;
    color: var(--app-plum-soft);
}
.app-steps-cta {
    width: 100%;
}

/* ------------------------------------ services tab: taster + full menu link */
.app-more {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    margin-top: 22px;
    text-align: center;
}
.app-more-count {
    margin: 0;
    font-size: 12.5px;
    color: var(--app-plum-soft);
}
.app-more .app-btn,
.app-more .app-btn-ghost {
    width: 100%;
    margin: 0;
}

/* Blocks that sit outside a tab panel (find us, opening hours). Same gutters
   as .app-panel so their content lines up with the tabbed content above. */
.app-outer {
    padding: 22px 20px 0;
}
.app-outer .app-about-block:last-child {
    margin-bottom: 0;
}

/* group heading inside the drawer, e.g. the admin-only section */
.app-drawer-label {
    margin: 12px 0 4px;
    padding: 0 14px;
    font-size: 10.5px;
    font-weight: 700;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: #b9a2ae;
}

/* =========================================================================
   Desktop navbar and footer. Both are hidden until 1024px, where the phone
   chrome (app bar, drawer, fixed contact bar) is swapped out for them.
   ========================================================================= */
.app-topnav,
.app-footer {
    display: none;
}

/* =========================================================================
   >= 1024px - laptops and desktops
   Below this width nothing changes: phones and tablets keep the drawer, the
   single column and the centred card. From here the site stops being an app
   in a frame and becomes a full-width website - top navbar, full-bleed body,
   real footer. The sidebar is reserved for the dashboard.
   ========================================================================= */
@media screen and (min-width: 1024px) {
    :root {
        --app-maxw: 1180px;
        --app-gutter: 32px;
    }

    /* --- phone chrome off, website chrome on ---------------------------- */
    .app-bar,
    .app-drawer,
    .app-backdrop,
    .app-contactbar {
        display: none !important;
    }
    .app-topnav,
    .app-footer {
        display: block;
    }

    /* --- full-bleed body, no floating card ------------------------------ */
    .app-body {
        padding: 0;
        background-color: #fff;
    }
    .app-shell {
        max-width: none;
        margin: 0;
        min-height: 0;
        border-radius: 0;
        box-shadow: none;
        overflow: visible;
    }
    /* content is full width but reading measure stays sane */
    .app-main {
        max-width: var(--app-maxw);
        margin: 0 auto;
        padding-bottom: 56px;
    }
    /* the fixed contact bar is gone up here, so stop reserving room for it */
    .app-auth {
        padding-bottom: 40px;
    }
    .app-toasts {
        right: 24px;
        left: auto;
        width: 360px;
        transform: none;
    }

    /* --- the navbar ------------------------------------------------------ */
    .app-topnav {
        position: sticky;
        top: 0;
        z-index: 40;
        background-color: #fff;
        border-bottom: 1px solid var(--app-pink-tint);
    }
    .app-topnav-inner {
        display: flex;
        align-items: center;
        gap: 32px;
        max-width: var(--app-maxw);
        margin: 0 auto;
        padding: 14px var(--app-gutter);
    }
    .app-topnav-logo {
        flex: 0 0 auto;
        line-height: 0;
    }
    .app-topnav-logo img {
        display: block;
        width: auto;
        height: 30px;
    }
    .app-topnav-links {
        display: flex;
        gap: 4px;
        padding: 0;
        margin: 0 auto 0 0;
        list-style: none;
    }
    .app-topnav-links a {
        display: block;
        padding: 9px 16px;
        font-size: 14.5px;
        font-weight: 600;
        color: var(--app-plum);
        border-radius: 100px;
    }
    .app-topnav-links a:hover {
        color: var(--app-pink);
        background-color: var(--app-pink-tint-2);
    }
    .app-body .app-topnav-links a.is-active {
        color: var(--app-pink);
        background-color: var(--app-pink-tint);
    }
    .app-topnav-actions {
        display: flex;
        align-items: center;
        gap: 10px;
    }
    .app-topnav-account {
        display: flex;
        align-items: center;
        gap: 9px;
        padding: 5px 14px 5px 5px;
        border-radius: 100px;
    }
    .app-topnav-account:hover {
        background-color: var(--app-pink-tint-2);
    }
    .app-topnav-account strong {
        display: block;
        font-size: 13px;
        line-height: 1.2;
        color: var(--app-plum);
    }
    .app-topnav-account small {
        font-size: 11px;
        color: var(--app-plum-soft);
    }
    .app-topnav-ghost {
        display: inline-flex;
        align-items: center;
        padding: 9px 16px;
        font-size: 14px;
        font-weight: 600;
        color: var(--app-pink);
        border-radius: 100px;
    }
    .app-topnav-ghost:hover {
        background-color: var(--app-pink-tint-2);
    }
    .app-body .app-topnav-cta {
        display: inline-flex;
        align-items: center;
        padding: 10px 22px;
        font-size: 14px;
        font-weight: 600;
        /* .app-body a wins on specificity, so match it or the label vanishes */
        color: #fff;
        background-color: var(--app-pink);
        border-radius: 100px;
        box-shadow: 0 8px 18px rgba(237, 61, 139, 0.26);
    }
    .app-body .app-topnav-cta:hover {
        background-color: var(--app-pink-soft);
    }

    /* --- content gutters line up with the navbar ------------------------ */
    .app-greeting,
    .app-panel,
    .app-outer {
        padding-right: var(--app-gutter);
        padding-left: var(--app-gutter);
    }
    .app-tabs {
        margin: 0 var(--app-gutter);
    }
    .app-outer {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        column-gap: 40px;
        align-items: start;
        padding-top: 34px;
    }
    .app-hero {
        padding-left: var(--app-gutter);
    }
    .app-hero-track,
    .app-hero-dots {
        padding-right: var(--app-gutter);
    }

    /* --- the home page reads as a page, not a phone screen -------------- */
    .app-greeting {
        padding-top: 34px;
        padding-bottom: 24px;
    }
    .app-greeting h1 {
        font-size: 38px;
    }
    .app-greeting p {
        font-size: 17px;
    }
    .app-lotus {
        font-size: 58px;
    }
    .app-hero-card {
        /* the mobile max-width caps them mid-row and looks accidental */
        flex-basis: calc((100% - 28px) / 3);
        max-width: none;
    }
    .app-hero-card img {
        height: 260px;
    }
    .app-tab {
        font-size: 15.5px;
        padding: 16px 4px;
    }
    .app-tiles {
        grid-template-columns: repeat(4, 1fr);
        gap: 26px 22px;
    }
    .app-values,
    .app-steps {
        grid-template-columns: repeat(4, 1fr);
    }

    /* the owner photo and her introduction sit side by side once there is
       width for both - stacked, they leave a lot of dead space */
    .app-owner {
        display: grid;
        grid-template-columns: minmax(0, 5fr) minmax(0, 7fr);
        gap: 34px;
        align-items: center;
        margin-bottom: 34px;
    }
    .app-owner-card {
        padding: 0;
    }
    .app-owner-card h3 {
        font-size: 24px;
    }
    .app-owner-card p {
        font-size: 15px;
    }

    /* these are display:flex, so width:auto would still fill the line -
       fit-content is what actually shrinks them */
    .app-more {
        align-items: center;
    }
    .app-more .app-btn,
    .app-more .app-btn-ghost,
    .app-steps-cta {
        width: fit-content;
        min-width: 300px;
    }

    /* --- footer ---------------------------------------------------------- */
    .app-footer {
        margin-top: 40px;
        color: var(--app-plum-soft);
        background-color: var(--app-pink-tint-2);
        border-top: 1px solid var(--app-pink-tint);
    }
    .app-footer-inner {
        display: grid;
        grid-template-columns: 2fr 1fr 1.2fr 1.4fr;
        gap: 40px;
        max-width: var(--app-maxw);
        margin: 0 auto;
        padding: 48px var(--app-gutter) 36px;
    }
    .app-footer-brand img {
        display: block;
        width: auto;
        height: 30px;
        margin-bottom: 14px;
    }
    .app-footer-brand p {
        margin: 0 0 18px;
        font-size: 13.5px;
        line-height: 1.6;
        max-width: 32ch;
    }
    .app-footer-brand .app-social {
        margin-bottom: 14px;
    }
    .app-footer-brand .app-qr {
        max-width: 260px;
    }
    .app-footer-col h4 {
        margin: 0 0 12px;
        font-size: 12px;
        font-weight: 700;
        letter-spacing: 0.6px;
        text-transform: uppercase;
        color: var(--app-plum);
    }
    .app-footer-col a,
    .app-footer-col p {
        display: block;
        margin: 0 0 8px;
        font-size: 13.5px;
        line-height: 1.5;
        color: var(--app-plum-soft);
    }
    .app-footer-col a:hover {
        color: var(--app-pink);
    }
    .app-footer-col i {
        width: 16px;
        margin-right: 6px;
        color: var(--app-pink-soft);
    }
    /* the hours labels line up in their own column */
    .app-footer-col p span {
        display: inline-block;
        min-width: 84px;
        font-weight: 600;
        color: var(--app-plum);
    }
    .app-footer-base {
        display: flex;
        align-items: center;
        justify-content: space-between;
        gap: 16px;
        max-width: var(--app-maxw);
        margin: 0 auto;
        padding: 18px var(--app-gutter);
        font-size: 12.5px;
        border-top: 1px solid var(--app-pink-tint);
    }
}

/* --------------------------------------------------------------- >= 1440px */
@media screen and (min-width: 1440px) {
    :root {
        --app-maxw: 1320px;
    }
    .app-hero-card {
        flex-basis: calc((100% - 42px) / 4);
    }
    .app-hero-card img {
        height: 300px;
    }
}

/* social row in the mobile drawer */
.app-drawer-social {
    display: flex;
    gap: 10px;
    margin-top: 14px;
    padding: 0 14px;
}
.app-body .app-drawer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    padding: 0;
    font-size: 15px;
    color: var(--app-pink);
    background-color: var(--app-pink-tint-2);
    border-radius: 50%;
}
.app-body .app-drawer-social a:hover {
    color: #fff;
    background-color: var(--app-pink);
}

/* category label sitting above the service name on a home tile */
.app-tile-cat {
    display: block;
    margin-bottom: 2px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: var(--app-pink);
}
