/* Barra inferior WhatsApp + Compartir (ficha / mi-reserva) */
.b2c-dock {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 90;
    display: flex;
    gap: 10px;
    padding: 10px 14px calc(10px + env(safe-area-inset-bottom));
    background: rgba(255, 255, 255, 0.97);
    border-top: 1px solid #e7e5e4;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.06);
}
.b2c-dock-btn {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 48px;
    padding: 10px 12px;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: #fff;
    color: #1c1917;
    font-family: 'Poppins', sans-serif;
    font-size: 12px;
    font-weight: 700;
    text-decoration: none;
    cursor: pointer;
}
.b2c-dock-btn img,
.b2c-dock-btn svg.dock-ico {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}
.b2c-dock-btn.is-share {
    background: #7a1f2e;
    border-color: #7a1f2e;
    color: #fff;
}
.b2c-dock-btn.is-share svg.dock-ico { fill: none; stroke: #fff; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.b2c-share-backdrop {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(12, 10, 9, 0.45);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.b2c-share-backdrop.open {
    opacity: 1;
    pointer-events: auto;
}
.b2c-share-sheet {
    position: fixed;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 101;
    background: #fff;
    border-radius: 18px 18px 0 0;
    padding: 16px 16px calc(18px + env(safe-area-inset-bottom));
    transform: translateY(110%);
    transition: transform 0.25s ease;
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.15);
}
.b2c-share-sheet.open { transform: translateY(0); }
.b2c-share-sheet h3 {
    margin: 0 0 14px;
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #7a1f2e;
    text-align: center;
}
.b2c-share-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}
.b2c-share-opt {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 12px 8px;
    border: 1px solid #e7e5e4;
    border-radius: 12px;
    background: #fafaf9;
    color: #1c1917;
    font-size: 11px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    text-decoration: none;
    cursor: pointer;
}
.b2c-share-opt:hover { border-color: #7a1f2e; }
.b2c-share-opt .ico {
    width: 28px;
    height: 28px;
    display: grid;
    place-items: center;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 800;
}
.b2c-share-opt .ico.wa { background: #25D366; color: #fff; }
.b2c-share-opt .ico.fb { background: #1877F2; color: #fff; }
.b2c-share-opt .ico.x { background: #111; color: #fff; }
.b2c-share-opt .ico.li { background: #0A66C2; color: #fff; }
.b2c-share-opt .ico.copy { background: #e7e5e4; color: #1c1917; }
.b2c-share-opt .ico.sys { background: #7a1f2e; color: #fff; }
.b2c-share-toast {
    position: fixed;
    left: 50%;
    bottom: 96px;
    transform: translateX(-50%);
    z-index: 110;
    background: #1c1917;
    color: #fff;
    padding: 8px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}
.b2c-share-toast.show { opacity: 1; }

body.has-b2c-dock {
    padding-bottom: calc(72px + env(safe-area-inset-bottom));
}
