/* Explain: Bespoke digital card, contact buttons, and booking sheet styles */
.chef-card {
    position: relative;
    width: 430px;
    max-width: 430px;
    height: 760px;
    zoom: var(--app-scale, 1);
    transform: none;
    transform-origin: center;
    overflow: hidden;
    border: 1px solid rgba(61, 64, 91, 0.12);
    border-radius: var(--radius-card);
    background: linear-gradient(180deg, var(--surface-color), #fffdf5 62%, var(--surface-strong));
    box-shadow: var(--shadow-soft);
}

.chef-cover {
    position: relative;
    height: 225px;
    overflow: hidden;
}

.chef-cover img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: sepia(0.22) saturate(1.12) contrast(0.96);
    transform: scale(1.03);
}

.chef-cover::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(224, 122, 95, 0.22), rgba(61, 64, 91, 0.18));
}

.chef-portrait {
    width: 118px;
    height: 166px;
    margin: -84px auto 0;
    overflow: hidden;
    border: 6px solid var(--background-color);
    border-radius: 50% / 38%;
    background: var(--surface-color);
    box-shadow: 0 16px 36px rgba(61, 64, 91, 0.22);
}

.chef-portrait img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.chef-primary-btn {
    min-height: 50px;
    border: 0;
    border-radius: var(--radius-pill);
    background: var(--primary-color);
    color: #fffaf3;
    box-shadow: 0 14px 26px rgba(224, 122, 95, 0.34);
    transition: transform 180ms ease, background 180ms ease, box-shadow 180ms ease;
}

.chef-primary-btn:hover,
.chef-primary-btn:focus-visible {
    background: var(--primary-hover);
    box-shadow: 0 18px 34px rgba(224, 122, 95, 0.42);
    transform: translateY(-1px);
}

.contact-tile {
    min-height: 48px;
    border: 1px solid rgba(61, 64, 91, 0.14);
    border-radius: 18px;
    background: rgba(255, 249, 236, 0.74);
    color: var(--text-color);
    transition: transform 180ms ease, border-color 180ms ease, background 180ms ease;
}

.contact-tile:hover,
.contact-tile:focus-visible {
    border-color: rgba(224, 122, 95, 0.6);
    background: rgba(224, 122, 95, 0.11);
    transform: translateY(-1px);
}

.utility-shelf {
    position: absolute;
    right: 16px;
    bottom: 16px;
    left: 16px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    padding: 10px;
    border: 1px solid rgba(61, 64, 91, 0.12);
    border-radius: 24px;
    background: rgba(255, 249, 236, 0.82);
    box-shadow: 0 18px 42px rgba(61, 64, 91, 0.14);
    backdrop-filter: blur(18px);
}

.utility-shelf button {
    min-height: 46px;
    border-radius: 18px;
}

.booking-backdrop {
    position: fixed;
    inset: 0;
    z-index: 30;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    padding: 18px;
    background: rgba(61, 64, 91, 0.34);
    opacity: 0;
    pointer-events: none;
    transition: opacity 220ms ease;
}

.booking-sheet {
    width: 430px;
    max-width: 430px;
    max-height: 680px;
    overflow-y: auto;
    border: 1px solid rgba(61, 64, 91, 0.12);
    border-radius: 30px 30px 24px 24px;
    background: var(--surface-color);
    box-shadow: var(--shadow-sheet);
    zoom: var(--app-scale, 1);
    transform: translateY(22px);
    transform-origin: bottom center;
    transition: transform 220ms ease;
}

body.sheet-open .booking-backdrop {
    opacity: 1;
    pointer-events: auto;
}

body.sheet-open .booking-sheet {
    transform: translateY(0);
}

@media (max-width: 767px) {
    .chef-card {
        border: 0;
    }
}
