/* Bottom sheet des fiches food trucks - aucun effet sur les modals admin/news. */
#modal.truck-sheet {
    position: fixed;
    inset: auto 0 0;
    box-sizing: border-box;
    width: min(100%, 680px);
    max-width: 100%;
    max-height: min(90dvh, 900px);
    margin: 0 auto;
    padding: 0;
    overflow: hidden;
    background: var(--paper, #faf6ed);
    color: var(--ink, #102f3c);
    border: 0;
    border-radius: 26px 26px 0 0;
    box-shadow: 0 -8px 35px #102f3c32;
    transform: translate3d(0,calc(100% + 16px),0);
    transition: transform 290ms cubic-bezier(.22,.8,.25,1);
    will-change: transform;
}
#modal.truck-sheet.sheet-open {
    transform: translate3d(0,var(--sheet-drag,0px),0);
}
#modal.truck-sheet.sheet-dragging {
    transition: none !important;
}
#modal.truck-sheet::backdrop {
    background: #102f3ca6;
}
#modal.truck-sheet .truck-sheet-grab {
    position: relative;
    z-index: 2;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--paper,#faf6ed);
    touch-action: none;
    cursor: grab;
}
#modal.truck-sheet .truck-sheet-grab span {
    width: 44px;
    height: 5px;
    background: #aeb8b6;
    border-radius: 10px;
}
#modal.truck-sheet .truck-sheet-scroll {
    max-height: calc(min(90dvh, 900px) - 32px);
    overflow-x: hidden;
    overflow-y: auto;
    overscroll-behavior: contain;
    -webkit-overflow-scrolling: touch;
}
#modal.truck-sheet .close {
    top: 54px;
    right: 14px;
    z-index: 4;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    min-height: 42px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: #fffdf8ec;
    color: var(--ink,#102f3c);
    font-size: 27px;
    line-height: 1;
    box-shadow: 0 2px 12px #102f3c26;
}
/* Nom et catégorie au-dessus de la photo. */
#modal.truck-sheet .truck-sheet-heading {
    padding: 6px 26px 18px;
    background: var(--paper,#faf6ed);
}
#modal.truck-sheet .truck-sheet-heading h2 {
    margin: 0;
    font-size: clamp(24px,5vw,32px);
    line-height: 1.15;
}
@media (max-width: 700px) {
    #modal.truck-sheet .truck-sheet-heading {padding-left:20px;padding-right:20px;}
}
#modal.truck-sheet .truck-sheet-image {
    display: block;
    width: 100%;
    height: clamp(145px,24dvh,230px);
    object-fit: cover;
    background: #ece5d7;
}
#modal.truck-sheet .truck-sheet-placeholder {
    display: grid;
    place-items: center;
    font-size: 72px;
}
#modal.truck-sheet .truck-sheet-content {
    padding: 24px 26px calc(28px + env(safe-area-inset-bottom,0px));
}
#modal.truck-sheet .truck-sheet-content h2 {
    margin: 5px 0 14px;
    font-size: clamp(24px,5vw,32px);
    line-height: 1.15;
}
#modal.truck-sheet .truck-sheet-content h3 {
    margin: 23px 0 6px;
    font-size: 16px;
}
#modal.truck-sheet .truck-sheet-content p {
    margin: 6px 0 12px;
    line-height: 1.55;
}
#modal.truck-sheet .truck-sheet-category {
    color: var(--orange,#e94f32);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
#modal.truck-sheet #locate {
    display: block;
    width: 100%;
    margin-top: 24px;
    font-weight: 700;
}
@media (max-width: 700px) {
    #modal.truck-sheet {width: 100%;}
    #modal.truck-sheet .truck-sheet-content {padding-left:20px;padding-right:20px;}
}
@media (prefers-reduced-motion: reduce) {
    #modal.truck-sheet {transition-duration: .01ms;}
}
